diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-01-27 07:11:32 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-01-27 07:11:32 +0000 |
commit | fa8ee94426746d8a20944f1a31703d0b54e3d8d5 (patch) | |
tree | ad34e669ac0a01cc4caf495d436631e12941392b /dev-util | |
parent | media-gfx/nvidia-cg-toolkit: Drop old (diff) | |
download | historical-fa8ee94426746d8a20944f1a31703d0b54e3d8d5.tar.gz historical-fa8ee94426746d8a20944f1a31703d0b54e3d8d5.tar.bz2 historical-fa8ee94426746d8a20944f1a31703d0b54e3d8d5.zip |
dev-util/nvidia-cuda-toolkit: Drop old
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'dev-util')
6 files changed, 21 insertions, 568 deletions
diff --git a/dev-util/nvidia-cuda-toolkit/ChangeLog b/dev-util/nvidia-cuda-toolkit/ChangeLog index 253178e5fa38..65c6248bd4a8 100644 --- a/dev-util/nvidia-cuda-toolkit/ChangeLog +++ b/dev-util/nvidia-cuda-toolkit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/nvidia-cuda-toolkit # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.77 2014/01/26 11:42:43 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.78 2014/01/27 07:11:31 jlec Exp $ + + 27 Jan 2014; Justin Lecher <jlec@gentoo.org> + -nvidia-cuda-toolkit-4.2.9-r3.ebuild, -nvidia-cuda-toolkit-5.0.35-r2.ebuild, + -nvidia-cuda-toolkit-5.0.35-r3.ebuild, -nvidia-cuda-toolkit-5.0.35-r4.ebuild: + Drop old 26 Jan 2014; Agostino Sarubbo <ago@gentoo.org> nvidia-cuda-toolkit-5.5.22.ebuild: diff --git a/dev-util/nvidia-cuda-toolkit/Manifest b/dev-util/nvidia-cuda-toolkit/Manifest index b8fd26f8cbbb..dbe942bd6d7e 100644 --- a/dev-util/nvidia-cuda-toolkit/Manifest +++ b/dev-util/nvidia-cuda-toolkit/Manifest @@ -1,35 +1,29 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA512 AUX cuda-config.in 406 SHA256 7271463891ff75dd83f4cb42bb3004d3204243d0e38f9cbd5b4ec4560865496a SHA512 df6d16bd2e800868bdf8401b6f82a387b701ea297ddf6e8feb0daf5222e62a33f156e5f45cf1ee4e1aa51559dfbd56b897c257dae1bb9568e839bf806bfebd5b WHIRLPOOL 4a26ee11d97676827cb01644891fdca495c3373585ddfbb5fab9f988186da384f27482c4be9e27d834036ffa87f7ee19f9ad7da2d8536babe874dda4ff991147 -DIST cuda_5.0.35_linux_32_fedora16-1.run 583244929 SHA256 11927b4c0fb23dbf98457b852914b8458ef41cc1b7ea67bce892f2cc6a77d34e SHA512 d1cda0d53fdc86ac6412c5c92a16efd761d3f15f08878e1aa1c17bdf3bad824a0cebb5c211ad89b8dd15a439eddd0f93efe82ed0850dc93adcd3dab529f6daca WHIRLPOOL 11bc905a4a63171009569d6655b40f0d49034f71c0a93a83e1b656e91a4250c813e0a16fdfda87e9fbe4d250a312beb0c9ad073bfb0420fb4e06fdd26faf3cc9 -DIST cuda_5.0.35_linux_64_fedora16-1.run 701310481 SHA256 c2889c779215eea1c3cc6d4b092eb4208b7e1063704b6e5e8d48d04e961c3c0a SHA512 83903587d1715dd3a64db6bd676c0586edb81495da1bec22aac9995de31ca0b0db2460cccf4af0845befe0cee308ab019760c3c88eb351b6db0f255f7d93e546 WHIRLPOOL 33b998c66ebfa059d77eedb6b8465183f5ef4444ed5fe55f622efe6a2eeeef8e50e2cb09b0de4e61e15b5320495123ce46e1b47fc4cbbe96f3bde0ac93ff5dbc DIST cuda_5.5.22_linux_32.run 686412076 SHA256 0e7aad303807bb0ede8f6f6e825cfcd0f9ddb677bc8cc898ec38990b8226778d SHA512 e2e4fbc78c2e6373b3f81778d8044b299429459e8e27632e86c0d97e6fe7f4db7cd5652044beb0ce7ee3c7abaa7dcec7d85639a2de4b9cc213ab52a2d204aa6b WHIRLPOOL e5df7de03aaec8488a7fa093e272d64b5d3adaedca1458c550d4ae9c6bf2a0ead71496c8a0c9aac966500aa01401e95cc57a951e3a2554e8d823b97c10336850 DIST cuda_5.5.22_linux_64.run 849417929 SHA256 b997e1dbe95704e0e806e0cedc5fd370a385351fef565c7bae0917baf3a29aa4 SHA512 25233b34a35fdb5ee3479a87c89484a00dcd760837436c263c3eb8731cbd24a9ed3fb57ce2d4e5bf7cd31abb9b0d990b45720a5f6a376b2488de4506a7c57c20 WHIRLPOOL 550594121a53feae4e74a4dc9ba40c4cd2ac91305f23397cd7ea421fcb801e3ce8fcf90f439c966accca44d586bc51d85ef3e211f35fd751dc9299dd07d65175 DIST cudatoolkit_4.2.9_linux_32_ubuntu11.04.run 209998124 SHA256 0c91d51e49c7cabc13fafa75cbf547c6902557cb5c3e19b4cf3c83c26172a03f SHA512 f1ca065e9cbe6273f165388d3579e28868c7b1330b341cabab9fdd6695fd3450dd8c77978a5aa3063617b371c68c37661b4f2d8fcbc4e585bb508254bef064ef WHIRLPOOL 9cbb668a1fba9748c0a42ce9a93ba0e7ff592c48155b0d87c22999f90aea29fc02120febcf4b07b8bd1ded96ca057ca0450261ea30ffdf5076e0991b10474a18 DIST cudatoolkit_4.2.9_linux_64_ubuntu11.04.run 282394341 SHA256 22d857db6b3831670bc2ca7ed22ac257b6946f68f6e4b6f534ec98b69690ad38 SHA512 3a54c278f486cbc92a7e262f39183c7babca8ab6d04c5f85ff875d3b2bcdd699631049be375fde2a3ba2746bd5ea04ba0149616e245556257c470632b91b4b1c WHIRLPOOL eac55ac70ac986772b4cbd1b76940b41eaca20276ac68e59ccfb5a09eb41de7c023d78dc85392ebfb9e5d36ee7f29e31e0173aeca0b89a510e7c89c087b72f1f EBUILD nvidia-cuda-toolkit-4.2.9-r2.ebuild 3187 SHA256 61938e090be590b47484c8be060c5c952a742c58f3762d423f5a513b72ae700c SHA512 247ea2cbf37814d1c7846058f1d36ab7b324911a3c2e419e86e72a802090e043601bdff4ec605c530d261c62fd3deb6912964e3045243b91e3ececfb0166e12d WHIRLPOOL 061c44843eb893fea46cd60b84d402679a14ea1ad14fcf7a4b962bfaec475c1f18e487537847def33481682b764c9be81f2396da521fe4c3b55cde38c878b9ac -EBUILD nvidia-cuda-toolkit-4.2.9-r3.ebuild 3195 SHA256 8ac4bb608f949dbf2a3eaf569b1444bfdd5db217ed394a8ba2639ed85bf62162 SHA512 5d8302d6329d4b0c01b2201adbfc31c7d83bdc2385b1b6b2a66ddb284da602aebd64fc12d3a3b10e47bc671bd75145c033c423ecce470722cf19fa3ee68dc624 WHIRLPOOL a2adf7de9d765e7442773e3df3894109cbad764c3f8b68a6c18727f69b903869fa88071694196b1f38d150a989f465e87f5708c0d01d941315ac84c3b66ff041 -EBUILD nvidia-cuda-toolkit-5.0.35-r2.ebuild 3234 SHA256 0e0ab3170ea1d0c026947d22a4d256b05ed1a7c846cf1aa0dddee5677d060295 SHA512 df1f4581bdceb8e6ddb2dfb4a327069cce0c56da13f31173e1462d1f1c408035da612056f87704ec673cb988599677db95105f28bb287b24a1f306b06c1ed1ee WHIRLPOOL 8d3b6ad3ce2bf359047cf06a416496cd89868b4769e67d344158fbec95f9bd71969ee6e2ba7202d120fc4350d9db8943c75bfbdeacd51adaf495635665cdf04b -EBUILD nvidia-cuda-toolkit-5.0.35-r3.ebuild 3439 SHA256 f55b65a28422ce1ffbddce4ec24cba53ddf7151126e44af193bbd7549efb2c2a SHA512 493710109f16744fb4ac655e494bdb702e6c0fe80886e9fe3d2c1d5327fc31793290792c4e5544f104d7a2d492623a6eb3338eb1e052abaecf5f9a6c78bb3ea0 WHIRLPOOL c98c20ae3eb41f98148850c4bc89d4a31dd441878e236a60e0b7cfba2007bca260b554957bf514d8f502aa3260b2dc5b0c2726526616812564ebc95f4f544ea9 -EBUILD nvidia-cuda-toolkit-5.0.35-r4.ebuild 3445 SHA256 a00afdf6fe6964f386918f0cd08c5a806844f29f8f01cbb019fec02a33a1ae7c SHA512 d88e43adcd5750e40958fee58d306f33d588b6d151dbf775b59b028c8728a16701a37324e98b4423be15f727312b5b3731fd8678e418d384ed7f5caa0efde901 WHIRLPOOL a1b6a546bebbb77eaaa9e7d88fc4a8490e21ada5413926a6c97a603f20321fbe8f4386d60f0f390782d8cd71d6d0d211b2aaedb267ce696e7ae3d553fd08bcee EBUILD nvidia-cuda-toolkit-5.5.22.ebuild 3452 SHA256 3187945a4e8e7b9c1b022770986da8e47baa99d9125e60c61a9f7848c6b64fd7 SHA512 01853cde04794e455ffec7e6b2f2b838e768b0995325151536cab7eb8f910f76333fd97b00a52eaff20e1aa209ae60c9adb496347a886272f40851a2bc3fc2ad WHIRLPOOL 732d85d098a4a9950147ba8f514d6adb1821973d293b91cbbbc336545742e576f3311fad4a8fdb4256eb227abe4ef5355f2017fcda9450b822ce69f8424d2122 -MISC ChangeLog 14995 SHA256 cb6e708c40036c49fcb876d1f3f28a881a40e6f922b560cc43a31b249a86e63c SHA512 e0a55bc4a1dc34cd9dcc7bbceca88796c30bc11551b1377e9f843d8712e73d4e100ed3ccd1fbbd2297ad380dbf01234773c0931fa62f66cf21c565d81d9b7d99 WHIRLPOOL 9183a0d50cbec089ef2d8f77188a8c715905b8aa17a0068805d05d83e39bfc32f00526313efd9d9ed0630772961ddb95e3d26889807b42501094d26c0e66b43b +MISC ChangeLog 15214 SHA256 d8140f6018466c49b6ac07413c313418d79c03c1869e3479173255ff477d0b78 SHA512 11c5ebc1cb493ebb9bf7e066ab1e8873c8ab444a5fe7bebe9ee7ce32932c52813d2984f21c7e5088b573e8543ff7aafb564ad33b31cb8ba7aa9fe3b256262b2b WHIRLPOOL 43761abe2611f6068ffefdb82e5999010519f1d10e41fb2e85c0baeca5da72ea961513fa74710fa18ef903556f8539e45e8c7de784931cd53b74bf44bbc17d87 MISC metadata.xml 506 SHA256 16d98da28f74ec82ae271f04e456547db8da2a9c576bf262ad897f4a3259fb56 SHA512 c1be2bc00a75ee9db0339938964d80214648df5a6cc16f3d1250f80d3142a1e511750dba34b54794227457db0d1a0f5ca4f692f34b9566ac3f58fef43196626e WHIRLPOOL 02f0c08cb4ab40b543e23c51ae81a7f04e452f3949808bd29a2790c565c2739d131d4d19fc3d4d279381a5ed05ad0623ba560aba82f7a3b510e44f8cf35c6473 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJS5PS0AAoJELp701BxlEWfnXoP/iNJFMBy0p6vBYVmuj3lNnrx -Ob9oF/ZI4tJwKfafp54lIXutSENvfk0rme5hfKuBRUx4EWiFi4OH5GrZiw9DFvr4 -rjk/MuoczpZIt3AdAkDMX30gHUFXo9ZN1ebLPc4nQOkoRMfDAfOV5mE+zoshhfJx -Np22K51uUHymsxtkxCsxag1jWqfiBdEH6squT63iAvPM247aobU7R3jNGVtp963Y -BPVAi6BY9sNTEh5j2Z42vHNl9V2HhF0WKPyWqEWOSWef6zhKEZWbMFtglNysArQD -+9Zy8vfiIj1/ydARo+Ae/TY9+hB6DMajdbmEx/ajNBI2YrTK06Tguc/tW2IgLA0i -MKCdUw3LpcrO6OA+fVHLXEk0Gqy/efzcmVnc6XG6+X0lJmqAIxcRQ4J43fdSwx6O -O230IJjtcn5BRPchbIsaH/yy55EGE0z2PKbaHZknsZM7WCmcVgYsPj7btCHAB4fP -e7YeOgrdnhaUE67W3ej6TrQi2FXc77BLi4wt99vxDQIzlniNsA0NZVzEPk2wqRry -mYYEHD25lwduqsEb2cQi6OsgK/vw8aqOrkyZkSkKavwqK6gpRzqxm3yXFhIF1KV9 -itzYKWMaJe61WsLVexPg+2OndQEqqXtAR46iV+jaOYP1f5zpKMaW0U6s6FKoA1Se -IBM6PwsAciMbAYqkpQS6 -=DMoq +iQIcBAEBCgAGBQJS5gajAAoJELnU8jG9FVirRjMP+wTisJ0y0u40kn7YMXHus+OW +PBf5ukANEdWEVFd2uzxoEz2h+MvnIMoMYSXkrnHql7meYB/rFm1aJ+MrerG9Qohq +iytuwhWWvgXGNu1NZbUGNNFf66rDdAteL9m4Pp+qIGrQQQG30sMZHfZV3JqkJ8vv +5DqaEz0DuQGs9FUNs+CChbXcJqajvuw12XPRazTCj+Jk4ZQ2IJhhvEwq12LaqgMN +6JJaYB+6/EXO3PQN53Bpl3wEJh4zBcFke01Ap4bobYKSLubCGO5/3eoBiPqjbw81 +1d1EIRsBho4Z//1NOq7K2FNUvVR+znxEMZf3pQaEEUseninV4iqTNS2COlpN/WXz +bFVaW+z6INcT6k5w0V4oU7IDSvGJK6n50+SRcwcwwGxkq/uI/hJzrBFsUzmBvule +FlRIWFxaT3kbuLaW7iQbdx9tU+EWFb6cVuiAdXf/7gBnlTyfkTZ+Gti+VUYz4vbA +HsPwZmfh0aXlr5n2YRLtnpnSxbKGgAa70pONuEOJ4vAEpVAQb7L8Q/sE/57Jm9da +CI05uA19wtAyubA36rnrBU5FRZX//eOxjtNOX32h5qtoLLtyguqMHz1xS/lr4l3W +GxFimbFlEFB+SRywN5stPi4+BPdVFhaQG62mb2QNKu/mhnH6zw9zeprFl1m+8pqD +rnwNLf6Vyp0aFQxT3M2v +=DpeK -----END PGP SIGNATURE----- diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r3.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r3.ebuild deleted file mode 100644 index a0d6ebd05d1a..000000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r3.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r3.ebuild,v 1.3 2013/11/26 09:28:44 jlec Exp $ - -EAPI=5 - -inherit cuda unpacker versionator - -MYD=$(get_version_component_range 1)_$(get_version_component_range 2) -DISTRO=ubuntu11.04 - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="http://developer.nvidia.com/cuda" -CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/toolkit" -SRC_URI=" - amd64? ( ${CURI}/cudatoolkit_${PV}_linux_64_${DISTRO}.run ) - x86? ( ${CURI}/cudatoolkit_${PV}_linux_32_${DISTRO}.run )" - -SLOT="0/${PV}" -LICENSE="NVIDIA-CUDA" -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debugger doc eclipse profiler" - -DEPEND="" -RDEPEND="${DEPEND} - || ( - sys-devel/gcc:4.4 - sys-devel/gcc:4.5 - sys-devel/gcc:4.6 - ) - !<=x11-drivers/nvidia-drivers-270.41 - debugger? ( sys-libs/libtermcap-compat ) - profiler? ( >=virtual/jre-1.6 )" - -S="${WORKDIR}" - -QA_PREBUILT="opt/cuda/*" - -pkg_setup() { - # We don't like to run cuda_pkg_setup as it depends on us - : -} - -src_prepare() { - local cuda_supported_gcc dfiles files - - cuda_supported_gcc="4.4 4.5 4.6" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die - - dfiles="install-linux.pl libnvvp/jre run_files" - use amd64 && dfiles+=" cuda-installer.pl" - for files in ${dfiles}; do - if [[ -e ${files} ]]; then - find ${files} -delete || die - fi - done -} - -src_install() { - local i - local remove="doc" - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}"${cudadir} - - if use doc; then - dodoc doc/*{txt,pdf} - dohtml -r doc/{*.html,html} - fi - - use debugger || remove+=" bin/cuda-gdb extras/Debugger" - - if use profiler; then - # hack found in install-linux.pl - cat > bin/nvvp <<- EOF - #!${EPREFIX}bin/sh - LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \ - UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 ${ecudadir}/libnvvp/nvvp - EOF - chmod a+x bin/nvvp - else - use eclipse || remove+=" libnvvp" - remove+=" extras/CUPTI" - fi - - for i in ${remove}; do - if [[ -e ${i} ]]; then - find ${i} -delete || die - fi - done - - dodir ${cudadir} - mv * "${ED}"${cudadir} - - cat > "${T}"/99cuda <<- EOF - PATH=${ecudadir}/bin:${ecudadir}/libnvvp - ROOTPATH=${ecudadir}/bin - LDPATH=${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib") - EOF - doenvd "${T}"/99cuda - - dobin "${T}"/cuda-config -} - -pkg_postinst_check() { - local a b - a="$(version_sort $(cuda-config -s))"; a=( $a ) - # greatest supported version - b=${a[${#a[@]}-1]} - - # if gcc and if not gcc-version is at least greatesst supported - if [[ $(tc-getCC) == *gcc* ]] && \ - ! version_is_at_least $(gcc-version) ${b}; then - echo - 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" - echo - fi -} - -pkg_postinst() { - if [[ ${MERGE_TYPE} != binary ]]; then - pkg_postinst_check - fi -} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r2.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r2.ebuild deleted file mode 100644 index 1b98c3e7abce..000000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r2.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r2.ebuild,v 1.6 2013/11/26 09:28:44 jlec Exp $ - -EAPI=5 - -inherit cuda unpacker versionator - -MYD=$(get_version_component_range 1)_$(get_version_component_range 2) -DISTRO=fedora16-1 - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="http://developer.nvidia.com/cuda" -CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel-update-1/installers/" -SRC_URI=" - amd64? ( ${CURI}/cuda_${PV}_linux_64_${DISTRO}.run ) - x86? ( ${CURI}/cuda_${PV}_linux_32_${DISTRO}.run )" - -SLOT="0" -LICENSE="NVIDIA-CUDA" -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debugger doc eclipse profiler" - -DEPEND="" -RDEPEND="${DEPEND} - sys-devel/gcc:4.6[cxx] - !<=x11-drivers/nvidia-drivers-270.41 - debugger? ( - sys-libs/libtermcap-compat - sys-libs/ncurses[tinfo] - ) - profiler? ( >=virtual/jre-1.6 )" - -S="${WORKDIR}" - -QA_PREBUILT="opt/cuda/*" - -pkg_setup() { - # We don't like to run cuda_pkg_setup as it depends on us - : -} - -src_unpack() { - unpacker - unpacker run_files/cudatoolkit*run -} - -src_prepare() { - local cuda_supported_gcc - - cuda_supported_gcc="4.6" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die - -} - -src_install() { - local i j - local remove="doc jre run_files install-linux.pl " - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}"${cudadir} - - dodoc doc/*txt - if use doc; then - dodoc doc/pdf/* - dohtml -r doc/html/* - fi - - use debugger || remove+=" bin/cuda-gdb extras/Debugger" - use eclipse || remove+=" libnsight" - use amd64 || remove+=" cuda-installer.pl" - - if use profiler; then - # hack found in install-linux.pl - for j in nvpp nsight; do - cat > bin/${i} <<- EOF - #!${EPREFIX}bin/sh - LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \ - UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 ${ecudadir}/libnvvp/${i} - EOF - chmod a+x bin/${i} - done - else - use eclipse || remove+=" libnvvp" - remove+=" extras/CUPTI" - fi - - for i in ${remove}; do - ebegin "Cleaning ${i}..." - if [[ -e ${i} ]]; then - find ${i} -delete || die - eend - else - eend $1 - fi - done - - dodir ${cudadir} - mv * "${ED}"${cudadir} - - cat > "${T}"/99cuda <<- EOF - PATH=${ecudadir}/bin:${ecudadir}/libnvvp - ROOTPATH=${ecudadir}/bin - LDPATH=${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib") - EOF - doenvd "${T}"/99cuda - - dobin "${T}"/cuda-config -} - -pkg_postinst_check() { - local a b - a="$(version_sort $(cuda-config -s))"; a=( $a ) - # greatest supported version - b=${a[${#a[@]}-1]} - - # if gcc and if not gcc-version is at least greatesst supported - if [[ $(tc-getCC) == *gcc* ]] && \ - ! version_is_at_least $(gcc-version) ${b}; then - echo - 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" - echo - fi -} - -pkg_postinst() { - if [[ ${MERGE_TYPE} != binary ]]; then - pkg_postinst_check - fi -} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r3.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r3.ebuild deleted file mode 100644 index 3619f88f408f..000000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r3.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r3.ebuild,v 1.4 2013/11/26 09:28:44 jlec Exp $ - -EAPI=5 - -inherit cuda unpacker versionator - -MYD=$(get_version_component_range 1)_$(get_version_component_range 2) -DISTRO=fedora16-1 - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="http://developer.nvidia.com/cuda" -CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel-update-1/installers/" -SRC_URI=" - amd64? ( ${CURI}/cuda_${PV}_linux_64_${DISTRO}.run ) - x86? ( ${CURI}/cuda_${PV}_linux_32_${DISTRO}.run )" - -SLOT="0" -LICENSE="NVIDIA-CUDA" -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debugger doc eclipse profiler" - -DEPEND="" -RDEPEND="${DEPEND} - sys-devel/gcc:4.6[cxx] - !<=x11-drivers/nvidia-drivers-270.41 - debugger? ( - sys-libs/libtermcap-compat - sys-libs/ncurses[tinfo] - ) - eclipse? ( >=virtual/jre-1.6 ) - profiler? ( >=virtual/jre-1.6 )" - -S="${WORKDIR}" - -QA_PREBUILT="opt/cuda/*" - -pkg_setup() { - # We don't like to run cuda_pkg_setup as it depends on us - : -} - -src_unpack() { - unpacker - unpacker run_files/cudatoolkit*run -} - -src_prepare() { - local cuda_supported_gcc - - cuda_supported_gcc="4.6" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die - -} - -src_install() { - local i j - local remove="doc jre run_files install-linux.pl " - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}"${cudadir} - - dodoc doc/*txt - if use doc; then - dodoc doc/pdf/* - dohtml -r doc/html/* - fi - - use debugger || remove+=" bin/cuda-gdb extras/Debugger" - ( use profiler || use eclipse ) || remove+=" libnsight" - use amd64 || remove+=" cuda-installer.pl" - - if use profiler; then - # hack found in install-linux.pl - for j in nvvp nsight; do - cat > bin/${j} <<- EOF - #!${EPREFIX}/bin/sh - LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \ - UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 \ - ${ecudadir}/lib${j}/${j} -vm ${EPREFIX}/usr/bin/java - EOF - chmod a+x bin/${j} - done - else - use eclipse || remove+=" libnvvp" - remove+=" extras/CUPTI" - fi - - for i in ${remove}; do - ebegin "Cleaning ${i}..." - if [[ -e ${i} ]]; then - find ${i} -delete || die - eend - else - eend $1 - fi - done - - dodir ${cudadir} - mv * "${ED}"${cudadir} - - cat > "${T}"/99cuda <<- EOF - PATH=${ecudadir}/bin:${ecudadir}/libnvvp - ROOTPATH=${ecudadir}/bin - LDPATH=${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib") - EOF - doenvd "${T}"/99cuda - - make_wrapper nvprof "${EPREFIX}"${cudadir}/bin/nvprof "." ${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib") - - dobin "${T}"/cuda-config -} - -pkg_postinst_check() { - local a b - a="$(version_sort $(cuda-config -s))"; a=( $a ) - # greatest supported version - b=${a[${#a[@]}-1]} - - # if gcc and if not gcc-version is at least greatesst supported - if [[ $(tc-getCC) == *gcc* ]] && \ - ! version_is_at_least $(gcc-version) ${b}; then - echo - 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" - echo - fi -} - -pkg_postinst() { - if [[ ${MERGE_TYPE} != binary ]]; then - pkg_postinst_check - fi -} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r4.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r4.ebuild deleted file mode 100644 index 33a3ca802f28..000000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r4.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r4.ebuild,v 1.3 2013/11/26 09:28:44 jlec Exp $ - -EAPI=5 - -inherit cuda unpacker versionator - -MYD=$(get_version_component_range 1)_$(get_version_component_range 2) -DISTRO=fedora16-1 - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="http://developer.nvidia.com/cuda" -CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel-update-1/installers/" -SRC_URI=" - amd64? ( ${CURI}/cuda_${PV}_linux_64_${DISTRO}.run ) - x86? ( ${CURI}/cuda_${PV}_linux_32_${DISTRO}.run )" - -SLOT="0/${PV}" -LICENSE="NVIDIA-CUDA" -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debugger doc eclipse profiler" - -DEPEND="" -RDEPEND="${DEPEND} - sys-devel/gcc:4.6[cxx] - !<=x11-drivers/nvidia-drivers-270.41 - debugger? ( - sys-libs/libtermcap-compat - sys-libs/ncurses[tinfo] - ) - eclipse? ( >=virtual/jre-1.6 ) - profiler? ( >=virtual/jre-1.6 )" - -S="${WORKDIR}" - -QA_PREBUILT="opt/cuda/*" - -pkg_setup() { - # We don't like to run cuda_pkg_setup as it depends on us - : -} - -src_unpack() { - unpacker - unpacker run_files/cudatoolkit*run -} - -src_prepare() { - local cuda_supported_gcc - - cuda_supported_gcc="4.6" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die - -} - -src_install() { - local i j - local remove="doc jre run_files install-linux.pl " - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}"${cudadir} - - dodoc doc/*txt - if use doc; then - dodoc doc/pdf/* - dohtml -r doc/html/* - fi - - use debugger || remove+=" bin/cuda-gdb extras/Debugger" - ( use profiler || use eclipse ) || remove+=" libnsight" - use amd64 || remove+=" cuda-installer.pl" - - if use profiler; then - # hack found in install-linux.pl - for j in nvvp nsight; do - cat > bin/${j} <<- EOF - #!${EPREFIX}/bin/sh - LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \ - UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 \ - ${ecudadir}/lib${j}/${j} -vm ${EPREFIX}/usr/bin/java - EOF - chmod a+x bin/${j} - done - else - use eclipse || remove+=" libnvvp" - remove+=" extras/CUPTI" - fi - - for i in ${remove}; do - ebegin "Cleaning ${i}..." - if [[ -e ${i} ]]; then - find ${i} -delete || die - eend - else - eend $1 - fi - done - - dodir ${cudadir} - mv * "${ED}"${cudadir} - - cat > "${T}"/99cuda <<- EOF - PATH=${ecudadir}/bin:${ecudadir}/libnvvp - ROOTPATH=${ecudadir}/bin - LDPATH=${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib") - EOF - doenvd "${T}"/99cuda - - make_wrapper nvprof "${EPREFIX}"${cudadir}/bin/nvprof "." ${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib") - - dobin "${T}"/cuda-config -} - -pkg_postinst_check() { - local a b - a="$(version_sort $(cuda-config -s))"; a=( $a ) - # greatest supported version - b=${a[${#a[@]}-1]} - - # if gcc and if not gcc-version is at least greatesst supported - if [[ $(tc-getCC) == *gcc* ]] && \ - ! version_is_at_least $(gcc-version) ${b}; then - echo - 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" - echo - fi -} - -pkg_postinst() { - if [[ ${MERGE_TYPE} != binary ]]; then - pkg_postinst_check - fi -} |