diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-21 12:26:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-21 12:26:06 +0100 |
commit | bad9bf87b08d293eb79ebe14d1882e77da2b0ced (patch) | |
tree | 2e95088a05ca299b8369979d4b47f0f846657be7 /dev-libs | |
parent | c431a44e3cfa102e5ef2c9d6bbac48e28c9b15cb (diff) |
gentoo auto-resync : 21:08:2024 - 12:26:06
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 101340 -> 101338 bytes | |||
-rw-r--r-- | dev-libs/libclc/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libclc/libclc-19.1.0_rc3.ebuild | 61 | ||||
-rw-r--r-- | dev-libs/mathjax/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/mathjax/mathjax-2.7.7.ebuild | 63 | ||||
-rw-r--r-- | dev-libs/mathjax/mathjax-3.2.2-r1.ebuild | 47 | ||||
-rw-r--r-- | dev-libs/ncnn/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/ncnn/ncnn-20240820.ebuild | 68 |
8 files changed, 134 insertions, 112 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 5791634f6db6..faa68a908e6c 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest index ce7e19eb2e32..90a84f9ea05d 100644 --- a/dev-libs/libclc/Manifest +++ b/dev-libs/libclc/Manifest @@ -8,6 +8,8 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad452222be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780 SHA512 508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5 SHA512 b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826 +DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b SHA512 3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a799996dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3 +DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf SHA512 ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266 DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 BLAKE2B 691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324 SHA512 2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 BLAKE2B a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277 SHA512 c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5 EBUILD libclc-15.0.7.ebuild 1668 BLAKE2B ac2bd589fb3c29662799f97b1f649fd22b1b7ce5701879815bc01a05ae88421a830a6a3507b4dead181f24eb4e45c451e8ea1ebbdac2a2de51ddbc3cd9f53c66 SHA512 a3e39fbaddb322360f6362ef21713f375d04e02b2b9a3d43a3d47b26d5d43643a8c654181aef9518aee5f9805d09c446bbbf13342b74f09622e5e1b0c59470b1 @@ -15,6 +17,7 @@ EBUILD libclc-16.0.6.ebuild 1665 BLAKE2B 27ffe7083936c466a749550797d109c7a48fc6a EBUILD libclc-17.0.6.ebuild 1749 BLAKE2B 0b083103fc48654357f621bd3c40002fe9030598a4873519b186b601cd75cc1555a3930f26fe884c1970ddf5728c9a7dffc08e97ebdb151e55b80b204d327a4e SHA512 2509e6ff63a86ba1ceef095fab34b49642b7e6866111c289c124bb7ef9d4bad8f07c4927b45994555386536975c8a4c56401860dca25f2ef2014d9153abb4c8f EBUILD libclc-18.1.8.ebuild 1302 BLAKE2B f5c4d9d86b2150a602626d7785bae098edf6ff7dce1a07501bbb5b721959827f446d7e468a85be08eb8a6935ebd59264c582d5ab04321f60d0a0bd19da2653e6 SHA512 840ec8e282d4eaac97039f32eae8b05c03fd95128a4d800f190a9b57e154a73fd2c4eeec8c58e7c892684f24b35d1da5c2b52303ec19559b19d7bd75eebf5c1c EBUILD libclc-19.1.0_rc2.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 +EBUILD libclc-19.1.0_rc3.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 EBUILD libclc-20.0.0.9999.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 EBUILD libclc-20.0.0_pre20240808.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 EBUILD libclc-20.0.0_pre20240815.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 diff --git a/dev-libs/libclc/libclc-19.1.0_rc3.ebuild b/dev-libs/libclc/libclc-19.1.0_rc3.ebuild new file mode 100644 index 000000000000..2b8c5e63c257 --- /dev/null +++ b/dev-libs/libclc/libclc-19.1.0_rc3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {17..18} ) +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org llvm-r1 python-any-r1 + +DESCRIPTION="OpenCL C library" +HOMEPAGE="https://libclc.llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )" +SLOT="0" +IUSE="+spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi" + +BDEPEND=" + ${PYTHON_DEPS} + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + spirv? ( dev-util/spirv-llvm-translator:${LLVM_SLOT} ) + ') +" + +LLVM_COMPONENTS=( libclc ) +llvm.org_set_globals + +pkg_setup() { + llvm-r1_pkg_setup + python-any-r1_pkg_setup +} + +src_configure() { + local libclc_targets=() + + use spirv && libclc_targets+=( + "spirv-mesa3d-" + "spirv64-mesa3d-" + ) + use video_cards_nvidia && libclc_targets+=( + "nvptx--" + "nvptx64--" + "nvptx--nvidiacl" + "nvptx64--nvidiacl" + ) + use video_cards_r600 && libclc_targets+=( + "r600--" + ) + use video_cards_radeonsi && libclc_targets+=( + "amdgcn--" + "amdgcn-mesa-mesa3d" + "amdgcn--amdhsa" + ) + [[ ${#libclc_targets[@]} ]] || die "libclc target missing!" + + libclc_targets=${libclc_targets[*]} + local mycmakeargs=( + -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}" + ) + cmake_src_configure +} diff --git a/dev-libs/mathjax/Manifest b/dev-libs/mathjax/Manifest index 5f6b7cb6c95c..2997bf149068 100644 --- a/dev-libs/mathjax/Manifest +++ b/dev-libs/mathjax/Manifest @@ -3,7 +3,5 @@ DIST mathjax-3.2.2.tar.gz 6191341 BLAKE2B 4884ad28ede1d3d6f6647e04c8a69185a53715 DIST mathjax-docs-2.7.7.tar.gz 233452 BLAKE2B 280db6c794471d369a17161ad859dc73ddf1494af35114b69356aae41ea52d771f92b0b85ba82df8ed542039af152938f5fda71d752da4410ab183fe6a24ab81 SHA512 25fa97294ae153298d45b449d995c0402c481c6425ea4ebb38dcc509df741aed02d5469a520c8b793b8135b4140a6d1ad6688a42e3cb26004cfd7fcb838c32e6 DIST mathjax-docs-3.2.2.tar.gz 227724 BLAKE2B 1b2d25073e4f141f5c832f1139e6bcfbdb15c039b820f3662d6fb261faebedac8ea72fb324d76389c35cd28cd41556689501d8795d7a426d735d4eaf88eb61ee SHA512 94167e58deb4f899d5c49a6b1efec24f57fff7aa497a019e9f775e251927c698b7c5598b88087c2964b8cb7238b73152dea01e091b8afaeab8979b396270d429 EBUILD mathjax-2.7.7-r1.ebuild 2048 BLAKE2B d9970a08756f46c2910acf0e514d11376c52087fa58260024fc99369938fba364bba0dc09c249821f9b5adfa3ca190545f17d1988e1f0d8662a7faa5f9dcff71 SHA512 bcc1c53c1f82e69419753d7d851d780ead0618ce9019e89c9f92cf3126e102f15e5f841c8ed86f37c4392469f336cb15be22a3a5766ba4c81c11191d7cd11b87 -EBUILD mathjax-2.7.7.ebuild 1405 BLAKE2B b1b6a47d751d07cd35c8cc9386e3c67c78cf70ff8f7b8406aeb06a46359128d306e7f18ca08fa5ef24d96d767c7d44e60212a9ea2bf4f9c51d6eea2a760fbd6e SHA512 d8b70496fcf5a8ea511174c0b2a47411b263e8a0d4e95f796f73e3f839beb1ba1b10ebbf75a0677c28cb6c13ea60593db1f07f66f9fdc9da2910420c486ab1da -EBUILD mathjax-3.2.2-r1.ebuild 1271 BLAKE2B dea7c302234bd829f5b1e0d65519e88d2e628d1dd84cc2f93a39cd0eb5d16f3ee571eee86df28f275bb1a802c0560b1cc0305d751eed46b6a5de86bc4c7c51c2 SHA512 0a143af5a9da849d2cf6f3c9391ac09e6d54cfa0f6c793a9fbc3b4f09312e97233f15e1dd07aeca0b7afedf9efd55e7cade83c6d1d0b802c5ff3875601b08e8e EBUILD mathjax-3.2.2-r2.ebuild 1787 BLAKE2B d65b7bf929895e7a6bef4e533faf8b6bd9936dfb4ac1769083b985a778514b10ab90edad9c90632b307230293baa709ac5a49838df11c44c69e36486b66743ce SHA512 3147bacebf83fb870294ff901ec05529014cfa2b824a5032569edfef984e47fa9659c06ca0285fa37030d588699c930f44a74038b07bfd7ed7c565a0b97e6e0e MISC metadata.xml 1087 BLAKE2B d29a8ade7189e19a422ffd9dbdc53dff2fbda38f185cb7bd7abb6101aae93326a7b8f68731277804e5cc30d79ef54568e329ee89821fe9a7b025bef2426c60c1 SHA512 2140a39e4253469caf772921e82b323560966cbee3c2ee5af763ffc1c2f439585f267ffa85d17b3b426270c495af0eec81a21c795500fc6c76f2ecada3f7d8e5 diff --git a/dev-libs/mathjax/mathjax-2.7.7.ebuild b/dev-libs/mathjax/mathjax-2.7.7.ebuild deleted file mode 100644 index 0232c759f19b..000000000000 --- a/dev-libs/mathjax/mathjax-2.7.7.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit vcs-clean - -DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath" -HOMEPAGE="https://www.mathjax.org/" -SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/MathJax-${PV} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="doc examples" - -RDEPEND="doc? ( app-doc/mathjax-docs:${SLOT} )" - -RESTRICT="binchecks strip" - -make_webconf() { - # web server config file - should we really do this? - cat > $1 <<-EOF - Alias /MathJax/ ${EPREFIX}${webinstalldir}/ - Alias /mathjax/ ${EPREFIX}${webinstalldir}/ - - <Directory ${EPREFIX}${webinstalldir}> - Options None - AllowOverride None - Order allow,deny - Allow from all - </Directory> - EOF -} - -src_prepare() { - default - egit_clean -} - -src_install() { - local DOCS=( README.md ) - if use doc; then - dodir /usr/share/doc/${P} - dosym ../${PN}-docs-${SLOT}/html /usr/share/doc/${P}/html - fi - - default - if use examples; then - insinto /usr/share/${PN}/examples - doins -r test/* - fi - rm -r test docs LICENSE README.md || die - - webinstalldir=/usr/share/${PN} - insinto ${webinstalldir} - doins -r * - - make_webconf MathJax.conf - insinto /etc/httpd/conf.d - doins MathJax.conf -} diff --git a/dev-libs/mathjax/mathjax-3.2.2-r1.ebuild b/dev-libs/mathjax/mathjax-3.2.2-r1.ebuild deleted file mode 100644 index 33154f783bc5..000000000000 --- a/dev-libs/mathjax/mathjax-3.2.2-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit vcs-clean - -DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath" -HOMEPAGE="https://www.mathjax.org/" -SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/MathJax-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="doc" - -RDEPEND="doc? ( ~app-doc/mathjax-docs-${PV} )" - -src_prepare() { - default - egit_clean -} - -src_install() { - local DOCS=( CONTRIBUTING.md README.md ) - default - - if use doc; then - # We need best_version to determine the right revision for - # app-doc/mathjax-docs. - local docsPF=$(best_version app-doc/mathjax-docs) - - # Strip the (known) category from the best_version output. - docsPF=${docsPF#app-doc/} - - dosym "../${docsPF}/html" "/usr/share/doc/${PF}/html" - fi - - insinto "/usr/share/${PN}" - - # Start the install beneath the "es5" directory for compatibility with - # Arch, Solus, and Void Linux, but leave a fake "es5" symlink for - # packages (like doxygen) that expect it. - doins -r es5/* - dosym -r "/usr/share/${PN}" "/usr/share/${PN}/es5" -} diff --git a/dev-libs/ncnn/Manifest b/dev-libs/ncnn/Manifest index fbe426a20395..f049ba282068 100644 --- a/dev-libs/ncnn/Manifest +++ b/dev-libs/ncnn/Manifest @@ -1,3 +1,5 @@ DIST ncnn-20240410.tar.gz 12835689 BLAKE2B b4c2ffdf525719dca81d020695f03cd963c3a1f1a0ecc61b6e08c75da212d280210bf1be9b54343a771661fef747675e7f08d0dd9e3ea942adfda1e07d1f6868 SHA512 61865af26aecc6b0eccdfd46c5b3f6e4dd06d7409298051c91d141e64b8c15690f2f982c0aeb3a11d3a575061ab7606710cb0e710f4cb6539c7a14ff440aaaf7 +DIST ncnn-20240820.tar.gz 12963701 BLAKE2B cf92ac70fb0256ae4b78f03d5a670622071f6f0e9b4ad1ee6a18238852f66b3d6b0456d33b2cf2eb691c351b1e8c7b0a8427fb20342029c79f33626f09d9bba5 SHA512 cbef59021231df7409c73a270f147e72daefa1230ccc072aec7225078097ec8e99d4dd82e8aaa93665361c4c24b3812e05f08da5c9a82a575ef2aad70c0828fe EBUILD ncnn-20240410.ebuild 1622 BLAKE2B 4a8abed71bf07f561ed17a51adb58388869e4b5d0371f9c8329f30882e98e8b7de90d9279af32a4d8fd11cb29decdf9b6017018ba8446d37a19b8d1cc24d1ed0 SHA512 d08954ae5c5ab8b9298d38a550dc6f31020a750dc0334d368df9791455daad3c5ea504a352bb80b1ea23a14c1ff63e4af6d09ed25c4e6ac8b44c9f37df8fea57 +EBUILD ncnn-20240820.ebuild 1623 BLAKE2B 0b5b7ca5be38a25d11268c772f02c2203080f4ecf71b66c3edbce3e833b1895c86d8c7069c7b4e252a774898bbbe927add94da9753874777e38db10a0ff0679f SHA512 d7901894a2abee5a790cc94e0d1a7526fa39bb9510d794046f282508d7ce20f6af9b46dfa63f1b619fa7c548977ddbfcea40708d88781b0e9051123089c583b8 MISC metadata.xml 430 BLAKE2B 2623eadab618d93544c297f5c5bbb29575a769e0d4660aa619c66db2ad1909349f2753a426789d6c280a13a452b3434d5ffa2e781aee59b4487a71b023792327 SHA512 0693c619982557394bbabab2ceee6ba06445bcc208bb9e751392a371ca3efbf56b39685fb2d20d4e3da443c5bf7a482ed4581a7349734ad44c1e58dfb6dc241e diff --git a/dev-libs/ncnn/ncnn-20240820.ebuild b/dev-libs/ncnn/ncnn-20240820.ebuild new file mode 100644 index 000000000000..2bb0594c7321 --- /dev/null +++ b/dev-libs/ncnn/ncnn-20240820.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="High-performance neural network inference framework" +HOMEPAGE="https://github.com/Tencent/ncnn/" +SRC_URI=" + https://github.com/Tencent/ncnn/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="BSD ZLIB" +SLOT="0/${PV}" # currently has unstable ABI that often requires rebuilds +KEYWORDS="~amd64 ~x86" +IUSE="openmp tools +vulkan" + +# Need the static library to run tests + skip vulkan / GPU: +# -DNCNN_BUILD_TESTS=ON -DNCNN_SHARED_LIB=OFF -DNCNN_VULKAN=OFF +RESTRICT="test" + +RDEPEND=" + tools? ( + dev-cpp/abseil-cpp:= + dev-libs/protobuf:= + ) + vulkan? ( + dev-util/glslang:= + media-libs/vulkan-loader + ) +" +DEPEND=" + ${RDEPEND} + vulkan? ( dev-util/vulkan-headers ) +" + +DOCS=( README.md docs/. ) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + local mycmakeargs=( + -DGLSLANG_TARGET_DIR="${ESYSROOT}"/usr/$(get_libdir)/cmake + -DNCNN_BUILD_EXAMPLES=no + -DNCNN_BUILD_TOOLS=$(usex tools) + -DNCNN_OPENMP=$(usex openmp) + -DNCNN_PYTHON=no # todo if something needs it + -DNCNN_SHARED_LIB=yes + -DNCNN_SIMPLEVK=no + -DNCNN_SYSTEM_GLSLANG=yes + -DNCNN_VERSION=${PV} # avoids libncnn.so.*.%Y%m%d using build date + -DNCNN_VULKAN=$(usex vulkan) + ) + + # temporary workaround due to a >=clang-18 regression (bug #929228) + tc-is-clang && [[ $(clang-major-version) -ge 18 ]] && + mycmakeargs+=( -DNCNN_AVX512BF16=no ) + + cmake_src_configure +} |