* [gentoo-commits] repo/gentoo:master commit in: sci-libs/XNNPACK/
@ 2022-05-19 6:01 Alfredo Tupone
0 siblings, 0 replies; 4+ messages in thread
From: Alfredo Tupone @ 2022-05-19 6:01 UTC (permalink / raw
To: gentoo-commits
commit: 006cb2ea517351fd663d0b2deeaa28ed9231e980
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 06:01:25 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu May 19 06:01:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=006cb2ea
sci-libs/XNNPACK: fix deps
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
...XNNPACK-2022.02.17.ebuild => XNNPACK-2022.02.17-r1.ebuild} | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/sci-libs/XNNPACK/XNNPACK-2022.02.17.ebuild b/sci-libs/XNNPACK/XNNPACK-2022.02.17-r1.ebuild
similarity index 98%
rename from sci-libs/XNNPACK/XNNPACK-2022.02.17.ebuild
rename to sci-libs/XNNPACK/XNNPACK-2022.02.17-r1.ebuild
index c4bb3f365e75..3f4751f7b98e 100644
--- a/sci-libs/XNNPACK/XNNPACK-2022.02.17.ebuild
+++ b/sci-libs/XNNPACK/XNNPACK-2022.02.17-r1.ebuild
@@ -16,14 +16,15 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="+assembly jit +memopt +sparse static-libs test"
-DEPEND="
- dev-libs/FP16
- dev-libs/FXdiv
-"
-RDEPEND="${DEPEND}
+RDEPEND="
dev-libs/cpuinfo
dev-libs/pthreadpool
"
+DEPEND="${RDEPEND}
+ dev-libs/FP16
+ dev-libs/FXdiv
+"
+
BDEPEND="test? ( dev-cpp/gtest )"
RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( static-libs )"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/XNNPACK/
@ 2023-04-06 19:16 Alfredo Tupone
0 siblings, 0 replies; 4+ messages in thread
From: Alfredo Tupone @ 2023-04-06 19:16 UTC (permalink / raw
To: gentoo-commits
commit: ccd7bf3a2fb38bcdea305d5b7460330969ca4d17
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 6 19:15:40 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Apr 6 19:16:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd7bf3a
sci-libs/XNNPACK: add 2022.12.22
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/XNNPACK/Manifest | 1 +
sci-libs/XNNPACK/XNNPACK-2022.12.22.ebuild | 84 ++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
diff --git a/sci-libs/XNNPACK/Manifest b/sci-libs/XNNPACK/Manifest
index 60b8d1d259f6..f095db09ce21 100644
--- a/sci-libs/XNNPACK/Manifest
+++ b/sci-libs/XNNPACK/Manifest
@@ -1 +1,2 @@
DIST XNNPACK-2022.02.17.tar.gz 6761154 BLAKE2B 59be5d9efe6f46d22bc41d3152e6cd3103f6dfafd94cdf3229b86ecf44a46175c613760f3de35c98a24ccdec1783f205c1eceaf21133706fedd5f384529748eb SHA512 aacbe907bb2b7429143f4ec612881fb709fe37e7b3a7f4fd68193dee6bbe82e17d20b2c6f5a8025845a09f8269c1dfeaebfc5bd64ef196fa376d82ac9a44cb8f
+DIST XNNPACK-2022.12.22.tar.gz 8342018 BLAKE2B 50426a47121418ef00a29b390ab4bb28211c17faaa7f4eacbf3a363fc3511b8655687e7f7f93f13b06a72ff9bcbde033305372687b6f2df1e1d5abaa910fe8be SHA512 1742ad4de3aa1a67cd5a3cbf15d82afc2cc8569a2abac92542f748a440ef37fef4e9d9c302b7b2813e3176934b637c761c1c0956d20ab1ba28b280d9b121d91b
diff --git a/sci-libs/XNNPACK/XNNPACK-2022.12.22.ebuild b/sci-libs/XNNPACK/XNNPACK-2022.12.22.ebuild
new file mode 100644
index 000000000000..c30a840eaf57
--- /dev/null
+++ b/sci-libs/XNNPACK/XNNPACK-2022.12.22.ebuild
@@ -0,0 +1,84 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+CommitId=51a987591a6fc9f0fc0707077f53d763ac132cbf
+
+DESCRIPTION="library of floating-point neural network inference operators"
+HOMEPAGE="https://github.com/google/XNNPACK/"
+SRC_URI="https://github.com/google/${PN}/archive/${CommitId}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+assembly jit +memopt +sparse static-libs test"
+
+RDEPEND="
+ dev-libs/cpuinfo
+ dev-libs/pthreadpool
+"
+DEPEND="${RDEPEND}
+ dev-libs/FP16
+ dev-libs/FXdiv
+"
+
+BDEPEND="test? ( dev-cpp/gtest )"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( static-libs )"
+
+S="${WORKDIR}"/${PN}-${CommitId}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2022.02.17-gentoo.patch
+)
+
+src_prepare() {
+ sed -i \
+ -e "/PRIVATE fp16)/d" \
+ -e "/PRIVATE fxdiv)/d" \
+ -e "/PRIVATE clog)/d" \
+ -e "/TARGET_LINK_LIBRARIES/s: fp16::" \
+ CMakeLists.txt \
+ || die
+ dropTest=(
+ "add-nd-test"
+ "subtract-nd-test"
+ "f32-velu-test"
+ "qc8-dwconv-minmax-fp32-test"
+ "qs8-dwconv-minmax-fp32-test"
+ "qs8-vadd-minmax-test"
+ "qs8-vaddc-minmax-test"
+ "qu8-dwconv-minmax-fp32-test"
+ "qu8-vadd-minmax-test"
+ "qu8-vaddc-minmax-test"
+ )
+ for id in ${dropTest[@]}
+ do
+ sed -i \
+ -e "/ADD_TEST(${id}/d" \
+ CMakeLists.txt \
+ || die
+ done
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DXNNPACK_BUILD_BENCHMARKS=OFF
+ -DXNNPACK_USE_SYSTEM_LIBS=ON
+ -DXNNPACK_BUILD_TESTS=$(usex test ON OFF)
+ -DXNNPACK_LIBRARY_TYPE=$(usex static-libs static shared)
+ -DXNNPACK_ENABLE_ASSEMBLY=$(usex assembly ON OFF)
+ -DXNNPACK_ENABLE_JIT=$(usex jit ON OFF)
+ -DXNNPACK_ENABLE_MEMOPT=$(usex memopt ON OFF)
+ -DXNNPACK_ENABLE_SPARSE=$(usex sparse ON OFF)
+ -DCMAKE_POSITION_INDEPENDENT_CODE=ON
+ )
+
+ cmake_src_configure
+ cd "${BUILD_DIR}"
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/XNNPACK/
@ 2024-05-01 11:27 Alfredo Tupone
0 siblings, 0 replies; 4+ messages in thread
From: Alfredo Tupone @ 2024-05-01 11:27 UTC (permalink / raw
To: gentoo-commits
commit: 5c315538d77dac588af843c9afd9a62c51899c64
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed May 1 11:26:46 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed May 1 11:26:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c315538
sci-libs/XNNPACK: add 2024.02.29
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/XNNPACK/Manifest | 1 +
sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild | 73 ++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
diff --git a/sci-libs/XNNPACK/Manifest b/sci-libs/XNNPACK/Manifest
index f095db09ce21..2d60bf4881cf 100644
--- a/sci-libs/XNNPACK/Manifest
+++ b/sci-libs/XNNPACK/Manifest
@@ -1,2 +1,3 @@
DIST XNNPACK-2022.02.17.tar.gz 6761154 BLAKE2B 59be5d9efe6f46d22bc41d3152e6cd3103f6dfafd94cdf3229b86ecf44a46175c613760f3de35c98a24ccdec1783f205c1eceaf21133706fedd5f384529748eb SHA512 aacbe907bb2b7429143f4ec612881fb709fe37e7b3a7f4fd68193dee6bbe82e17d20b2c6f5a8025845a09f8269c1dfeaebfc5bd64ef196fa376d82ac9a44cb8f
DIST XNNPACK-2022.12.22.tar.gz 8342018 BLAKE2B 50426a47121418ef00a29b390ab4bb28211c17faaa7f4eacbf3a363fc3511b8655687e7f7f93f13b06a72ff9bcbde033305372687b6f2df1e1d5abaa910fe8be SHA512 1742ad4de3aa1a67cd5a3cbf15d82afc2cc8569a2abac92542f748a440ef37fef4e9d9c302b7b2813e3176934b637c761c1c0956d20ab1ba28b280d9b121d91b
+DIST XNNPACK-2024.02.29.tar.gz 11561561 BLAKE2B bb3666edbf2ad87f4b6ba9dcaf28b3ed056b655bfa02e6f9bc350ce84db247ef3e0a6f9f908a0e05244e4b145b6993d465cd19ca763067ae619a7f94b97dc7bd SHA512 8063e27686f7b71cfba05b0c004c46db4506638689ffb112f013b3886de58653b60ca5487978c3f96275c17bb1136883ca4c93ddb2241a2c31925a950cb51759
diff --git a/sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild b/sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild
new file mode 100644
index 000000000000..28d2c0606622
--- /dev/null
+++ b/sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild
@@ -0,0 +1,73 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+CommitId=fcbf55af6cf28a4627bcd1f703ab7ad843f0f3a2
+
+DESCRIPTION="library of floating-point neural network inference operators"
+HOMEPAGE="https://github.com/google/XNNPACK/"
+SRC_URI="https://github.com/google/${PN}/archive/${CommitId}.tar.gz
+ -> ${P}.tar.gz"
+
+S="${WORKDIR}"/${PN}-${CommitId}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+assembly jit +memopt +sparse static-libs test"
+
+RDEPEND="
+ >=dev-libs/cpuinfo-2023.11.04
+ dev-libs/pthreadpool
+"
+DEPEND="${RDEPEND}
+ dev-libs/FP16
+ dev-libs/FXdiv
+"
+
+BDEPEND="test? ( dev-cpp/gtest )"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( static-libs )"
+
+src_prepare() {
+ dropTest=(
+ fully-connected-test
+ fully-connected-nc-test
+ subgraph-fp16-test
+ static-reshape-test
+ qd8-f16-qc8w-gemm-minmax-test
+ qd8-f32-qc8w-gemm-minmax-test
+ qd8-f16-qc4w-gemm-minmax-test
+ qd8-f32-qc4w-gemm-minmax-test
+ )
+ for id in ${dropTest[@]}
+ do
+ sed -i \
+ -e "/ADD_TEST(NAME ${id}/d" \
+ CMakeLists.txt \
+ || die
+ done
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DXNNPACK_BUILD_BENCHMARKS=OFF
+ -DXNNPACK_USE_SYSTEM_LIBS=ON
+ -DXNNPACK_BUILD_TESTS=$(usex test ON OFF)
+ -DXNNPACK_LIBRARY_TYPE=$(usex static-libs static shared)
+ -DXNNPACK_ENABLE_ASSEMBLY=$(usex assembly ON OFF)
+ -DXNNPACK_ENABLE_JIT=$(usex jit ON OFF)
+ -DXNNPACK_ENABLE_MEMOPT=$(usex memopt ON OFF)
+ -DXNNPACK_ENABLE_SPARSE=$(usex sparse ON OFF)
+ -DCMAKE_POSITION_INDEPENDENT_CODE=ON
+ -DPTHREADPOOL_SOURCE_DIR=/usr
+ -DCPUINFO_SOURCE_DIR=/usr
+ )
+
+ cmake_src_configure
+ cd "${BUILD_DIR}"
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/XNNPACK/
@ 2024-09-05 4:08 Eli Schwartz
0 siblings, 0 replies; 4+ messages in thread
From: Eli Schwartz @ 2024-09-05 4:08 UTC (permalink / raw
To: gentoo-commits
commit: 20e06faab917e7b435082408e36a743aa8ec38b3
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 5 03:08:20 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Sep 5 04:07:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20e06faa
sci-libs/XNNPACK: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/933414
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild b/sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild
index 28d2c0606622..a59ac4887be9 100644
--- a/sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild
+++ b/sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake
+inherit cmake flag-o-matic
CommitId=fcbf55af6cf28a4627bcd1f703ab7ad843f0f3a2
@@ -54,6 +54,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/933414
+ # https://github.com/google/XNNPACK/issues/6806
+ filter-lto
+
local mycmakeargs=(
-DXNNPACK_BUILD_BENCHMARKS=OFF
-DXNNPACK_USE_SYSTEM_LIBS=ON
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-05 4:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-01 11:27 [gentoo-commits] repo/gentoo:master commit in: sci-libs/XNNPACK/ Alfredo Tupone
-- strict thread matches above, loose matches on Subject: below --
2024-09-05 4:08 Eli Schwartz
2023-04-06 19:16 Alfredo Tupone
2022-05-19 6:01 Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox