diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2022-11-19 05:01:48 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2022-11-19 05:01:48 +0000 |
commit | ad1e72b8e24e184cebb642747af2c79721ee51ee (patch) | |
tree | 261c55333b1c71d540c8f2c821a58cce751abc9e | |
parent | 2022-11-19 04:16:52 UTC (diff) | |
parent | profiles/arch/loong: mask things involving net-libs/webkit-gtk (diff) | |
download | gentoo-ad1e72b8e24e184cebb642747af2c79721ee51ee.tar.gz gentoo-ad1e72b8e24e184cebb642747af2c79721ee51ee.tar.bz2 gentoo-ad1e72b8e24e184cebb642747af2c79721ee51ee.zip |
Merge updates from master
58 files changed, 431 insertions, 1513 deletions
diff --git a/app-arch/lxqt-archiver/lxqt-archiver-0.7.0.ebuild b/app-arch/lxqt-archiver/lxqt-archiver-0.7.0.ebuild index 5c83cb945290..ed0819d80d89 100644 --- a/app-arch/lxqt-archiver/lxqt-archiver-0.7.0.ebuild +++ b/app-arch/lxqt-archiver/lxqt-archiver-0.7.0.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" else SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~riscv ~x86" + KEYWORDS="~amd64 ~loong ~riscv ~x86" fi LICENSE="GPL-2 GPL-2+" diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.3-r4.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.3-r4.ebuild index 2e6d2e030fc7..ff5b1be547c3 100644 --- a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.3-r4.ebuild +++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.3-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://docbook.org/sgml/${PV}/${MY_P}.zip" LICENSE="docbook" SLOT="${PV}" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris" IUSE="" BDEPEND=">=app-arch/unzip-5.41" diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.5-r2.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.5-r2.ebuild index 2b8e3af280e1..002eebef8a0f 100644 --- a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.5-r2.ebuild +++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://docbook.org/sgml/${PV}/${MY_P}.zip" LICENSE="docbook" SLOT="${PV}" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" BDEPEND=">=app-arch/unzip-5.41" diff --git a/dev-cpp/atkmm/atkmm-2.36.2-r1.ebuild b/dev-cpp/atkmm/atkmm-2.36.2-r1.ebuild index 8c0b177ab510..9893b543d357 100644 --- a/dev-cpp/atkmm/atkmm-2.36.2-r1.ebuild +++ b/dev-cpp/atkmm/atkmm-2.36.2-r1.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://www.gtkmm.org" LICENSE="LGPL-2.1+" SLOT="2.36" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" IUSE="gtk-doc" DEPEND=" diff --git a/dev-db/freetds/freetds-1.2.18.ebuild b/dev-db/freetds/freetds-1.2.18.ebuild index 50ee8acd8d37..6ec7c9983374 100644 --- a/dev-db/freetds/freetds-1.2.18.ebuild +++ b/dev-db/freetds/freetds-1.2.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="ftp://ftp.freetds.org/pub/${PN}/current/${MY_PN}.${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos" IUSE="debug gnutls iconv kerberos mssql iodbc odbc ssl static-libs" # iODBC and unixODBC are mutually-exclusive choices for diff --git a/dev-libs/cudnn/Manifest b/dev-libs/cudnn/Manifest index 0dffe58e8c34..e40698740823 100644 --- a/dev-libs/cudnn/Manifest +++ b/dev-libs/cudnn/Manifest @@ -1,4 +1 @@ -DIST cudnn-linux-x86_64-8.3.1.22_cuda11.5-archive.tar.xz 856769204 BLAKE2B 375021592470b1f17d7a69701f1ac3289ceb8ddbbdacf577fa51abfdad263102d3c6cedb24ac829c49e033300532e77b6064835a8ae1e05377e375f4320c9a15 SHA512 815ef678b7510e014181f3bf782e627771e8d00d218b34f2af11436b8a49331400269f98448854353c12721468365b71a8483eb7631777f0d628982e81942a8b -DIST cudnn-linux-x86_64-8.3.2.44_cuda11.5-archive.tar.xz 857894928 BLAKE2B 7f0f4fe4d8ccd2e7385d5c4535f4543b3d8e80f65caa5a4d5fdaa1b386a76fe16d8d9e32745a098954eda8d0b803af6146c1ffc5b46c838ea0ccecd5923984cf SHA512 4f2159e48685613b436adb3995aa80cf6d5b395c146059ccc15ef2f5f7e47c94bfeebd14b09d8832f7df76d2379829aa32edb7b69852e17a8e7036084265ed39 -DIST cudnn-linux-x86_64-8.4.1.50_cuda11.6-archive.tar.xz 850711772 BLAKE2B 47e03d7a25f92cb2e2793e7d13b6182da62329a7868a785ca2224bccfc97960721fba26e1e8a933e8d449085e895c129871bb2fd7c690265d01ad10564a1b939 SHA512 bf2069edf5c73db325d4ef27e3976169b9bd32afc49f012bd1e6f7d9bd374179dd9312538e7be7b0f8d5da0f2edd79b6788868e183f00f8b99fda185302d07c3 DIST cudnn-linux-x86_64-8.6.0.163_cuda11-archive.tar.xz 864470696 BLAKE2B e842f5861653f2bc8509cc654e5c40436556786610fbc4ab40781cd8246d5bc94e3e3fae0b0933c947941dc0b6eacbd44d6a54702566e5aefcff56df3f884149 SHA512 15d86b8884bf7b48b4aa1022ea26f0965dd50a9911ca1e6fb89e5266181e662547ba077b2e2e9f19bd135aef9d21fb0a3348b97c7fac9059bb241657046d6d60 diff --git a/dev-libs/cudnn/cudnn-8.3.1.22.ebuild b/dev-libs/cudnn/cudnn-8.3.1.22.ebuild deleted file mode 100644 index 167d9bc667cc..000000000000 --- a/dev-libs/cudnn/cudnn-8.3.1.22.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library" -HOMEPAGE="https://developer.nvidia.com/cudnn" -SRC_URI="cuda11-5? ( cudnn-linux-x86_64-${PV}_cuda11.5-archive.tar.xz )" -S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda11.5-archive" - -LICENSE="NVIDIA-cuDNN" -SLOT="0/8" -KEYWORDS="~amd64 ~amd64-linux" -IUSE="+cuda11-5" -REQUIRED_USE="^^ ( cuda11-5 )" -RESTRICT="fetch" - -RDEPEND=" - cuda11-5? ( =dev-util/nvidia-cuda-toolkit-11.5* )" - -QA_PREBUILT="*" - -src_install() { - insinto /opt/cuda/targets/x86_64-linux - doins -r include - - insinto /opt/cuda/targets/x86_64-linux/lib - doins -r lib/. -} diff --git a/dev-libs/cudnn/cudnn-8.3.2.44.ebuild b/dev-libs/cudnn/cudnn-8.3.2.44.ebuild deleted file mode 100644 index 167d9bc667cc..000000000000 --- a/dev-libs/cudnn/cudnn-8.3.2.44.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library" -HOMEPAGE="https://developer.nvidia.com/cudnn" -SRC_URI="cuda11-5? ( cudnn-linux-x86_64-${PV}_cuda11.5-archive.tar.xz )" -S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda11.5-archive" - -LICENSE="NVIDIA-cuDNN" -SLOT="0/8" -KEYWORDS="~amd64 ~amd64-linux" -IUSE="+cuda11-5" -REQUIRED_USE="^^ ( cuda11-5 )" -RESTRICT="fetch" - -RDEPEND=" - cuda11-5? ( =dev-util/nvidia-cuda-toolkit-11.5* )" - -QA_PREBUILT="*" - -src_install() { - insinto /opt/cuda/targets/x86_64-linux - doins -r include - - insinto /opt/cuda/targets/x86_64-linux/lib - doins -r lib/. -} diff --git a/dev-libs/cudnn/cudnn-8.4.1.50.ebuild b/dev-libs/cudnn/cudnn-8.4.1.50.ebuild deleted file mode 100644 index 1950bc260e46..000000000000 --- a/dev-libs/cudnn/cudnn-8.4.1.50.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -BASE_V="$(ver_cut 0-3)" -# supports 11.x but URL has a specific version number -CUDA_V="11.6" - -DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library" -HOMEPAGE="https://developer.nvidia.com/cudnn" -SRC_URI="https://developer.download.nvidia.com/compute/redist/cudnn/v${BASE_V}/local_installers/${CUDA_V}/cudnn-linux-x86_64-${PV}_cuda${CUDA_V}-archive.tar.xz" -S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda${CUDA_V}-archive" - -LICENSE="NVIDIA-cuDNN" -SLOT="0/8" -KEYWORDS="~amd64 ~amd64-linux" -IUSE="" -RESTRICT="mirror" - -RDEPEND="=dev-util/nvidia-cuda-toolkit-11*" - -QA_PREBUILT="*" - -src_install() { - insinto /opt/cuda/targets/x86_64-linux - doins -r include - - insinto /opt/cuda/targets/x86_64-linux/lib - doins -r lib/. -} diff --git a/dev-libs/cudnn/metadata.xml b/dev-libs/cudnn/metadata.xml index 7e420583aa25..c0cd18916a93 100644 --- a/dev-libs/cudnn/metadata.xml +++ b/dev-libs/cudnn/metadata.xml @@ -5,7 +5,4 @@ <email>sci@gentoo.org</email> <name>Gentoo Science Project</name> </maintainer> - <use> - <flag name="cuda11-5">On Nvidia CUDA 11.5</flag> - </use> </pkgmetadata> diff --git a/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild b/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild index 248ec6df2914..e2d71c2c0bf6 100644 --- a/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild +++ b/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.fastcgi.com/dist/fcgi-$(ver_cut 1-3)-SNAP-$(ver_cut 5).tar.g LICENSE="FastCGI" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="html" S="${WORKDIR}/${PN}-2.4.1-SNAP-0910052249" diff --git a/dev-libs/libappindicator/libappindicator-12.10.1_p20200706.ebuild b/dev-libs/libappindicator/libappindicator-12.10.1_p20200706.ebuild index 868f4eedc155..94e58009eb6e 100644 --- a/dev-libs/libappindicator/libappindicator-12.10.1_p20200706.ebuild +++ b/dev-libs/libappindicator/libappindicator-12.10.1_p20200706.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://ubuntu/pool/main/liba/${PN}/${PN}_${MY_PV}+20.10.${PATCH_VERSI LICENSE="LGPL-2.1 LGPL-3" SLOT="3" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86" IUSE="+introspection test" RDEPEND=" diff --git a/dev-perl/Clone/Clone-0.460.0.ebuild b/dev-perl/Clone/Clone-0.460.0.ebuild index f0b7117bcb7a..7263d754cb1c 100644 --- a/dev-perl/Clone/Clone-0.460.0.ebuild +++ b/dev-perl/Clone/Clone-0.460.0.ebuild @@ -10,7 +10,7 @@ inherit perl-module DESCRIPTION="Recursively copy Perl datatypes" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" BDEPEND=" virtual/perl-ExtUtils-MakeMaker diff --git a/dev-python/pyatspi/pyatspi-2.46.0.ebuild b/dev-python/pyatspi/pyatspi-2.46.0.ebuild index 11ad93a31dcc..7b1cc2f5fdec 100644 --- a/dev-python/pyatspi/pyatspi-2.46.0.ebuild +++ b/dev-python/pyatspi/pyatspi-2.46.0.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://wiki.gnome.org/Accessibility" # Note: only some of the tests are GPL-licensed, everything else is LGPL LICENSE="LGPL-2 GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-qt/qtspeech/qtspeech-5.15.5.ebuild b/dev-qt/qtspeech/qtspeech-5.15.5.ebuild index e6c79caf8289..1106825c23b2 100644 --- a/dev-qt/qtspeech/qtspeech-5.15.5.ebuild +++ b/dev-qt/qtspeech/qtspeech-5.15.5.ebuild @@ -9,7 +9,7 @@ inherit qt5-build DESCRIPTION="Text-to-speech library for the Qt5 framework" if [[ ${QT5_BUILD_TYPE} == release ]]; then - KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86" + KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" fi IUSE="alsa flite" diff --git a/dev-util/dogtail/dogtail-0.9.11.ebuild b/dev-util/dogtail/dogtail-0.9.11.ebuild index 9d960b00f282..db808a7830bd 100644 --- a/dev-util/dogtail/dogtail-0.9.11.ebuild +++ b/dev-util/dogtail/dogtail-0.9.11.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://gitlab.com/${PN}/${PN}/raw/released/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86" IUSE="" RDEPEND=" diff --git a/dev-util/nvidia-cuda-toolkit/Manifest b/dev-util/nvidia-cuda-toolkit/Manifest index 34faee0ce0f5..6ca6d2d7d452 100644 --- a/dev-util/nvidia-cuda-toolkit/Manifest +++ b/dev-util/nvidia-cuda-toolkit/Manifest @@ -1,6 +1 @@ -DIST cuda_11.5.1_495.29.05_linux.run 3420998120 BLAKE2B 0d3f9626f97c60291397ebd0edc04e2c84942473d943d95af6fae244e5809721335bb90eaa6c019c9391de516d20599ca5631e99764616b6d25eacf1899d99d9 SHA512 71fb354714cac09265b5102223f919e34e3a8503593dd4f2e7b9542ae7787de96d64c490276b36b685da9e691cc2704419b67cfa376dcd3647e4d0f93b02db9b -DIST cuda_11.6.0_510.39.01_linux.run 3488951771 BLAKE2B f66d8b7779dc8e1e06ef5b83f1b565b6d500eb802aac1726c1393e0c0f065960761e8f6cdee955fd87362446331f7cb14febeb42efa5b89d86050e77b61b6ce9 SHA512 257b7b0bce1fa93cc442d8f335aec78681a3e4d457e31f04fb1cd01b91208aa35833f3793d8e2ef6d5db15e86c4d7659adb6ad127c57cbdabaa8dd14ef36a931 -DIST cuda_11.6.1_510.47.03_linux.run 3529826023 BLAKE2B 93acd3a2984e89b1458d11051f4927e7bd2ac20bccce9166a2a4efcf16cf01a1ccbb6fa8be2f7a82ef1b5a403e4814c1e24aca493dd246c3a3c16e9107fbc1cc SHA512 75c8f28bcd3de638f780b4d8c5e80cea3023fb0e57b4075bd6905071da273e9d09281d947d660f2e4ab6d71f47c12cc021f12656fd8fbf56d11cf7e520e90a9e -DIST cuda_11.6.2_510.47.03_linux.run 3462542823 BLAKE2B 8160591bc491a8d18bf9810c248a1e1966f82f6170fe4f98915fd51e984e594da390aab2eddee8a02ee245428c9db3ca4dbf6871d71a54823c06b5ba16769c4d SHA512 8afec50a2697074ee25eca59d5061041eb517bf324e20c21d7595f7000b445b9baeb8902b50fd2dcee16861502a7789b1c81994e1cba312426eea24f1252f21f -DIST cuda_11.7.0_515.43.04_linux.run 3490450898 BLAKE2B f5984a3ae67a116f7944d8e1c2b3b0a25b41aa5081bff869dd30ea2213cc96d23459dffdfd84ec145d5a860bd683d81d212f331939d7b39f9d9b5f17c838f13c SHA512 070c9a4b3bb11503d99212cf483ead88ae182e7da7eabd7390a0211b57ea550fb8a806ed3c009b8bae654529a7dc6c11dd35c0d59066f6f4eebe064c94d4e071 DIST cuda_11.8.0_520.61.05_linux.run 4336730777 BLAKE2B cfdb4a51c49ee504e56a4a95de4e477ef207b678527cbb633c1e83e667f1a62c0f67038befd0b10f7ae24cda9c8bc5c54293d06a05b2e45be6cf677e40f71f17 SHA512 e96e1389abed34b5093b3a1d4e6ae9f3d4f8406621b1475f378efae65868657efce22da03b5b4e0a548d9635e406b8690b18b17b186d03ecb3ca0703c5d5787a diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.5.1-r1.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.5.1-r1.ebuild deleted file mode 100644 index af1b73407ee0..000000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.5.1-r1.ebuild +++ /dev/null @@ -1,260 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit check-reqs toolchain-funcs unpacker - -DRIVER_PV="495.29.05" - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="https://developer.nvidia.com/cuda-zone" -SRC_URI="https://developer.download.nvidia.com/compute/cuda/${PV}/local_installers/cuda_${PV}_${DRIVER_PV}_linux.run" -S="${WORKDIR}" - -LICENSE="NVIDIA-CUDA" -SLOT="0/${PV}" -KEYWORDS="-* ~amd64 ~amd64-linux" -IUSE="debugger nsight profiler vis-profiler sanitizer" -RESTRICT="bindist mirror" - -# since CUDA 11, the bundled toolkit driver (== ${DRIVER_PV}) and the -# actual required minimum driver version are different. Lowering the -# bound helps Kepler sm_35 and sm_37 users. -# https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#cuda-major-component-versions -RDEPEND=" - <sys-devel/gcc-12_pre[cxx] - >=x11-drivers/nvidia-drivers-450.80.02 - debugger? ( - dev-libs/openssl - sys-libs/libtermcap-compat - sys-libs/ncurses-compat:5[tinfo] - ) - vis-profiler? ( - dev-libs/openssl - >=virtual/jre-1.8:* - )" - -QA_PREBUILT="opt/cuda/*" -CHECKREQS_DISK_BUILD="6800M" - -pkg_setup() { - check-reqs_pkg_setup -} - -src_prepare() { - # ATTENTION: change requires revbump - local cuda_supported_gcc="8.5 9.4 9.5 10.3 10.4 11.1 11.2 11.3" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die - - default -} - -src_install() { - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}${cudadir}" - local pathextradirs ldpathextradirs - dodir ${cudadir} - into ${cudadir} - - # Install standard sub packages - local builddirs=( - builds/cuda_{cudart,cuobjdump,memcheck,nvcc,nvdisasm,nvml_dev,nvprune,nvrtc,nvtx,thrust} - builds/lib{cublas,cufft,curand,cusolver,cusparse,npp,nvjpeg} - $(usex profiler "builds/cuda_nvprof builds/cuda_cupti" "") - $(usex vis-profiler "builds/cuda_nvvp" "") - $(usex debugger "builds/cuda_gdb" "") - ) - - local d f - for d in "${builddirs[@]}"; do - ebegin "Installing ${d}" - [[ -d ${d} ]] || die "Directory does not exist: ${d}" - - if [[ -d ${d}/bin ]]; then - for f in ${d}/bin/*; do - if [[ -f ${f} ]]; then - dobin "${f}" - else - insinto ${cudadir}/bin - doins -r "${f}" - fi - done - fi - - insinto ${cudadir} - if [[ -d ${d}/targets ]]; then - doins -r "${d}"/targets - fi - if [[ -d ${d}/share ]]; then - doins -r "${d}"/share - fi - if [[ -d ${d}/extras ]]; then - doins -r "${d}"/extras - fi - eend $? - done - dobin "${T}"/cuda-config - - doins builds/EULA.txt - # nvml and nvvm need special handling - ebegin "Installing nvvm" - doins -r builds/cuda_nvcc/nvvm - fperms +x ${cudadir}/nvvm/bin/cicc - eend $? - - ebegin "Installing nvml" - doins -r builds/cuda_nvml_dev/nvml - eend $? - - if use sanitizer; then - ebegin "Installing sanitizer" - dobin builds/integration/Sanitizer/compute-sanitizer - doins -r builds/cuda_sanitizer_api/compute-sanitizer - # special handling for the executable - fperms +x ${cudadir}/compute-sanitizer/compute-sanitizer - eend $? - fi - - use profiler && ldpathextradirs+=":${ecudadir}/extras/CUPTI/lib64" - - if use vis-profiler; then - ebegin "Installing libnvvp" - doins -r builds/cuda_nvvp/libnvvp - # special handling for the executable - fperms +x ${cudadir}/libnvvp/nvvp - eend $? - pathextradirs+=":${ecudadir}/libnvvp" - fi - - if use nsight; then - local ncu_dir=$(grep -o 'nsight-compute-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml) - ebegin "Installing ${ncu_dir}" - mv builds/nsight_compute builds/${ncu_dir} || die - doins -r builds/${ncu_dir} - - # check this list on every bump - local exes=( - ${ncu_dir}/ncu - ${ncu_dir}/ncu-ui - ${ncu_dir}/nv-nsight-cu - ${ncu_dir}/nv-nsight-cu-cli - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/libexec/QtWebEngineProcess - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/CrashReporter - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/OpenGLVersionChecker - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui.bin - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherTargetLdPreloadHelper - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherSubreaper - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/ncu - ) - - dobin builds/integration/nsight-compute/{ncu,ncu-ui,nv-nsight-cu,nv-nsight-cu-cli} - eend $? - - local nsys_dir=$(grep -o 'nsight-systems-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml) - ebegin "Installing ${nsys_dir}" - mv builds/nsight_systems builds/${nsys_dir} || die - doins -r builds/${nsys_dir} - - # check this list on every bump - exes+=( - ${nsys_dir}/host-linux-x64/nsys-ui - ${nsys_dir}/host-linux-x64/nsys-ui.bin - ${nsys_dir}/host-linux-x64/ResolveSymbols - ${nsys_dir}/host-linux-x64/ImportNvtxt - ${nsys_dir}/host-linux-x64/CrashReporter - ${nsys_dir}/host-linux-x64/QdstrmImporter - ${nsys_dir}/host-linux-x64/libexec/QtWebEngineProcess - ${nsys_dir}/target-linux-x64/nsys - ${nsys_dir}/target-linux-x64/launcher - ${nsys_dir}/target-linux-x64/nvgpucs - ${nsys_dir}/target-linux-x64/nsys-launcher - ${nsys_dir}/target-linux-x64/sqlite3 - ${nsys_dir}/target-linux-x64/python/bin/python - ) - - dobin builds/integration/nsight-systems/{nsight-sys,nsys,nsys-exporter,nsys-ui} - eend $? - - # nsight scripts and binaries need to have their executable bit set, #691284 - for f in "${exes[@]}"; do - fperms +x ${cudadir}/${f} - done - - # remove foreign archs (triggers SONAME warning, #749903) - rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-glibc_2_19_0-ppc64le || die - rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-t210-a64 || die - rm -r "${ED}"/${cudadir}/${nsys_dir}/target-linux-armv8 || die - - # TODO: unbundle qt5 - # TODO: unbundle boost - # TODO: unbundle icu - # TODO: unbundle openssl - # TODO: unbundle mesa - # TODO: unbundle libz - # TODO: unbundle libstdc++ - # TODO: unbundle libSshClient - # TODO: unbundle sqlite - # TODO: unbundle libpfm ? - fi - - # Add include and lib symlinks - dosym targets/x86_64-linux/include ${cudadir}/include - dosym targets/x86_64-linux/lib ${cudadir}/lib64 - - newenvd - 99cuda <<-EOF - PATH=${ecudadir}/bin${pathextradirs} - ROOTPATH=${ecudadir}/bin - LDPATH=${ecudadir}/lib64:${ecudadir}/nvvm/lib64${ldpathextradirs} - EOF - - # Cuda prepackages libraries, don't revdep-build on them - insinto /etc/revdep-rebuild - newins - 80${PN} <<-EOF - SEARCH_DIRS_MASK="${ecudadir}" - EOF - # TODO: Add pkgconfig files for installed libraries -} - -pkg_postinst_check() { - local a="$("${EROOT}"/opt/cuda/bin/cuda-config -s)" - local b="0.0" - local v - for v in ${a}; do - ver_test "${v}" -gt "${b}" && b="${v}" - done - - # if gcc and if not gcc-version is at least greatest supported - if tc-is-gcc && \ - ver_test $(gcc-version) -gt "${b}"; then - ewarn - ewarn "gcc > ${b} will not work with CUDA" - ewarn "Make sure you set an earlier version of gcc with gcc-config" - ewarn "or append --compiler-bindir= pointing to a gcc bindir like" - ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}" - ewarn "to the nvcc compiler flags" - ewarn - fi -} - -pkg_postinst() { - if [[ ${MERGE_TYPE} != binary ]]; then - pkg_postinst_check - fi - - if use profiler || use nsight; then - einfo - einfo "nvidia-drivers restrict access to performance counters." - einfo "You'll need to either run profiling tools (nvprof, nsight) " - einfo "using sudo (needs cap SYS_ADMIN) or add the following line to " - einfo "a modprobe configuration file " - einfo "(e.g. /etc/modprobe.d/nvidia-prof.conf): " - einfo - einfo "options nvidia NVreg_RestrictProfilingToAdminUsers=0" - einfo - fi -} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.6.0.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.6.0.ebuild deleted file mode 100644 index 11c041589e75..000000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.6.0.ebuild +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit check-reqs toolchain-funcs unpacker - -DRIVER_PV="510.39.01" - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="https://developer.nvidia.com/cuda-zone" -SRC_URI="https://developer.download.nvidia.com/compute/cuda/${PV}/local_installers/cuda_${PV}_${DRIVER_PV}_linux.run" -S="${WORKDIR}" - -LICENSE="NVIDIA-CUDA" -SLOT="0/${PV}" -KEYWORDS="-* ~amd64 ~amd64-linux" -IUSE="debugger nsight profiler vis-profiler sanitizer" -RESTRICT="bindist mirror" - -# since CUDA 11, the bundled toolkit driver (== ${DRIVER_PV}) and the -# actual required minimum driver version are different. Lowering the -# bound helps Kepler sm_35 and sm_37 users. -# https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#cuda-major-component-versions -RDEPEND=" - <sys-devel/gcc-12_pre[cxx] - >=x11-drivers/nvidia-drivers-450.80.02 - debugger? ( - dev-libs/openssl - ) - nsight? ( - dev-libs/libpfm - dev-libs/openssl - sys-libs/zlib - ) - vis-profiler? ( - dev-libs/openssl - >=virtual/jre-1.8:* - )" - -QA_PREBUILT="opt/cuda/*" -CHECKREQS_DISK_BUILD="6800M" - -pkg_setup() { - check-reqs_pkg_setup -} - -src_prepare() { - # ATTENTION: change requires revbump - local cuda_supported_gcc="8.5 9.4 9.5 10.3 10.4 11.1 11.2 11.3" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die - - default -} - -src_install() { - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}${cudadir}" - local pathextradirs ldpathextradirs - dodir ${cudadir} - into ${cudadir} - - # Install standard sub packages - local builddirs=( - builds/cuda_{cccl,cudart,cuobjdump,cuxxfilt,memcheck,nvcc,nvdisasm,nvml_dev,nvprune,nvrtc,nvtx} - builds/lib{cublas,cufft,curand,cusolver,cusparse,npp,nvjpeg} - $(usex profiler "builds/cuda_nvprof builds/cuda_cupti" "") - $(usex vis-profiler "builds/cuda_nvvp" "") - $(usex debugger "builds/cuda_gdb" "") - ) - - local d f - for d in "${builddirs[@]}"; do - ebegin "Installing ${d}" - [[ -d ${d} ]] || die "Directory does not exist: ${d}" - - if [[ -d ${d}/bin ]]; then - for f in ${d}/bin/*; do - if [[ -f ${f} ]]; then - dobin "${f}" - else - insinto ${cudadir}/bin - doins -r "${f}" - fi - done - fi - - insinto ${cudadir} - if [[ -d ${d}/targets ]]; then - doins -r "${d}"/targets - fi - if [[ -d ${d}/share ]]; then - doins -r "${d}"/share - fi - if [[ -d ${d}/extras ]]; then - doins -r "${d}"/extras - fi - eend $? - done - dobin "${T}"/cuda-config - - doins builds/EULA.txt - # nvml and nvvm need special handling - ebegin "Installing nvvm" - doins -r builds/cuda_nvcc/nvvm - fperms +x ${cudadir}/nvvm/bin/cicc - eend $? - - ebegin "Installing nvml" - doins -r builds/cuda_nvml_dev/nvml - eend $? - - if use sanitizer; then - ebegin "Installing sanitizer" - dobin builds/integration/Sanitizer/compute-sanitizer - doins -r builds/cuda_sanitizer_api/compute-sanitizer - # special handling for the executable - fperms +x ${cudadir}/compute-sanitizer/compute-sanitizer - eend $? - fi - - use profiler && ldpathextradirs+=":${ecudadir}/extras/CUPTI/lib64" - - if use vis-profiler; then - ebegin "Installing libnvvp" - doins -r builds/cuda_nvvp/libnvvp - # special handling for the executable - fperms +x ${cudadir}/libnvvp/nvvp - eend $? - pathextradirs+=":${ecudadir}/libnvvp" - fi - - if use nsight; then - local ncu_dir=$(grep -o 'nsight-compute-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml) - ebegin "Installing ${ncu_dir}" - mv builds/nsight_compute builds/${ncu_dir} || die - doins -r builds/${ncu_dir} - - # check this list on every bump - local exes=( - ${ncu_dir}/ncu - ${ncu_dir}/ncu-ui - ${ncu_dir}/nv-nsight-cu - ${ncu_dir}/nv-nsight-cu-cli - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/libexec/QtWebEngineProcess - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/CrashReporter - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/OpenGLVersionChecker - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui.bin - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherTargetLdPreloadHelper - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherSubreaper - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/ncu - ) - - dobin builds/integration/nsight-compute/{ncu,ncu-ui,nv-nsight-cu,nv-nsight-cu-cli} - eend $? - - local nsys_dir=$(grep -o 'nsight-systems-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml) - ebegin "Installing ${nsys_dir}" - mv builds/nsight_systems builds/${nsys_dir} || die - doins -r builds/${nsys_dir} - - # check this list on every bump - exes+=( - ${nsys_dir}/host-linux-x64/nsys-ui - ${nsys_dir}/host-linux-x64/nsys-ui.bin - ${nsys_dir}/host-linux-x64/ResolveSymbols - ${nsys_dir}/host-linux-x64/ImportNvtxt - ${nsys_dir}/host-linux-x64/CrashReporter - ${nsys_dir}/host-linux-x64/QdstrmImporter - ${nsys_dir}/host-linux-x64/libexec/QtWebEngineProcess - ${nsys_dir}/target-linux-x64/nsys - ${nsys_dir}/target-linux-x64/launcher - ${nsys_dir}/target-linux-x64/nvgpucs - ${nsys_dir}/target-linux-x64/nsys-launcher - ${nsys_dir}/target-linux-x64/sqlite3 - ${nsys_dir}/target-linux-x64/python/bin/python - ) - - dobin builds/integration/nsight-systems/{nsight-sys,nsys,nsys-exporter,nsys-ui} - eend $? - - # nsight scripts and binaries need to have their executable bit set, #691284 - for f in "${exes[@]}"; do - fperms +x ${cudadir}/${f} - done - - # remove foreign archs (triggers SONAME warning, #749903) - rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-glibc_2_19_0-ppc64le || die - rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-t210-a64 || die - - # unbundle libstdc++ - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libstdc++.so.6 || die - - # unbundle openssl - rm "${ED}"/${cudadir}/${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/libssl.so* || die - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libssl.so* || die - - # unbundle libz - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libz.so* || die - - # unbundle libpfm - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libpfm.so* || die - - # TODO: unbundle qt5 - # TODO: unbundle boost - # TODO: unbundle icu - # TODO: unbundle mesa - # TODO: unbundle libSshClient - # TODO: unbundle sqlite - fi - - # Add include and lib symlinks - dosym targets/x86_64-linux/include ${cudadir}/include - dosym targets/x86_64-linux/lib ${cudadir}/lib64 - - newenvd - 99cuda <<-EOF - PATH=${ecudadir}/bin${pathextradirs} - ROOTPATH=${ecudadir}/bin - LDPATH=${ecudadir}/lib64:${ecudadir}/nvvm/lib64${ldpathextradirs} - EOF - - # Cuda prepackages libraries, don't revdep-build on them - insinto /etc/revdep-rebuild - newins - 80${PN} <<-EOF - SEARCH_DIRS_MASK="${ecudadir}" - EOF - # TODO: Add pkgconfig files for installed libraries -} - -pkg_postinst_check() { - local a="$("${EROOT}"/opt/cuda/bin/cuda-config -s)" - local b="0.0" - local v - for v in ${a}; do - ver_test "${v}" -gt "${b}" && b="${v}" - done - - # if gcc and if not gcc-version is at least greatest supported - if tc-is-gcc && \ - ver_test $(gcc-version) -gt "${b}"; then - ewarn - ewarn "gcc > ${b} will not work with CUDA" - ewarn "Make sure you set an earlier version of gcc with gcc-config" - ewarn "or append --compiler-bindir= pointing to a gcc bindir like" - ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}" - ewarn "to the nvcc compiler flags" - ewarn - fi -} - -pkg_postinst() { - if [[ ${MERGE_TYPE} != binary ]]; then - pkg_postinst_check - fi - - if use profiler || use nsight; then - einfo - einfo "nvidia-drivers restrict access to performance counters." - einfo "You'll need to either run profiling tools (nvprof, nsight) " - einfo "using sudo (needs cap SYS_ADMIN) or add the following line to " - einfo "a modprobe configuration file " - einfo "(e.g. /etc/modprobe.d/nvidia-prof.conf): " - einfo - einfo "options nvidia NVreg_RestrictProfilingToAdminUsers=0" - einfo - fi -} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.6.1.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.6.1.ebuild deleted file mode 100644 index 4df8463010fc..000000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.6.1.ebuild +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit check-reqs toolchain-funcs unpacker - -DRIVER_PV="510.47.03" - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="https://developer.nvidia.com/cuda-zone" -SRC_URI="https://developer.download.nvidia.com/compute/cuda/${PV}/local_installers/cuda_${PV}_${DRIVER_PV}_linux.run" -S="${WORKDIR}" - -LICENSE="NVIDIA-CUDA" -SLOT="0/${PV}" -KEYWORDS="-* ~amd64 ~amd64-linux" -IUSE="debugger nsight profiler vis-profiler sanitizer" -RESTRICT="bindist mirror" - -# since CUDA 11, the bundled toolkit driver (== ${DRIVER_PV}) and the -# actual required minimum driver version are different. Lowering the -# bound helps Kepler sm_35 and sm_37 users. -# https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#cuda-major-component-versions -RDEPEND=" - <sys-devel/gcc-12_pre[cxx] - >=x11-drivers/nvidia-drivers-450.80.02 - debugger? ( - dev-libs/openssl - ) - nsight? ( - dev-libs/libpfm - dev-libs/openssl - sys-libs/zlib - ) - vis-profiler? ( - dev-libs/openssl - >=virtual/jre-1.8:* - )" - -QA_PREBUILT="opt/cuda/*" -CHECKREQS_DISK_BUILD="6800M" - -pkg_setup() { - check-reqs_pkg_setup -} - -src_prepare() { - # ATTENTION: change requires revbump - local cuda_supported_gcc="8.5 9.4 9.5 10.3 10.4 11.1 11.2 11.3" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die - - default -} - -src_install() { - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}${cudadir}" - local pathextradirs ldpathextradirs - dodir ${cudadir} - into ${cudadir} - - # Install standard sub packages - local builddirs=( - builds/cuda_{cccl,cudart,cuobjdump,cuxxfilt,memcheck,nvcc,nvdisasm,nvml_dev,nvprune,nvrtc,nvtx} - builds/lib{cublas,cufft,curand,cusolver,cusparse,npp,nvjpeg} - $(usex profiler "builds/cuda_nvprof builds/cuda_cupti" "") - $(usex vis-profiler "builds/cuda_nvvp" "") - $(usex debugger "builds/cuda_gdb" "") - ) - - local d f - for d in "${builddirs[@]}"; do - ebegin "Installing ${d}" - [[ -d ${d} ]] || die "Directory does not exist: ${d}" - - if [[ -d ${d}/bin ]]; then - for f in ${d}/bin/*; do - if [[ -f ${f} ]]; then - dobin "${f}" - else - insinto ${cudadir}/bin - doins -r "${f}" - fi - done - fi - - insinto ${cudadir} - if [[ -d ${d}/targets ]]; then - doins -r "${d}"/targets - fi - if [[ -d ${d}/share ]]; then - doins -r "${d}"/share - fi - if [[ -d ${d}/extras ]]; then - doins -r "${d}"/extras - fi - eend $? - done - dobin "${T}"/cuda-config - - doins builds/EULA.txt - # nvml and nvvm need special handling - ebegin "Installing nvvm" - doins -r builds/cuda_nvcc/nvvm - fperms +x ${cudadir}/nvvm/bin/cicc - eend $? - - ebegin "Installing nvml" - doins -r builds/cuda_nvml_dev/nvml - eend $? - - if use sanitizer; then - ebegin "Installing sanitizer" - dobin builds/integration/Sanitizer/compute-sanitizer - doins -r builds/cuda_sanitizer_api/compute-sanitizer - # special handling for the executable - fperms +x ${cudadir}/compute-sanitizer/compute-sanitizer - eend $? - fi - - use profiler && ldpathextradirs+=":${ecudadir}/extras/CUPTI/lib64" - - if use vis-profiler; then - ebegin "Installing libnvvp" - doins -r builds/cuda_nvvp/libnvvp - # special handling for the executable - fperms +x ${cudadir}/libnvvp/nvvp - eend $? - pathextradirs+=":${ecudadir}/libnvvp" - fi - - if use nsight; then - local ncu_dir=$(grep -o 'nsight-compute-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml) - ebegin "Installing ${ncu_dir}" - mv builds/nsight_compute builds/${ncu_dir} || die - doins -r builds/${ncu_dir} - - # check this list on every bump - local exes=( - ${ncu_dir}/ncu - ${ncu_dir}/ncu-ui - ${ncu_dir}/nv-nsight-cu - ${ncu_dir}/nv-nsight-cu-cli - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/libexec/QtWebEngineProcess - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/CrashReporter - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/OpenGLVersionChecker - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui.bin - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherTargetLdPreloadHelper - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherSubreaper - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/ncu - ) - - dobin builds/integration/nsight-compute/{ncu,ncu-ui,nv-nsight-cu,nv-nsight-cu-cli} - eend $? - - local nsys_dir=$(grep -o 'nsight-systems-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml) - ebegin "Installing ${nsys_dir}" - mv builds/nsight_systems builds/${nsys_dir} || die - doins -r builds/${nsys_dir} - - # check this list on every bump - exes+=( - ${nsys_dir}/host-linux-x64/nsys-ui - ${nsys_dir}/host-linux-x64/nsys-ui.bin - ${nsys_dir}/host-linux-x64/ResolveSymbols - ${nsys_dir}/host-linux-x64/ImportNvtxt - ${nsys_dir}/host-linux-x64/CrashReporter - ${nsys_dir}/host-linux-x64/QdstrmImporter - ${nsys_dir}/host-linux-x64/libexec/QtWebEngineProcess - ${nsys_dir}/target-linux-x64/nsys - ${nsys_dir}/target-linux-x64/launcher - ${nsys_dir}/target-linux-x64/nvgpucs - ${nsys_dir}/target-linux-x64/nsys-launcher - ${nsys_dir}/target-linux-x64/sqlite3 - ${nsys_dir}/target-linux-x64/python/bin/python - ) - - dobin builds/integration/nsight-systems/{nsight-sys,nsys,nsys-exporter,nsys-ui} - eend $? - - # nsight scripts and binaries need to have their executable bit set, #691284 - for f in "${exes[@]}"; do - fperms +x ${cudadir}/${f} - done - - # remove foreign archs (triggers SONAME warning, #749903) - rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-glibc_2_19_0-ppc64le || die - rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-t210-a64 || die - - # unbundle libstdc++ - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libstdc++.so.6 || die - - # unbundle openssl - rm "${ED}"/${cudadir}/${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/libssl.so* || die - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libssl.so* || die - - # unbundle libz - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libz.so* || die - - # unbundle libpfm - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libpfm.so* || die - - # TODO: unbundle qt5 - # TODO: unbundle boost - # TODO: unbundle icu - # TODO: unbundle mesa - # TODO: unbundle libSshClient - # TODO: unbundle sqlite - fi - - # Add include and lib symlinks - dosym targets/x86_64-linux/include ${cudadir}/include - dosym targets/x86_64-linux/lib ${cudadir}/lib64 - - newenvd - 99cuda <<-EOF - PATH=${ecudadir}/bin${pathextradirs} - ROOTPATH=${ecudadir}/bin - LDPATH=${ecudadir}/lib64:${ecudadir}/nvvm/lib64${ldpathextradirs} - EOF - - # Cuda prepackages libraries, don't revdep-build on them - insinto /etc/revdep-rebuild - newins - 80${PN} <<-EOF - SEARCH_DIRS_MASK="${ecudadir}" - EOF - # TODO: Add pkgconfig files for installed libraries -} - -pkg_postinst_check() { - local a="$("${EROOT}"/opt/cuda/bin/cuda-config -s)" - local b="0.0" - local v - for v in ${a}; do - ver_test "${v}" -gt "${b}" && b="${v}" - done - - # if gcc and if not gcc-version is at least greatest supported - if tc-is-gcc && \ - ver_test $(gcc-version) -gt "${b}"; then - ewarn - ewarn "gcc > ${b} will not work with CUDA" - ewarn "Make sure you set an earlier version of gcc with gcc-config" - ewarn "or append --compiler-bindir= pointing to a gcc bindir like" - ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}" - ewarn "to the nvcc compiler flags" - ewarn - fi -} - -pkg_postinst() { - if [[ ${MERGE_TYPE} != binary ]]; then - pkg_postinst_check - fi - - if use profiler || use nsight; then - einfo - einfo "nvidia-drivers restrict access to performance counters." - einfo "You'll need to either run profiling tools (nvprof, nsight) " - einfo "using sudo (needs cap SYS_ADMIN) or add the following line to " - einfo "a modprobe configuration file " - einfo "(e.g. /etc/modprobe.d/nvidia-prof.conf): " - einfo - einfo "options nvidia NVreg_RestrictProfilingToAdminUsers=0" - einfo - fi -} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.6.2.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.6.2.ebuild deleted file mode 100644 index 4df8463010fc..000000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.6.2.ebuild +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit check-reqs toolchain-funcs unpacker - -DRIVER_PV="510.47.03" - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="https://developer.nvidia.com/cuda-zone" -SRC_URI="https://developer.download.nvidia.com/compute/cuda/${PV}/local_installers/cuda_${PV}_${DRIVER_PV}_linux.run" -S="${WORKDIR}" - -LICENSE="NVIDIA-CUDA" -SLOT="0/${PV}" -KEYWORDS="-* ~amd64 ~amd64-linux" -IUSE="debugger nsight profiler vis-profiler sanitizer" -RESTRICT="bindist mirror" - -# since CUDA 11, the bundled toolkit driver (== ${DRIVER_PV}) and the -# actual required minimum driver version are different. Lowering the -# bound helps Kepler sm_35 and sm_37 users. -# https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#cuda-major-component-versions -RDEPEND=" - <sys-devel/gcc-12_pre[cxx] - >=x11-drivers/nvidia-drivers-450.80.02 - debugger? ( - dev-libs/openssl - ) - nsight? ( - dev-libs/libpfm - dev-libs/openssl - sys-libs/zlib - ) - vis-profiler? ( - dev-libs/openssl - >=virtual/jre-1.8:* - )" - -QA_PREBUILT="opt/cuda/*" -CHECKREQS_DISK_BUILD="6800M" - -pkg_setup() { - check-reqs_pkg_setup -} - -src_prepare() { - # ATTENTION: change requires revbump - local cuda_supported_gcc="8.5 9.4 9.5 10.3 10.4 11.1 11.2 11.3" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die - - default -} - -src_install() { - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}${cudadir}" - local pathextradirs ldpathextradirs - dodir ${cudadir} - into ${cudadir} - - # Install standard sub packages - local builddirs=( - builds/cuda_{cccl,cudart,cuobjdump,cuxxfilt,memcheck,nvcc,nvdisasm,nvml_dev,nvprune,nvrtc,nvtx} - builds/lib{cublas,cufft,curand,cusolver,cusparse,npp,nvjpeg} - $(usex profiler "builds/cuda_nvprof builds/cuda_cupti" "") - $(usex vis-profiler "builds/cuda_nvvp" "") - $(usex debugger "builds/cuda_gdb" "") - ) - - local d f - for d in "${builddirs[@]}"; do - ebegin "Installing ${d}" - [[ -d ${d} ]] || die "Directory does not exist: ${d}" - - if [[ -d ${d}/bin ]]; then - for f in ${d}/bin/*; do - if [[ -f ${f} ]]; then - dobin "${f}" - else - insinto ${cudadir}/bin - doins -r "${f}" - fi - done - fi - - insinto ${cudadir} - if [[ -d ${d}/targets ]]; then - doins -r "${d}"/targets - fi - if [[ -d ${d}/share ]]; then - doins -r "${d}"/share - fi - if [[ -d ${d}/extras ]]; then - doins -r "${d}"/extras - fi - eend $? - done - dobin "${T}"/cuda-config - - doins builds/EULA.txt - # nvml and nvvm need special handling - ebegin "Installing nvvm" - doins -r builds/cuda_nvcc/nvvm - fperms +x ${cudadir}/nvvm/bin/cicc - eend $? - - ebegin "Installing nvml" - doins -r builds/cuda_nvml_dev/nvml - eend $? - - if use sanitizer; then - ebegin "Installing sanitizer" - dobin builds/integration/Sanitizer/compute-sanitizer - doins -r builds/cuda_sanitizer_api/compute-sanitizer - # special handling for the executable - fperms +x ${cudadir}/compute-sanitizer/compute-sanitizer - eend $? - fi - - use profiler && ldpathextradirs+=":${ecudadir}/extras/CUPTI/lib64" - - if use vis-profiler; then - ebegin "Installing libnvvp" - doins -r builds/cuda_nvvp/libnvvp - # special handling for the executable - fperms +x ${cudadir}/libnvvp/nvvp - eend $? - pathextradirs+=":${ecudadir}/libnvvp" - fi - - if use nsight; then - local ncu_dir=$(grep -o 'nsight-compute-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml) - ebegin "Installing ${ncu_dir}" - mv builds/nsight_compute builds/${ncu_dir} || die - doins -r builds/${ncu_dir} - - # check this list on every bump - local exes=( - ${ncu_dir}/ncu - ${ncu_dir}/ncu-ui - ${ncu_dir}/nv-nsight-cu - ${ncu_dir}/nv-nsight-cu-cli - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/libexec/QtWebEngineProcess - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/CrashReporter - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/OpenGLVersionChecker - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui.bin - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherTargetLdPreloadHelper - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherSubreaper - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/ncu - ) - - dobin builds/integration/nsight-compute/{ncu,ncu-ui,nv-nsight-cu,nv-nsight-cu-cli} - eend $? - - local nsys_dir=$(grep -o 'nsight-systems-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml) - ebegin "Installing ${nsys_dir}" - mv builds/nsight_systems builds/${nsys_dir} || die - doins -r builds/${nsys_dir} - - # check this list on every bump - exes+=( - ${nsys_dir}/host-linux-x64/nsys-ui - ${nsys_dir}/host-linux-x64/nsys-ui.bin - ${nsys_dir}/host-linux-x64/ResolveSymbols - ${nsys_dir}/host-linux-x64/ImportNvtxt - ${nsys_dir}/host-linux-x64/CrashReporter - ${nsys_dir}/host-linux-x64/QdstrmImporter - ${nsys_dir}/host-linux-x64/libexec/QtWebEngineProcess - ${nsys_dir}/target-linux-x64/nsys - ${nsys_dir}/target-linux-x64/launcher - ${nsys_dir}/target-linux-x64/nvgpucs - ${nsys_dir}/target-linux-x64/nsys-launcher - ${nsys_dir}/target-linux-x64/sqlite3 - ${nsys_dir}/target-linux-x64/python/bin/python - ) - - dobin builds/integration/nsight-systems/{nsight-sys,nsys,nsys-exporter,nsys-ui} - eend $? - - # nsight scripts and binaries need to have their executable bit set, #691284 - for f in "${exes[@]}"; do - fperms +x ${cudadir}/${f} - done - - # remove foreign archs (triggers SONAME warning, #749903) - rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-glibc_2_19_0-ppc64le || die - rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-t210-a64 || die - - # unbundle libstdc++ - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libstdc++.so.6 || die - - # unbundle openssl - rm "${ED}"/${cudadir}/${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/libssl.so* || die - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libssl.so* || die - - # unbundle libz - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libz.so* || die - - # unbundle libpfm - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libpfm.so* || die - - # TODO: unbundle qt5 - # TODO: unbundle boost - # TODO: unbundle icu - # TODO: unbundle mesa - # TODO: unbundle libSshClient - # TODO: unbundle sqlite - fi - - # Add include and lib symlinks - dosym targets/x86_64-linux/include ${cudadir}/include - dosym targets/x86_64-linux/lib ${cudadir}/lib64 - - newenvd - 99cuda <<-EOF - PATH=${ecudadir}/bin${pathextradirs} - ROOTPATH=${ecudadir}/bin - LDPATH=${ecudadir}/lib64:${ecudadir}/nvvm/lib64${ldpathextradirs} - EOF - - # Cuda prepackages libraries, don't revdep-build on them - insinto /etc/revdep-rebuild - newins - 80${PN} <<-EOF - SEARCH_DIRS_MASK="${ecudadir}" - EOF - # TODO: Add pkgconfig files for installed libraries -} - -pkg_postinst_check() { - local a="$("${EROOT}"/opt/cuda/bin/cuda-config -s)" - local b="0.0" - local v - for v in ${a}; do - ver_test "${v}" -gt "${b}" && b="${v}" - done - - # if gcc and if not gcc-version is at least greatest supported - if tc-is-gcc && \ - ver_test $(gcc-version) -gt "${b}"; then - ewarn - ewarn "gcc > ${b} will not work with CUDA" - ewarn "Make sure you set an earlier version of gcc with gcc-config" - ewarn "or append --compiler-bindir= pointing to a gcc bindir like" - ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}" - ewarn "to the nvcc compiler flags" - ewarn - fi -} - -pkg_postinst() { - if [[ ${MERGE_TYPE} != binary ]]; then - pkg_postinst_check - fi - - if use profiler || use nsight; then - einfo - einfo "nvidia-drivers restrict access to performance counters." - einfo "You'll need to either run profiling tools (nvprof, nsight) " - einfo "using sudo (needs cap SYS_ADMIN) or add the following line to " - einfo "a modprobe configuration file " - einfo "(e.g. /etc/modprobe.d/nvidia-prof.conf): " - einfo - einfo "options nvidia NVreg_RestrictProfilingToAdminUsers=0" - einfo - fi -} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.7.0-r2.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.7.0-r2.ebuild deleted file mode 100644 index b4b3850015f4..000000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.7.0-r2.ebuild +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit check-reqs toolchain-funcs unpacker - -DRIVER_PV="515.43.04" - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="https://developer.nvidia.com/cuda-zone" -SRC_URI="https://developer.download.nvidia.com/compute/cuda/${PV}/local_installers/cuda_${PV}_${DRIVER_PV}_linux.run" -S="${WORKDIR}" - -LICENSE="NVIDIA-CUDA" -SLOT="0/${PV}" -KEYWORDS="-* ~amd64 ~amd64-linux" -IUSE="debugger nsight profiler vis-profiler sanitizer" -RESTRICT="bindist mirror" - -# since CUDA 11, the bundled toolkit driver (== ${DRIVER_PV}) and the -# actual required minimum driver version are different. Lowering the -# bound helps Kepler sm_35 and sm_37 users. -# https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#cuda-major-component-versions -RDEPEND=" - <sys-devel/gcc-12_pre[cxx] - >=x11-drivers/nvidia-drivers-450.80.02 - nsight? ( - dev-libs/libpfm - dev-libs/wayland - || ( - dev-libs/openssl-compat:1.1.1 - =dev-libs/openssl-1.1.1* - ) - sys-libs/zlib - ) - vis-profiler? ( - >=virtual/jre-1.8:* - )" - -QA_PREBUILT="opt/cuda/*" -CHECKREQS_DISK_BUILD="6800M" - -pkg_setup() { - check-reqs_pkg_setup -} - -src_prepare() { - # ATTENTION: change requires revbump - local cuda_supported_gcc="8.5 9.4 9.5 10.3 10.4 11.1 11.2 11.3" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die - - default -} - -src_install() { - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}${cudadir}" - local pathextradirs ldpathextradirs - dodir ${cudadir} - into ${cudadir} - - # Install standard sub packages - local builddirs=( - builds/cuda_{cccl,cudart,cuobjdump,cuxxfilt,memcheck,nvcc,nvdisasm,nvml_dev,nvprune,nvrtc,nvtx} - builds/lib{cublas,cufft,curand,cusolver,cusparse,npp,nvjpeg} - $(usex profiler "builds/cuda_nvprof builds/cuda_cupti" "") - $(usex vis-profiler "builds/cuda_nvvp" "") - $(usex debugger "builds/cuda_gdb" "") - ) - - local d f - for d in "${builddirs[@]}"; do - ebegin "Installing ${d}" - [[ -d ${d} ]] || die "Directory does not exist: ${d}" - - if [[ -d ${d}/bin ]]; then - for f in ${d}/bin/*; do - if [[ -f ${f} ]]; then - dobin "${f}" - else - insinto ${cudadir}/bin - doins -r "${f}" - fi - done - fi - - insinto ${cudadir} - if [[ -d ${d}/targets ]]; then - doins -r "${d}"/targets - fi - if [[ -d ${d}/share ]]; then - doins -r "${d}"/share - fi - if [[ -d ${d}/extras ]]; then - doins -r "${d}"/extras - fi - eend $? - done - dobin "${T}"/cuda-config - - doins builds/EULA.txt - # nvml and nvvm need special handling - ebegin "Installing nvvm" - doins -r builds/cuda_nvcc/nvvm - fperms +x ${cudadir}/nvvm/bin/cicc - eend $? - - ebegin "Installing nvml" - doins -r builds/cuda_nvml_dev/nvml - eend $? - - if use sanitizer; then - ebegin "Installing sanitizer" - dobin builds/integration/Sanitizer/compute-sanitizer - doins -r builds/cuda_sanitizer_api/compute-sanitizer - # special handling for the executable - fperms +x ${cudadir}/compute-sanitizer/compute-sanitizer - eend $? - fi - - use profiler && ldpathextradirs+=":${ecudadir}/extras/CUPTI/lib64" - - if use vis-profiler; then - ebegin "Installing libnvvp" - doins -r builds/cuda_nvvp/libnvvp - # special handling for the executable - fperms +x ${cudadir}/libnvvp/nvvp - eend $? - pathextradirs+=":${ecudadir}/libnvvp" - fi - - if use nsight; then - local ncu_dir=$(grep -o 'nsight-compute-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml) - ebegin "Installing ${ncu_dir}" - mv builds/nsight_compute builds/${ncu_dir} || die - doins -r builds/${ncu_dir} - - # check this list on every bump - local exes=( - ${ncu_dir}/ncu - ${ncu_dir}/ncu-ui - ${ncu_dir}/nv-nsight-cu - ${ncu_dir}/nv-nsight-cu-cli - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/libexec/QtWebEngineProcess - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/CrashReporter - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/OpenGLVersionChecker - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui - ${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui.bin - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherTargetLdPreloadHelper - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherSubreaper - ${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/ncu - ) - - dobin builds/integration/nsight-compute/{ncu,ncu-ui,nv-nsight-cu,nv-nsight-cu-cli} - eend $? - - local nsys_dir=$(grep -o 'nsight-systems-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml) - ebegin "Installing ${nsys_dir}" - mv builds/nsight_systems builds/${nsys_dir} || die - doins -r builds/${nsys_dir} - - # check this list on every bump - exes+=( - ${nsys_dir}/host-linux-x64/nsys-ui - ${nsys_dir}/host-linux-x64/nsys-ui.bin - ${nsys_dir}/host-linux-x64/ResolveSymbols - ${nsys_dir}/host-linux-x64/ImportNvtxt - ${nsys_dir}/host-linux-x64/CrashReporter - ${nsys_dir}/host-linux-x64/QdstrmImporter - ${nsys_dir}/host-linux-x64/libexec/QtWebEngineProcess - ${nsys_dir}/target-linux-x64/nsys - ${nsys_dir}/target-linux-x64/launcher - ${nsys_dir}/target-linux-x64/nvgpucs - ${nsys_dir}/target-linux-x64/nsys-launcher - ${nsys_dir}/target-linux-x64/sqlite3 - ${nsys_dir}/target-linux-x64/python/bin/python - ) - - dobin builds/integration/nsight-systems/{nsight-sys,nsys,nsys-exporter,nsys-ui} - eend $? - - # nsight scripts and binaries need to have their executable bit set, #691284 - for f in "${exes[@]}"; do - fperms +x ${cudadir}/${f} - done - - # remove foreign archs (triggers SONAME warning, #749903) - rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-glibc_2_19_0-ppc64le || die - rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-t210-a64 || die - - # unbundle libstdc++ - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libstdc++.so.6 || die - - # unbundle openssl - rm "${ED}"/${cudadir}/${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/libssl.so* || die - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libssl.so* || die - - # unbundle libz - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libz.so* || die - - # unbundle libpfm - rm "${ED}"/${cudadir}/${nsys_dir}/host-linux-x64/libpfm.so* || die - - # TODO: unbundle qt5 - # TODO: unbundle boost - # TODO: unbundle icu - # TODO: unbundle mesa - # TODO: unbundle libSshClient - # TODO: unbundle sqlite - fi - - # Add include and lib symlinks - dosym targets/x86_64-linux/include ${cudadir}/include - dosym targets/x86_64-linux/lib ${cudadir}/lib64 - - newenvd - 99cuda <<-EOF - PATH=${ecudadir}/bin${pathextradirs} - ROOTPATH=${ecudadir}/bin - LDPATH=${ecudadir}/lib64:${ecudadir}/nvvm/lib64${ldpathextradirs} - EOF - - # Cuda prepackages libraries, don't revdep-build on them - insinto /etc/revdep-rebuild - newins - 80${PN} <<-EOF - SEARCH_DIRS_MASK="${ecudadir}" - EOF - # TODO: Add pkgconfig files for installed libraries -} - -pkg_postinst_check() { - local a="$("${EROOT}"/opt/cuda/bin/cuda-config -s)" - local b="0.0" - local v - for v in ${a}; do - ver_test "${v}" -gt "${b}" && b="${v}" - done - - # if gcc and if not gcc-version is at least greatest supported - if tc-is-gcc && \ - ver_test $(gcc-version) -gt "${b}"; then - ewarn - ewarn "gcc > ${b} will not work with CUDA" - ewarn "Make sure you set an earlier version of gcc with gcc-config" - ewarn "or append --compiler-bindir= pointing to a gcc bindir like" - ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}" - ewarn "to the nvcc compiler flags" - ewarn - fi -} - -pkg_postinst() { - if [[ ${MERGE_TYPE} != binary ]]; then - pkg_postinst_check - fi - - if use profiler || use nsight; then - einfo - einfo "nvidia-drivers restrict access to performance counters." - einfo "You'll need to either run profiling tools (nvprof, nsight) " - einfo "using sudo (needs cap SYS_ADMIN) or add the following line to " - einfo "a modprobe configuration file " - einfo "(e.g. /etc/modprobe.d/nvidia-prof.conf): " - einfo - einfo "options nvidia NVreg_RestrictProfilingToAdminUsers=0" - einfo - fi -} diff --git a/lxqt-base/lxqt-admin/lxqt-admin-1.2.0.ebuild b/lxqt-base/lxqt-admin/lxqt-admin-1.2.0.ebuild index 53c20a657b66..94509ef1e9cd 100644 --- a/lxqt-base/lxqt-admin/lxqt-admin-1.2.0.ebuild +++ b/lxqt-base/lxqt-admin/lxqt-admin-1.2.0.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} = *9999* ]]; then EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" else SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" fi LICENSE="LGPL-2.1+" diff --git a/lxqt-base/lxqt-openssh-askpass/lxqt-openssh-askpass-1.2.0.ebuild b/lxqt-base/lxqt-openssh-askpass/lxqt-openssh-askpass-1.2.0.ebuild index 69bb109d3c5c..ee897bdd8609 100644 --- a/lxqt-base/lxqt-openssh-askpass/lxqt-openssh-askpass-1.2.0.ebuild +++ b/lxqt-base/lxqt-openssh-askpass/lxqt-openssh-askpass-1.2.0.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} = *9999* ]]; then EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" else SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" fi LICENSE="LGPL-2.1 LGPL-2.1+" diff --git a/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-1.2.0.ebuild b/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-1.2.0.ebuild index 68f1924a916d..05f4442e7af7 100644 --- a/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-1.2.0.ebuild +++ b/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-1.2.0.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" else SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" fi LICENSE="LGPL-2.1 LGPL-2.1+" diff --git a/lxqt-base/lxqt-sudo/lxqt-sudo-1.2.0.ebuild b/lxqt-base/lxqt-sudo/lxqt-sudo-1.2.0.ebuild index 6a99c7f16e21..f13d255073b2 100644 --- a/lxqt-base/lxqt-sudo/lxqt-sudo-1.2.0.ebuild +++ b/lxqt-base/lxqt-sudo/lxqt-sudo-1.2.0.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} = *9999* ]]; then EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" else SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" fi LICENSE="LGPL-2.1 LGPL-2.1+" diff --git a/media-libs/exempi/exempi-2.6.2.ebuild b/media-libs/exempi/exempi-2.6.2.ebuild index 1adde8f42473..b05fb27aba5c 100644 --- a/media-libs/exempi/exempi-2.6.2.ebuild +++ b/media-libs/exempi/exempi-2.6.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://libopenraw.freedesktop.org/download/${P}.tar.bz2" LICENSE="BSD" SLOT="2/8" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="examples test" RESTRICT="!test? ( test )" diff --git a/media-libs/ftgl/ftgl-2.1.3_rc5-r1.ebuild b/media-libs/ftgl/ftgl-2.1.3_rc5-r1.ebuild index 7421ddac0cc2..6cb72f040c0d 100644 --- a/media-libs/ftgl/ftgl-2.1.3_rc5-r1.ebuild +++ b/media-libs/ftgl/ftgl-2.1.3_rc5-r1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P2}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="static-libs" DEPEND=" diff --git a/media-libs/libcaca/libcaca-0.99_beta19-r11.ebuild b/media-libs/libcaca/libcaca-0.99_beta19-r11.ebuild index 9466208ef8c1..fe075d869285 100644 --- a/media-libs/libcaca/libcaca-0.99_beta19-r11.ebuild +++ b/media-libs/libcaca/libcaca-0.99_beta19-r11.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/all/${MY_P}" LICENSE="GPL-2 ISC LGPL-2.1 WTFPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="doc imlib ncurses opengl ruby slang static-libs test truetype X" RESTRICT="!test? ( test )" diff --git a/media-libs/libid3tag/libid3tag-0.16.2.ebuild b/media-libs/libid3tag/libid3tag-0.16.2.ebuild index 73dffcd28726..4dfc92fb0e8e 100644 --- a/media-libs/libid3tag/libid3tag-0.16.2.ebuild +++ b/media-libs/libid3tag/libid3tag-0.16.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/tenacityteam/libid3tag/archive/refs/tags/${PV}.tar.g LICENSE="GPL-2" SLOT="0/${PV}" # SOVERSION = ${CMAKE_PROJECT_VERSION} in CMakeLists.txt -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND}" diff --git a/media-libs/tremor/tremor-0_pre20130223-r3.ebuild b/media-libs/tremor/tremor-0_pre20130223-r3.ebuild index d8cd973750b8..f14f616db6df 100644 --- a/media-libs/tremor/tremor-0_pre20130223-r3.ebuild +++ b/media-libs/tremor/tremor-0_pre20130223-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~ssuominen/${P}.tar.xz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" IUSE="low-accuracy" RDEPEND=">=media-libs/libogg-1.3.0:=[${MULTILIB_USEDEP}]" diff --git a/media-libs/xvid/xvid-1.3.7-r1.ebuild b/media-libs/xvid/xvid-1.3.7-r1.ebuild index 7d16863774be..511526ac26c4 100644 --- a/media-libs/xvid/xvid-1.3.7-r1.ebuild +++ b/media-libs/xvid/xvid-1.3.7-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://downloads.xvid.com/downloads/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" IUSE="examples pic" NASM=">=dev-lang/nasm-2" diff --git a/media-libs/zimg/zimg-3.0.4.ebuild b/media-libs/zimg/zimg-3.0.4.ebuild index fc89c481adb6..606c8de67ea9 100644 --- a/media-libs/zimg/zimg-3.0.4.ebuild +++ b/media-libs/zimg/zimg-3.0.4.ebuild @@ -8,7 +8,7 @@ if [[ ${PV} = *9999* ]] ; then inherit git-r3 else SRC_URI="https://github.com/sekrit-twc/zimg/archive/release-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" S="${WORKDIR}/${PN}-release-${PV}/" fi inherit autotools multilib-minimal diff --git a/media-libs/zvbi/zvbi-0.2.35-r2.ebuild b/media-libs/zvbi/zvbi-0.2.35-r2.ebuild index f997d73c6a1e..61d0b752971a 100644 --- a/media-libs/zvbi/zvbi-0.2.35-r2.ebuild +++ b/media-libs/zvbi/zvbi-0.2.35-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/zapping/${PN}/${PV}/${P}.tar.bz2" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" IUSE="doc dvb nls v4l X" RDEPEND=">=media-libs/libpng-1.5.18:0=[${MULTILIB_USEDEP}] diff --git a/media-sound/pavucontrol-qt/pavucontrol-qt-1.2.0.ebuild b/media-sound/pavucontrol-qt/pavucontrol-qt-1.2.0.ebuild index fcdb32fd8529..51afad9dcd74 100644 --- a/media-sound/pavucontrol-qt/pavucontrol-qt-1.2.0.ebuild +++ b/media-sound/pavucontrol-qt/pavucontrol-qt-1.2.0.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} = *9999* ]]; then EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" else SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~x86" fi LICENSE="GPL-2 GPL-2+" diff --git a/net-analyzer/net-snmp/net-snmp-5.9.3.ebuild b/net-analyzer/net-snmp/net-snmp-5.9.3.ebuild index cb44c78a2d02..c5817c51719d 100644 --- a/net-analyzer/net-snmp/net-snmp-5.9.3.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.9.3.ebuild @@ -20,7 +20,7 @@ else # https://github.com/net-snmp/net-snmp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi SRC_URI+=" https://dev.gentoo.org/~jsmolic/distfiles/${PN}-5.7.3-patches-3.tar.xz" diff --git a/net-dns/bind-tools/bind-tools-9.16.33.ebuild b/net-dns/bind-tools/bind-tools-9.16.33.ebuild index 013e0effc4ca..9fac2b5c984e 100644 --- a/net-dns/bind-tools/bind-tools-9.16.33.ebuild +++ b/net-dns/bind-tools/bind-tools-9.16.33.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://downloads.isc.org/isc/bind9/${PV}/${MY_P}.tar.xz" LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="+caps doc gssapi idn libedit readline test xml" # no PKCS11 currently as it requires OpenSSL to be patched, also see bug #409687 RESTRICT="!test? ( test )" diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild index 235a23c61ff1..9f7bce158c18 100644 --- a/net-firewall/nftables/nftables-1.0.5.ebuild +++ b/net-firewall/nftables/nftables-1.0.5.ebuild @@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then else SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2 verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )" - KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" + KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )" fi diff --git a/net-fs/libnfs/libnfs-5.0.2.ebuild b/net-fs/libnfs/libnfs-5.0.2.ebuild index 53f66519cca6..cb3adf3e648f 100644 --- a/net-fs/libnfs/libnfs-5.0.2.ebuild +++ b/net-fs/libnfs/libnfs-5.0.2.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/sahlberg/${PN}/archive/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 x86" S="${WORKDIR}"/${PN}-${P} fi diff --git a/net-libs/libnftnl/libnftnl-1.2.4.ebuild b/net-libs/libnftnl/libnftnl-1.2.4.ebuild index e2640d03be0d..bf22ae3888ce 100644 --- a/net-libs/libnftnl/libnftnl-1.2.4.ebuild +++ b/net-libs/libnftnl/libnftnl-1.2.4.ebuild @@ -17,7 +17,7 @@ else https://netfilter.org/projects/${PN}/files/${P}.tar.bz2 verify-sig? ( https://netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig ) " - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )" fi diff --git a/net-misc/libteam/libteam-1.31-r1.ebuild b/net-misc/libteam/libteam-1.31-r1.ebuild index 11ec2522cd21..553f8a920da5 100644 --- a/net-misc/libteam/libteam-1.31-r1.ebuild +++ b/net-misc/libteam/libteam-1.31-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/jpirko/libteam/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv x86" + KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv x86" fi DESCRIPTION="Library and tools set for controlling team network device" diff --git a/profiles/arch/loong/package.use.mask b/profiles/arch/loong/package.use.mask index 29f4d02ab808..d794d69f6bc4 100644 --- a/profiles/arch/loong/package.use.mask +++ b/profiles/arch/loong/package.use.mask @@ -1,6 +1,11 @@ # Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# WANG Xuerui <xen0n@gentoo.org> (2022-11-18) +# net-libs/webkit-gtk is not available on loong yet. +app-text/atril epub +mate-base/mate help + # Ionen Wolkens <ionen@gentoo.org> (2022-11-04) # media-libs/libffado is not keyworded here yet. media-sound/jack2 ieee1394 diff --git a/profiles/arch/loong/use.mask b/profiles/arch/loong/use.mask index 6a42ac4a2a32..1440498b9f38 100644 --- a/profiles/arch/loong/use.mask +++ b/profiles/arch/loong/use.mask @@ -1,6 +1,10 @@ # Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# WANG Xuerui <xen0n@gentoo.org> (2022-11-18) +# net-libs/webkit-gtk is not available on loong yet. +webkit + # WANG Xuerui <xen0n@gentoo.org> (2022-11-01) # qtwebengine isn't available on loong yet webengine diff --git a/sci-biology/tree-puzzle/files/tree-puzzle-5.2-C99-decls.patch b/sci-biology/tree-puzzle/files/tree-puzzle-5.2-C99-decls.patch new file mode 100644 index 000000000000..98456c0dacc1 --- /dev/null +++ b/sci-biology/tree-puzzle/files/tree-puzzle-5.2-C99-decls.patch @@ -0,0 +1,360 @@ +--- a/src/consensus.c ++++ b/src/consensus.c +@@ -32,7 +32,7 @@ + /******************************************************************************/ + + /* prepare for consensus tree analysis */ +-void initconsensus() ++void initconsensus(void) + { + # if ! PARALLEL + biparts = new_cmatrix(Maxspc-3, Maxspc); +--- a/src/consensus.h ++++ b/src/consensus.h +@@ -65,7 +65,7 @@ + /******************************************************************************/ + + /* prepare for consensus tree analysis */ +-void initconsensus(); ++void initconsensus(void); + + /* recursive function to get bipartitions */ + /* traversal should be optimazable (HAS) */ +--- a/src/ml1.c ++++ b/src/ml1.c +@@ -244,7 +244,7 @@ + /***************************** exported functions *****************************/ + + +-void evaluateseqs() ++void evaluateseqs(void) + { + ivector ali; + +@@ -1018,7 +1018,7 @@ + + + /* compute 1 PAM rate matrix, its eigensystem, and the inverse matrix thereof */ +-void tranprobmat() ++void tranprobmat(void) + { + eigensystem(Eval, Evec); /* eigensystem of 1 PAM rate matrix */ + luinverse(Evec, Ievc, tpmradix); /* inverse eigenvectors are in Ievc */ +@@ -1324,7 +1324,7 @@ + + + /* initialize distance matrix */ +-void initdistan() ++void initdistan(void) + { + int i, j, k, diff, x, y; + double obs, temp; +@@ -1478,7 +1478,7 @@ + + #else /* not PARALLEL */ + +-void computedistan() ++void computedistan(void) + { + int i, j; + +--- a/src/ml2.c ++++ b/src/ml2.c +@@ -1036,7 +1036,7 @@ + + + /* preparation for ML analysis */ +-void mlstart() ++void mlstart(void) + { + /* number of states and code length */ + tpmradix = gettpmradix(); +@@ -1098,7 +1098,7 @@ + + + /* cleanup after ML analysis */ +-void mlfinish() ++void mlfinish(void) + { + if (Ctree != NULL) + free_tree(Ctree, Numspc); +@@ -1566,7 +1566,7 @@ + int bestratefound, + int ncats) /* numcats */ + #endif +-void findbestratecombination() ++void findbestratecombination(void) + { + int k, u; + double bestvalue, fv2; +@@ -2147,7 +2147,7 @@ + } /* clock_lklhd */ + + /* find out the edge containing the root */ +-int findrootedge() ++int findrootedge(void) + { + int e, ebest; + double logbest, logtest; +--- a/src/mlparam.c ++++ b/src/mlparam.c +@@ -70,7 +70,7 @@ + } + + /* compute rates of each category when rates are Gamma-distributed */ +-void updaterates() ++void updaterates(void) + { + int i; + double alpha; +@@ -190,7 +190,7 @@ + } + + /* estimate substitution process parameters - random quartets */ +-void optimseqevolparamsquart() ++void optimseqevolparamsquart(void) + { + double tsmeanold, yrmeanold; + dvector tslist, yrlist; +@@ -320,7 +320,7 @@ + + + /* optimize substitution process parameters - tree */ +-void optimseqevolparamstree() ++void optimseqevolparamstree(void) + { + twodimenmin(EPSILON_SUBSTPARAM, + (SH_optn || nuc_optn) && optim_optn && (data_optn == 0), +@@ -379,7 +379,7 @@ + + + /* optimize rate heterogeneity parameters */ +-void optimrateparams() ++void optimrateparams(void) + { + twodimenmin(EPSILON_RATEPARAM, + fracinv_optim, +@@ -396,7 +396,7 @@ + + /* estimate parameters of substitution process and rate heterogeneity - no tree + n-taxon tree is not needed because of quartet method or NJ tree topology */ +-void estimateparametersnotree() ++void estimateparametersnotree(void) + { + int it, nump, change; + double TSold, YRold, FIold, GEold; +@@ -495,7 +495,7 @@ + + /* estimate parameters of substitution process and rate heterogeneity - tree + same as above but here the n-taxon tree is already in memory */ +-void estimateparameterstree() ++void estimateparameterstree(void) + { + int it, nump, change; + double TSold, YRold, FIold, GEold; +--- a/src/model1.c ++++ b/src/model1.c +@@ -31,7 +31,7 @@ + #include "ml.h" + + /* number of states of the selected model */ +-int gettpmradix() ++int gettpmradix(void) + { + if (data_optn == 0) { /* nucleotides */ + if (nuc_optn) return 4; +--- a/src/puzzle1.c ++++ b/src/puzzle1.c +@@ -345,7 +345,7 @@ + /******************************************************************************/ + + /* compute TN parameters according to F84 Ts/Tv ratio */ +-void makeF84model() ++void makeF84model(void) + { + double rho, piA, piC, piG, piT, piR, piY, ts, yr; + +@@ -390,7 +390,7 @@ + } /* makeF84model */ + + /* compute number of quartets used in LM analysis */ +-void compnumqts() ++void compnumqts(void) + { + if (lmqts == 0) { + if (numclust == 4) +@@ -407,7 +407,7 @@ + } /* compnumqts */ + + /* set options interactively */ +-void setoptions() ++void setoptions(void) + { + int i, valid; + double sumfreq; +@@ -1718,7 +1718,7 @@ + } /* closefile */ + + /* symmetrize doublet frequencies */ +-void symdoublets() ++void symdoublets(void) + { + int i, imean; + double mean; +@@ -1769,7 +1769,7 @@ + } /* symdoublets */ + + /* show Ts/Tv ratio and Ts Y/R ratio */ +-void computeexpectations() ++void computeexpectations(void) + { + double AlphaYBeta, AlphaRBeta, piR, piY, num, denom, pyr, pur; + +@@ -4604,7 +4604,7 @@ + /* Reconstruct a tree with QP */ + /* (parameter estimation already done) */ + +-void recon_tree() ++void recon_tree(void) + { + int i; + unsigned char tmpweight; +@@ -4848,7 +4848,7 @@ + + /***************************************************************/ + +-void map_lklhd() ++void map_lklhd(void) + { + int i, a, a1, a2, b, b1, b2, c, c1, c2, d; + uli nq; +@@ -5101,7 +5101,7 @@ + + /***************************************************************/ + +-void setdefaults() { ++void setdefaults(void) { + + strcpy(INFILE, INFILEDEFAULT); + strcpy(OUTFILE, OUTFILEDEFAULT); +@@ -6027,7 +6027,7 @@ + + /***************************************************************/ + +-void memcleanup() { ++void memcleanup(void) { + if (puzzlemode == QUARTPUZ && typ_optn == TREERECON_OPTN) { + free(splitfreqs); + free(splitpatterns); +--- a/src/puzzle2.c ++++ b/src/puzzle2.c +@@ -860,7 +860,7 @@ + + + /* estimate mean base frequencies from translated data set */ +-void estimatebasefreqs() ++void estimatebasefreqs(void) + { + int tpmradix, i, j; + uli all, *gene; +@@ -903,7 +903,7 @@ + + + /* guess model of substitution */ +-void guessmodel() ++void guessmodel(void) + { + double c1, c2, c3, c4, c5, c6; + dvector f; +@@ -1160,7 +1160,7 @@ + } /* callocquartets */ + + /* free quartet memory */ +-void freequartets() ++void freequartets(void) + { + free(quartetinfo); + } /* freequartets */ +@@ -1357,7 +1357,7 @@ + /*************************/ + + /* checks out all possible quartets */ +-void computeallquartets() ++void computeallquartets(void) + { + double onethird; + uli nq; +--- a/src/sprng/makeseed.c ++++ b/src/sprng/makeseed.c +@@ -1,10 +1,6 @@ + #include <time.h> + +-#ifdef __STDC__ +-int make_new_seed() +-#else +-int make_new_seed() +-#endif ++int make_new_seed(void) + { + time_t tp; + struct tm *temp; +--- a/src/sprng/primes-lcg64.c ++++ b/src/sprng/primes-lcg64.c +@@ -1,5 +1,6 @@ + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include "primes-lcg64.h" + #include "primelist-lcg64.h" + +--- a/src/treesort.c ++++ b/src/treesort.c +@@ -487,7 +487,7 @@ + /**********/ + + /* malloc new tree list item */ +-treelistitemtype *gettreelistitem() ++treelistitemtype *gettreelistitem(void) + { + treelistitemtype *tmpptr; + tmpptr = (treelistitemtype *)calloc((size_t) 1, sizeof(treelistitemtype)); +--- a/src/treesort.h ++++ b/src/treesort.h +@@ -84,7 +84,7 @@ + /**********/ + + /* allocate memory for ctree 3 ints pointer plus 1 check byte */ +-int *initctree(); ++int *initctree(void); + + /**********/ + +@@ -174,7 +174,7 @@ + /**********/ + + /* malloc new tree list item */ +-treelistitemtype *gettreelistitem(); ++treelistitemtype *gettreelistitem(void); + + /**********/ + +--- a/src/util.c ++++ b/src/util.c +@@ -507,7 +507,7 @@ + #define EPS 1.2e-7 + #define RNMX (1.0-EPS) + +-double randomunitintervall() ++double randomunitintervall(void) + /* Long period (> 2e18) random number generator. Returns a uniform random + deviate between 0.0 and 1.0 (exclusive of endpoint values). + +@@ -734,7 +734,7 @@ + /* Reads characters from stdin until a newline character or EOF + is received. The newline is not made part of the string. + If an error occurs a null string \0 is returned */ +-cvector mygets() ++cvector mygets(void) + { + int c, n; + cvector str; diff --git a/sci-biology/tree-puzzle/files/tree-puzzle-impl-dec.patch b/sci-biology/tree-puzzle/files/tree-puzzle-impl-dec.patch deleted file mode 100644 index 93b960f5c2b4..000000000000 --- a/sci-biology/tree-puzzle/files/tree-puzzle-impl-dec.patch +++ /dev/null @@ -1,14 +0,0 @@ - src/sprng/primes-lcg64.c | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -diff --git a/src/sprng/primes-lcg64.c b/src/sprng/primes-lcg64.c -index 8e5a7c9..fb04373 100644 ---- a/src/sprng/primes-lcg64.c -+++ b/src/sprng/primes-lcg64.c -@@ -1,5 +1,6 @@ - #include <stdio.h> - #include <stdlib.h> -+#include <string.h> - #include "primes-lcg64.h" - #include "primelist-lcg64.h" - diff --git a/sci-biology/tree-puzzle/tree-puzzle-5.2.ebuild b/sci-biology/tree-puzzle/tree-puzzle-5.2.ebuild index e5093420d6a8..b5e8e3931220 100644 --- a/sci-biology/tree-puzzle/tree-puzzle-5.2.ebuild +++ b/sci-biology/tree-puzzle/tree-puzzle-5.2.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit autotools + DESCRIPTION="Maximum likelihood analysis for nucleotide, amino acid, and two-state data" HOMEPAGE="http://www.tree-puzzle.de" SRC_URI="http://www.tree-puzzle.de/${P}.tar.gz" @@ -17,10 +19,15 @@ DEPEND="mpi? ( virtual/mpi )" RDEPEND="${DEPEND}" PATCHES=( - "${FILESDIR}"/${PN}-impl-dec.patch + "${FILESDIR}"/${P}-C99-decls.patch "${FILESDIR}"/${P}-MPI-3.0.patch ) +src_prepare() { + default + eautoreconf +} + src_configure() { default diff --git a/sci-libs/coinor-cbc/coinor-cbc-2.10.5.ebuild b/sci-libs/coinor-cbc/coinor-cbc-2.10.5.ebuild index 694d822204fe..d0e71175464c 100644 --- a/sci-libs/coinor-cbc/coinor-cbc-2.10.5.ebuild +++ b/sci-libs/coinor-cbc/coinor-cbc-2.10.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ LICENSE="EPL-1.0" # major soname component SLOT="0/3" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~loong ~x86 ~amd64-linux ~x86-linux" IUSE="doc examples static-libs test" RESTRICT="!test? ( test )" diff --git a/sci-libs/coinor-cgl/coinor-cgl-0.60.3.ebuild b/sci-libs/coinor-cgl/coinor-cgl-0.60.3.ebuild index eba0819dcc2a..a881ef94f0ae 100644 --- a/sci-libs/coinor-cgl/coinor-cgl-0.60.3.ebuild +++ b/sci-libs/coinor-cgl/coinor-cgl-0.60.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ LICENSE="EPL-1.0" # major soname component SLOT="0/1" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~loong ~x86 ~amd64-linux ~x86-linux" IUSE="doc examples static-libs test" RESTRICT="!test? ( test )" diff --git a/sci-libs/coinor-clp/coinor-clp-1.17.6-r1.ebuild b/sci-libs/coinor-clp/coinor-clp-1.17.6-r1.ebuild index 0017e5702100..1eb73cf6e431 100644 --- a/sci-libs/coinor-clp/coinor-clp-1.17.6-r1.ebuild +++ b/sci-libs/coinor-clp/coinor-clp-1.17.6-r1.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" LICENSE="EPL-1.0" SLOT="0/1" # major soname component -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~loong ~x86 ~amd64-linux ~x86-linux" IUSE="examples glpk metis mpi mumps sparse static-libs test" REQUIRED_USE="mpi? ( mumps )" RESTRICT="!test? ( test )" diff --git a/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild b/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild index b36ea7976c84..f6fac58666ea 100644 --- a/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild +++ b/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ LICENSE="EPL-1.0" # major soname component SLOT="0/1" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~loong ~x86 ~amd64-linux ~x86-linux" IUSE="doc examples static-libs test" RESTRICT="!test? ( test )" diff --git a/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild b/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild index 6abaee7ca4e8..6b22c78bf287 100644 --- a/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild +++ b/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ S="${WORKDIR}/CoinMP-releases-${PV}/CoinMP" LICENSE="CPL-1.0" SLOT="0/1" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~loong ~x86 ~amd64-linux ~x86-linux" RDEPEND=" sci-libs/coinor-cbc:= diff --git a/sci-libs/coinor-osi/coinor-osi-0.108.6.ebuild b/sci-libs/coinor-osi/coinor-osi-0.108.6.ebuild index 12ba5bd95a6c..ea73dded5732 100644 --- a/sci-libs/coinor-osi/coinor-osi-0.108.6.ebuild +++ b/sci-libs/coinor-osi/coinor-osi-0.108.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ LICENSE="EPL-1.0" # major soname component SLOT="0/1" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~loong ~x86 ~amd64-linux ~x86-linux" # No USE=glpk because upstream only supports an ancient version of it. The # following issues were all closed by... documenting that it doesn't work: diff --git a/sci-libs/coinor-sample/coinor-sample-1.2.12.ebuild b/sci-libs/coinor-sample/coinor-sample-1.2.12.ebuild index 58c9923f0977..d35fcf1e642e 100644 --- a/sci-libs/coinor-sample/coinor-sample-1.2.12.ebuild +++ b/sci-libs/coinor-sample/coinor-sample-1.2.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/coin-or-tools/Data-Sample/" SRC_URI="https://github.com/coin-or-tools/${MY_PN}/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="EPL-1.0" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~loong ~x86 ~amd64-linux ~x86-linux" IUSE="" S="${WORKDIR}/${MY_PN}-releases-${PV}" diff --git a/sci-libs/coinor-utils/coinor-utils-2.11.4.ebuild b/sci-libs/coinor-utils/coinor-utils-2.11.4.ebuild index d969f9d022ed..3053fcfbdc11 100644 --- a/sci-libs/coinor-utils/coinor-utils-2.11.4.ebuild +++ b/sci-libs/coinor-utils/coinor-utils-2.11.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ LICENSE="EPL-1.0" # major soname component SLOT="0/3" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~loong ~x86 ~amd64-linux ~x86-linux" IUSE="bzip2 doc glpk blas lapack static-libs test zlib" RESTRICT="!test? ( test )" diff --git a/sci-libs/coinor-vol/coinor-vol-1.5.4.ebuild b/sci-libs/coinor-vol/coinor-vol-1.5.4.ebuild index 5ea2c976d627..8333434bbc1e 100644 --- a/sci-libs/coinor-vol/coinor-vol-1.5.4.ebuild +++ b/sci-libs/coinor-vol/coinor-vol-1.5.4.ebuild @@ -14,7 +14,7 @@ LICENSE="EPL-1.0" # major soname component SLOT="0/1" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~loong ~x86 ~amd64-linux ~x86-linux" IUSE="doc examples static-libs test" RESTRICT="!test? ( test )" diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml index d3c86b396324..0d6c94a9258a 100644 --- a/sci-libs/dealii/metadata.xml +++ b/sci-libs/dealii/metadata.xml @@ -32,7 +32,7 @@ <flag name="symengine">Add support for symengine (<pkg>sci-libs/symengine</pkg>)</flag> <flag name="trilinos">Add support for trilinos (<pkg>sci-libs/trilinos</pkg>)</flag> <flag name="assimp">Add support for assimp (<pkg>media-libs/assimp</pkg>)</flag> - <flag name="cuda">Add support for cuda (<pkg>dev-util/nvidia-cuda-sdk</pkg>)</flag> + <flag name="cuda">Add support for cuda (<pkg>dev-util/nvidia-cuda-toolkit</pkg>)</flag> <flag name="ginkgo">Add support for ginkgo (<pkg>sci-libs/ginkgo</pkg>)</flag> <flag name="sundials">Add support for sundials (<pkg>sci-libs/sundials</pkg>)</flag> </use> diff --git a/sci-libs/ginkgo/metadata.xml b/sci-libs/ginkgo/metadata.xml index 56c6a1d71fc6..8c638bee8543 100644 --- a/sci-libs/ginkgo/metadata.xml +++ b/sci-libs/ginkgo/metadata.xml @@ -15,7 +15,7 @@ implemented using modern C++, with GPU kernels implemented in CUDA. </longdescription> <use> - <flag name="cuda">Add support for cuda assimp (<pkg>dev-util/nvidia-cuda-sdk</pkg>)</flag> + <flag name="cuda">Add support for cuda assimp (<pkg>dev-util/nvidia-cuda-toolkit</pkg>)</flag> <flag name="hwloc">Add support for hwloc (<pkg>sys-apps/hwloc</pkg>)</flag> </use> <upstream> diff --git a/sys-apps/usbredir/usbredir-0.13.0.ebuild b/sys-apps/usbredir/usbredir-0.13.0.ebuild index b7868dee014e..b36d0d8391ef 100644 --- a/sys-apps/usbredir/usbredir-0.13.0.ebuild +++ b/sys-apps/usbredir/usbredir-0.13.0.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}"/usbredir-${P} LICENSE="GPL-2 LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" DEPEND="dev-libs/glib:2 virtual/libusb:1" |