From c6985b401141ea8b5ec4b95c4ad3a5a21ef32571 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 9 Jan 2024 13:01:22 +0000 Subject: gentoo auto-resync : 09:01:2024 - 13:01:22 --- dev-libs/Manifest.gz | Bin 97191 -> 97340 bytes dev-libs/cglm/Manifest | 4 +- dev-libs/cglm/cglm-0.8.9-r1.ebuild | 40 -------- dev-libs/cglm/cglm-0.9.2.ebuild | 40 ++++++++ dev-libs/oneDNN/Manifest | 3 + dev-libs/oneDNN/metadata.xml | 24 +++++ dev-libs/oneDNN/oneDNN-3.3.3.ebuild | 106 +++++++++++++++++++++ dev-libs/pthreadpool/Manifest | 2 + dev-libs/pthreadpool/pthreadpool-2023.08.29.ebuild | 43 +++++++++ 9 files changed, 220 insertions(+), 42 deletions(-) delete mode 100644 dev-libs/cglm/cglm-0.8.9-r1.ebuild create mode 100644 dev-libs/cglm/cglm-0.9.2.ebuild create mode 100644 dev-libs/oneDNN/Manifest create mode 100644 dev-libs/oneDNN/metadata.xml create mode 100644 dev-libs/oneDNN/oneDNN-3.3.3.ebuild create mode 100644 dev-libs/pthreadpool/pthreadpool-2023.08.29.ebuild (limited to 'dev-libs') diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz index b6048c88943f..49f36806a4fc 100644 Binary files a/dev-libs/Manifest.gz and b/dev-libs/Manifest.gz differ diff --git a/dev-libs/cglm/Manifest b/dev-libs/cglm/Manifest index fd233c3f069c..6324fe0ed179 100644 --- a/dev-libs/cglm/Manifest +++ b/dev-libs/cglm/Manifest @@ -1,7 +1,7 @@ -DIST cglm-0.8.9.tar.gz 631331 BLAKE2B 17f6f8d379aa81ee9327315b121cc7629fcc394fe032c1e1540e5153b2d3b0a2129f27eb46a8ae4323aa826b2bfff310b9039f78953d52d0bd994ba493fcdbd9 SHA512 ac0a042d61c60eac7d6616e5bc0f5c3e77b1a45f58f6732b34edc9a0d714046777e4b490200a3b54c6325ddad5b5faeb3648a299685f748f8b0618ce66a9a7f4 DIST cglm-0.9.0.tar.gz 642861 BLAKE2B d02cb83abeeea793e5ab7b9473a9a26dcaf3e15209b555c34b6981e3becd6edbd94f0687126114a8917d9f4958575f2cf37a846b7fc54fd236d30198d1fe7aaf SHA512 23ad89df9cd80d69caf0fcf59d6acfbea710d9b6ae50634d4a32718d0214d1624df3bf8f874a76a93c3952e97f94ff48b65103035e87519bb9dbfce7fd2af427 DIST cglm-0.9.1.tar.gz 657554 BLAKE2B 4b24841b248c3d0606e99b1d71301e3008a5fa6044d0eb76759144aa800875ca890a591e276d237cf801cd09dde513f8e42ecc4eb70288effb641682c899d220 SHA512 05c1e8d1dadafe1c9155db40dd1a4c209283c41ad2416c11b09967435f8047471afa5ee521ef6b8ef22c3e8b3988ab0865137057b33441e7851bc57979509dd6 -EBUILD cglm-0.8.9-r1.ebuild 872 BLAKE2B bda5e47d3796710457b055a3838283b3bf1a6a781aaf50be5a7b1c59d2934476586b02930d1e6df534ad358771abf6f4d5fa49437c384773207f495fabef015d SHA512 c4c97d092509b628744cfc0bd2a8c1851cda842add8645fae8e2a195fb37f54d77cfaaf350ad7997109069d2ef1141c141b99ab03a216c0e867e520c47999091 +DIST cglm-0.9.2.tar.gz 672575 BLAKE2B 82f119f4eeeb2dadee1b18f41e10e4f47db02cbd9b4d6548fa0b47592973f571bf95294fbbcafaf17bf8b09ebe452f72a93a8882f15479fbce92db3d6e1f2b2e SHA512 d5de879b2510f534dbc82c88b6f4f324088468af7218a635aff08cc3327787f95b0dc896816b9610e5a319cd071bf2443923d3c1d426fd58509f39867d684e5f EBUILD cglm-0.9.0.ebuild 872 BLAKE2B bda5e47d3796710457b055a3838283b3bf1a6a781aaf50be5a7b1c59d2934476586b02930d1e6df534ad358771abf6f4d5fa49437c384773207f495fabef015d SHA512 c4c97d092509b628744cfc0bd2a8c1851cda842add8645fae8e2a195fb37f54d77cfaaf350ad7997109069d2ef1141c141b99ab03a216c0e867e520c47999091 EBUILD cglm-0.9.1.ebuild 872 BLAKE2B bda5e47d3796710457b055a3838283b3bf1a6a781aaf50be5a7b1c59d2934476586b02930d1e6df534ad358771abf6f4d5fa49437c384773207f495fabef015d SHA512 c4c97d092509b628744cfc0bd2a8c1851cda842add8645fae8e2a195fb37f54d77cfaaf350ad7997109069d2ef1141c141b99ab03a216c0e867e520c47999091 +EBUILD cglm-0.9.2.ebuild 877 BLAKE2B 8e4d00e701352da66ac42feb0adf77a3f16ff4d41f90a4787f29cd6a48d72044a351d4eb0dbb18e554f0193536b53f9f4232fea7b786204e018dd9e4e3ef1a35 SHA512 8f080db087ffa126d8569387e5bfa0f9b197fc3c1663f47a3cbd3cbe299e94f0c34330b74c60d74cda0c5309e00949abde3079f59296ada439fd8199bea1488c MISC metadata.xml 326 BLAKE2B bae3dddd1d78f4e11e581e13ec9b27181bac9d1d7b3bf146c10bc4851185e1dbac9ce68b1ad14cb1bc692c7aa379eb5dfee915827eaed9382d068ae04c3562a3 SHA512 5f42f80b1e9b00854a6d0bbe41e32bd81659fb254b53d483dd27c33875b3db362c301894f2e961969ec17c06333c22ab6438a01d231bf3232a1044db934118bc diff --git a/dev-libs/cglm/cglm-0.8.9-r1.ebuild b/dev-libs/cglm/cglm-0.8.9-r1.ebuild deleted file mode 100644 index 8adee7688d32..000000000000 --- a/dev-libs/cglm/cglm-0.8.9-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="sphinx" -DOCS_AUTODOC=1 -DOCS_DEPEND="dev-python/sphinx-rtd-theme" -DOCS_DIR="${S}/docs/source" - -PYTHON_COMPAT=( python3_{9..11} ) -inherit python-any-r1 docs meson - -DESCRIPTION="OpenGL Mathematics (glm) for C" -HOMEPAGE="https://github.com/recp/cglm" -SRC_URI="https://github.com/recp/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE="test" - -RESTRICT="!test? ( test )" - -src_prepare() { - default - # DOCS_DEPEND needs DOCS_AUTODOC which needs the extension - sed -i -e "/^extensions/s/$/ 'sphinx.ext.autodoc',/" docs/source/conf.py || die -} -src_configure() { - local emesonargs=( - $(meson_use test build_tests) - ) - meson_src_configure -} - -src_compile() { - meson_src_compile - docs_compile -} diff --git a/dev-libs/cglm/cglm-0.9.2.ebuild b/dev-libs/cglm/cglm-0.9.2.ebuild new file mode 100644 index 000000000000..4f9bb90c2e19 --- /dev/null +++ b/dev-libs/cglm/cglm-0.9.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="sphinx" +DOCS_AUTODOC=1 +DOCS_DEPEND="dev-python/sphinx-rtd-theme" +DOCS_DIR="${S}/docs/source" + +PYTHON_COMPAT=( python3_{9..11} ) +inherit python-any-r1 docs meson + +DESCRIPTION="OpenGL Mathematics (glm) for C" +HOMEPAGE="https://github.com/recp/cglm" +SRC_URI="https://github.com/recp/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +src_prepare() { + default + # DOCS_DEPEND needs DOCS_AUTODOC which needs the extension + sed -i -e "/^extensions/s/$/ 'sphinx.ext.autodoc',/" docs/source/conf.py || die +} +src_configure() { + local emesonargs=( + $(meson_use test build_tests) + ) + meson_src_configure +} + +src_compile() { + meson_src_compile + docs_compile +} diff --git a/dev-libs/oneDNN/Manifest b/dev-libs/oneDNN/Manifest new file mode 100644 index 000000000000..922ef95e2e53 --- /dev/null +++ b/dev-libs/oneDNN/Manifest @@ -0,0 +1,3 @@ +DIST oneDNN-3.3.3.tar.gz 11577369 BLAKE2B 85df74235d70d30d69ebb1702dcb328466d38046b37f4078b1d6880c7cbe079d095e53e5c9e2f0f77daca057cae62e661ac1bf919e8f128cf9c76a847dc0425d SHA512 bb4a6b33b3191b9e517a321dd089b7debb528dd2d4be48f52626308fe0e1dbea3fa6149fd9debe6aa23f11224ac80e4d3ee1e251d2007faf9bcc262bb895de71 +EBUILD oneDNN-3.3.3.ebuild 2938 BLAKE2B 2ad6b0f9ce0a02e4368594cd9bfa04ddfbdf17a39daed72d1021f3c1cd3e7e39330b555bf172b6be999bc514a8f9d2caba0b30d7ddee1c6f26620e4588718a1b SHA512 a77b3ef9e200adc50c007ea7d47292cd71be2fdd4e4d610914afb961097598285b96cd23c23cda16ee7de04f1d8fa3dece189f8b33970746faa88175659fe630 +MISC metadata.xml 777 BLAKE2B 33c65c97e0c8132e315aa389c395407e8985fbe1607222f2affb04534c33e4df14776d90f3293fc651d7892f703cc8eff5803d075291c979bcd828aa51ab1778 SHA512 9b0c2354f69d0e2656bba2995fb956f16d6fad65887f240b670548d244074e7fe92bff73afd379e9d9a208c39ac7da01de97463aa65c37dd51aded32228aafd3 diff --git a/dev-libs/oneDNN/metadata.xml b/dev-libs/oneDNN/metadata.xml new file mode 100644 index 000000000000..1e6efe71ca6a --- /dev/null +++ b/dev-libs/oneDNN/metadata.xml @@ -0,0 +1,24 @@ + + + + + tupone@gentoo.org + Tupone Alfredo + + + lockalsash@gmail.com + Sv. Lockal + + + proxy-maint@gentoo.org + Proxy Maintainers + + + https://github.com/oneapi-src/oneDNN/issues + oneapi-src/oneDNN + + + Use sci-libs/mkl for sgemm routines + Use virtual/cblas for sgemm routines + + diff --git a/dev-libs/oneDNN/oneDNN-3.3.3.ebuild b/dev-libs/oneDNN/oneDNN-3.3.3.ebuild new file mode 100644 index 000000000000..88b11ae05e38 --- /dev/null +++ b/dev-libs/oneDNN/oneDNN-3.3.3.ebuild @@ -0,0 +1,106 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +DOCS_DIR="${WORKDIR}/${P}_build" + +# oneDNN has its own FindBLAS.cmake file to find MKL (in a non-standard way). +# Removing of CMake modules is disabled. +CMAKE_REMOVE_MODULES_LIST=( none ) + +# There is additional sphinx documentation but we are missing dependency doxyrest. +inherit cmake docs + +DESCRIPTION="oneAPI Deep Neural Network Library" +HOMEPAGE="https://github.com/oneapi-src/oneDNN" +SRC_URI="https://github.com/oneapi-src/oneDNN/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="test cpu_flags_x86_avx512f cpu_flags_x86_avx2 cpu_flags_x86_sse4_1 mkl cblas static-libs" + +RESTRICT="!test? ( test )" + +DEPEND=" + mkl? ( sci-libs/mkl ) + cblas? ( !mkl? ( virtual/cblas ) ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DDNNL_LIBRARY_TYPE=$(usex static-libs STATIC SHARED) + -DDNNL_CPU_RUNTIME=OMP + -DDNNL_GPU_RUNTIME=NONE + -DDNNL_BUILD_EXAMPLES=OFF + -DDNNL_BUILD_TESTS="$(usex test)" + -DDNNL_ENABLE_CONCURRENT_EXEC=OFF + -DDNNL_ENABLE_JIT_PROFILING=ON + -DDNNL_ENABLE_ITT_TASKS=ON + -DDNNL_ENABLE_PRIMITIVE_CACHE=ON + -DDNNL_ENABLE_MAX_CPU_ISA=ON + -DDNNL_ENABLE_CPU_ISA_HINTS=ON + -DDNNL_ENABLE_WORKLOAD=TRAINING + -DDNNL_ENABLE_PRIMITIVE=ALL + -DDNNL_ENABLE_PRIMITIVE_GPU_ISA=ALL + -DDNNL_EXPERIMENTAL=OFF + -DDNNL_VERBOSE=ON + -DDNNL_DEV_MODE=OFF + -DDNNL_AARCH64_USE_ACL=OFF + -DDNNL_GPU_VENDOR=INTEL + -DDNNL_LIBRARY_NAME=dnnl + -DONEDNN_BUILD_GRAPH=ON + -DONEDNN_ENABLE_GRAPH_DUMP=OFF + -DONEDNN_EXPERIMENTAL_GRAPH_COMPILER_BACKEND=OFF + -Wno-dev + ) + + local isa="ALL" + + if use cpu_flags_x86_avx512f ; then + isa="AVX512" + elif use cpu_flags_x86_avx2; then + isa="AVX2" + elif use cpu_flags_x86_sse4_1; then + isa="SSE41" + else + ewarn "WARNING: oneDNN is being built with for all ISA." + ewarn "These may cause runtime issues CPUs that are not supported by oneDNN." + ewarn "" + ewarn "To configure oneDNN with ISA that is optimal for your CPU," + ewarn "set CPU_FLAGS_X86 in your make.conf, and re-emerge oneDNN." + ewarn "" + ewarn "See the list of supported CPUs at" + ewarn "https://github.com/oneapi-src/oneDNN?tab=readme-ov-file#system-requirements" + ewarn "For CPU_FLAGS_X86 documentation visit https://wiki.gentoo.org/wiki/CPU_FLAGS_*" + fi + + mycmakeargs+=( -DDNNL_ENABLE_PRIMITIVE_CPU_ISA="${isa}" -DONEDNN_ENABLE_GEMM_KERNELS_ISA="${isa}" ) + + if use mkl ; then + source /opt/intel/oneapi/mkl/latest/env/vars.sh + mycmakeargs+=( -DDNNL_BLAS_VENDOR=MKL ) + elif use cblas; then + mycmakeargs+=( -DDNNL_BLAS_VENDOR=ANY -DBLA_VENDOR=Generic -DBLAS_LIBRARIES=-lcblas ) + else + mycmakeargs+=( -DDNNL_BLAS_VENDOR=NONE ) + fi + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + docs_compile +} + +src_install() { + cmake_src_install + + # Correct docdir + mv "${ED}/usr/share/doc/dnnl"* "${ED}/usr/share/doc/${PF}" || die +} diff --git a/dev-libs/pthreadpool/Manifest b/dev-libs/pthreadpool/Manifest index ecff57c72026..78f936b6eb92 100644 --- a/dev-libs/pthreadpool/Manifest +++ b/dev-libs/pthreadpool/Manifest @@ -1,4 +1,6 @@ AUX pthreadpool-2022.05.09-gentoo.patch 2099 BLAKE2B c3f2152e2f883d171cd57f3a5648f030e8b087d68db528dda5322e939311ac67396a19cdbe0f0329ee018cb980598cba66e2e38accee05c12f3324c2eaaf45c5 SHA512 f95a1ef93c9758c2dcfed95f4c314693a53708dcb27cfbbf8b1b6353158d0dfa7aec873224c41364be3ffba0511567e41afecca6e553eb349c240f0e1f3c1b5b DIST pthreadpool-2022.05.09.tar.gz 55078 BLAKE2B c7ec88e9dd81c01444e511bd5ac845779f6839004130b9f306237ccb7a83fbe07851f4e780403bc97e448ba7e3f9eadb75904e4a6897503d953da8c9f1d5b0ab SHA512 e9ff2b502ee9faa78f9fe03e3e281e305ea6328bf5ebbcb0bf784786874ea3f3dd17b561a6ae98a677d56e813184d468fffab583fb45e06ec9be6ed7d7ea9f86 +DIST pthreadpool-2023.08.29.tar.gz 59634 BLAKE2B 9bcf641e65da7036959e21958511751005f4cec270e82a0bfe1fe49d1d98f79e9a981bf3e7e4fa7399bdf5127e116833855214a0ac2816ddfd7b919f0c7ad8d0 SHA512 764d81219f2bf1f056983b5c2576f377aeef37f0f2282e74f81bfe1eac5353e175603f80a6647c96165b24ebdcb7bc2189a376e8577ce4319d82679c33750451 EBUILD pthreadpool-2022.05.09-r1.ebuild 960 BLAKE2B 2a08deaf3e85652e9d26277c0b05e95fdec6c1028cb068a81e59d4b82b10f9041b4c305b1424d7ba3dd5523498110a957f9a6837e01a93495bf800821000be75 SHA512 c158fa77a2779b2b428f49b65a11d2048553597a592c39ab21f55c707a0d28907cc3c74c93f1713a240cea7d7036aea7af471a204e24882e10674e4830fc3f7a +EBUILD pthreadpool-2023.08.29.ebuild 976 BLAKE2B e48104617b8588ef89aec2ff9e3f08c47549b20d0a0d93e0208ce14c1739f61eb8cd518bf742ea2b43c34d40df906ee3382d2cf99adfd472fe5fc99a17e98ae5 SHA512 31f024d0bc6a7dc3c6f3a105c7162d18e278e58a0ed279118ed2442cca0c17bf40bbbcf0fdab9e9791a8a58aba3e514cfc5eeb545430f7d008bd20065556b112 MISC metadata.xml 336 BLAKE2B 06e9967212846937802d243b7ebfd34d6c2330c0a2bcc5d410cef2abb5d05ee5c21c4dee3ea7b2327778d0e605d4f8353ea14a26b0b3c3855191686f12297dc7 SHA512 add71fd5fd80f1fa479fb3776f91db61fed03774d6b1983abeecb6dcfd813bd93e626fbd08dd6d27804899b907be70d2dbdd2b41d16684fa9e101281be1b9c95 diff --git a/dev-libs/pthreadpool/pthreadpool-2023.08.29.ebuild b/dev-libs/pthreadpool/pthreadpool-2023.08.29.ebuild new file mode 100644 index 000000000000..ba614beea387 --- /dev/null +++ b/dev-libs/pthreadpool/pthreadpool-2023.08.29.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +CommitId=4fe0e1e183925bf8cfa6aae24237e724a96479b8 +DESCRIPTION="Portable and efficient thread pool implementation" +HOMEPAGE="https://github.com/Maratyszcza/pthreadpool" +SRC_URI="https://github.com/Maratyszcza/${PN}/archive/${CommitId}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="dev-libs/FXdiv" +RDEPEND="${DEPEND}" +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="!test? ( test )" + +S="${WORKDIR}"/${PN}-${CommitId} + +PATCHES=( + "${FILESDIR}"/${PN}-2022.05.09-gentoo.patch +) + +src_prepare() { + cmake_src_prepare + + # >=dev-cpp/gtest-1.13.0 requires C++14 standard or later + sed -i -e 's/CXX_STANDARD 11/CXX_STANDARD 14/g' \ + CMakeLists.txt || die "sed failed" +} + +src_configure() { + local mycmakeargs=( + -DPTHREADPOOL_BUILD_BENCHMARKS=OFF + -DPTHREADPOOL_BUILD_TESTS=$(usex test ON OFF) + ) + cmake_src_configure +} -- cgit v1.2.3