summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-08-11 16:19:20 +0000
committerJustin Lecher <jlec@gentoo.org>2013-08-11 16:19:20 +0000
commit92525ea182f0508cd332f728dc7e2f491d73c096 (patch)
tree41f256de58b1e8e22f841af2a06af8ca0e6e4cd4 /dev-util/nvidia-cuda-sdk
parentConvert to multilib. Do not dobin imfexamples, it actually installs a libtool... (diff)
downloadhistorical-92525ea182f0508cd332f728dc7e2f491d73c096.tar.gz
historical-92525ea182f0508cd332f728dc7e2f491d73c096.tar.bz2
historical-92525ea182f0508cd332f728dc7e2f491d73c096.zip
dev-util/nvidia-cuda-sdk: Version Bump, #479374
Package-Manager: portage-2.2.0_alpha196/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'dev-util/nvidia-cuda-sdk')
-rw-r--r--dev-util/nvidia-cuda-sdk/ChangeLog7
-rw-r--r--dev-util/nvidia-cuda-sdk/Manifest33
-rw-r--r--dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-5.5.22.ebuild146
3 files changed, 170 insertions, 16 deletions
diff --git a/dev-util/nvidia-cuda-sdk/ChangeLog b/dev-util/nvidia-cuda-sdk/ChangeLog
index c3297400ea0b..54599eeb9994 100644
--- a/dev-util/nvidia-cuda-sdk/ChangeLog
+++ b/dev-util/nvidia-cuda-sdk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/nvidia-cuda-sdk
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v 1.40 2013/06/26 16:13:04 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v 1.41 2013/08/11 16:19:19 jlec Exp $
+
+*nvidia-cuda-sdk-5.5.22 (11 Aug 2013)
+
+ 11 Aug 2013; Justin Lecher <jlec@gentoo.org> +nvidia-cuda-sdk-5.5.22.ebuild:
+ Version Bump, #479374
26 Jun 2013; Kacper Kowalik <xarthisius@gentoo.org>
-nvidia-cuda-sdk-2.2-r1.ebuild, -nvidia-cuda-sdk-4.2.9-r1.ebuild,
diff --git a/dev-util/nvidia-cuda-sdk/Manifest b/dev-util/nvidia-cuda-sdk/Manifest
index aed792194f7f..e676c1a35e2c 100644
--- a/dev-util/nvidia-cuda-sdk/Manifest
+++ b/dev-util/nvidia-cuda-sdk/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
AUX nvidia-cuda-sdk-2.02.0807.1535-make_cpp_fix.patch 3398 SHA256 1b8038fe9ceef35e29e34a30514d16c0e27066311fd7d16e8953b5deaa01da6c SHA512 240108b83f212a06ad34dca5e7d6dfb0bca957df4f75517d253478b79bf5d43a0605f17581b3830670fdc2e61eab582bdcb16a422ac706728a7979de53c91b5c WHIRLPOOL 092d7c96938cfc091a19c36bddb5147e376781f7bc2c310aeb695b4b8e505e2e4448575b31d9a51f2db5161cb3f19eb6ad769f9ece10f2f80651bd3ce08a40a9
AUX nvidia-cuda-sdk-2.10.1215.2015-vararg_inline_fix.patch 785 SHA256 b685cd8915e45494c0c8c458f607c46d4716deae26442bf62ea9bf8bc3e2e942 SHA512 e877a1dba1c66f5ac881cb2986d70fb03c610f93310b65a09fc582b8baea1715e63266dfbaae91c6cf2c909d9d725032f76604afe3a7634e80c0a63dc451339e WHIRLPOOL 72c3bb42ecff9f5723c5491bd115f29327b5e9ad4119be289c9a914436470fb7b9e0149221623227d00bc0d7e15454672e8f4ff1d86b3aa4a59b8d53fee05907
@@ -7,27 +7,30 @@ AUX nvidia-cuda-sdk-4.2.9-asneeded.patch 3955 SHA256 090855efe5bfda15650aaaf3be8
DIST NVIDIA_CUDA_SDK_2.02.0807.1535_linux.run 41918865 SHA256 5ceb6ac9d973b7d3544ed5ee3c52de40451ca234df587fb93bd3c5b73f5610c4
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 gpucomputingsdk_4.2.9_linux.run 152436489 SHA256 b6a53afcf8f8422b5075aa37cec6730b0b9896d50867ee9105da05d62e95b8bb SHA512 1975f005ebd1520005d0a45ac680c8b49806705b8ed64738366b7166f384a304de3d655a05900b6da1088441024b149a1e963296ef78041c524ecbb1bb5e5315 WHIRLPOOL b8ce1f1f6a54b2d52f2531cfbb46f2a48e0b37f0c1dd898ff6222483afed7ac26c6bc57da31cafb0c30b3636b780ace3e3c679f25c6c4eaa26b0e39da00dcb8f
DIST nvidia-cuda-sdk-5.0.35-asneeded.patch.xz 8892 SHA256 b79db5453350a1149771236e4dbdc4dc1504afd8f19472240c009f51048a27bc SHA512 7797a0ea6b0090e2d452acd644976a950c3b5cb3890073be41021fd3c6c1581a130bc7a8ee2da03131785de8dae6b9f09aff3a01a390ef909508e8c0c55863c8 WHIRLPOOL 0708a2d2eea767a490ce817b70292c2b2e6bfc8e1afb7b2f1bc73a3d170ebbd957a0d5be3a620611bc394cdefc4d37b7e43e2aa83e710396bc083aebc807429c
EBUILD nvidia-cuda-sdk-2.02.0807.1535.ebuild 1699 SHA256 49edb1f4fb13ee4832ca93b941f98fd2a2437dc3a98bda7a6c72442eae47cefe SHA512 f25d32f029e910bff6400cf9b36416200c266fc937676062dbbb883b63eddf5e43735d72ef77e5d13a37f7833a1ea439753477b8e80d07aaf86fe92632c44245 WHIRLPOOL 74d5f4cc23ad3bef82e36a85daf42bbcac99c56cabcf22d355f7202bff4938580867dfd7154e07e819f7d75c89e40693c36710d1c82bb6f57552fdf229fd4cf7
EBUILD nvidia-cuda-sdk-4.2.9-r2.ebuild 2807 SHA256 c07aa0e51964f1e86c24d00ce0a42c483577c0a80c7aa7d0c50c681c1dc84274 SHA512 32cf9f80d801689f583cb81da45043b1459293cdb2c84e4776851f42e6c957592f680c1a1ad225fc743fe04c1be578ac6df47d7b520a24c9881608822bb3c4a6 WHIRLPOOL 51caab3def7f470f6726392192079594d2dd8b1f3641dd3bb4a3ec72cb75f161bb90d32d3261bdbdbe79379afe32f82140c38e0eaa02b5eedacac52ae5d1cc55
EBUILD nvidia-cuda-sdk-5.0.35-r1.ebuild 3739 SHA256 7035f6f74a2a86bfe5814c3358cb493a9d60acfa511e9285d06f84702929ec0b SHA512 d43fe9a05f8bcd513590edbdddf0504116b9c22fc36b993ba5d6b9c269e918053adf239db0bf383f92292431763c497005bab99ce66421e3e4011631672e358d WHIRLPOOL 448be4ca5bbde8bdd5ed8213d475703f2574901fb95fb05da397a10902c5e2130f4a16cad876604d1fb552b7c841bbb6a79d8a6e780db42cf6155c89223f6194
-MISC ChangeLog 8279 SHA256 89b1f03613c4a4539fb703b378903e443f85ba2cca0bd4d6810aa2e8425c3575 SHA512 fb4c6fb52f9c76e0b4944c5501a7de2af82c760897d7118a7820224b50e8d4ee73051721189917fa3b688808e7a60408f6e6bcba0f1eca9ebd010143978f6b47 WHIRLPOOL ddc3249ee858752d2c4b20914570ff066e32b961660b6e655dc9127e90aaacd3374648c9040fdd84f3fe67a1a6de98eb1f06231a00d97e8538b70f2e85efed37
+EBUILD nvidia-cuda-sdk-5.5.22.ebuild 3494 SHA256 0591fbf22bef45050db32b22c681f2576eda5d8d6e3aa8e5bf8751020bf5dba2 SHA512 6cdbc127090d0a82ced64d99cfce8e4787f5ea0b0baecf036900ba0ef6deaab900f7e831a863245f8b22afe83fdab25f342dc5b43dcb412621f1150ad8c73ba8 WHIRLPOOL 57a7e38de78208ca722ec849000f237fafd513047ab5d31b5d0de4ed06ccee9586f846ae1a124bfe8314415d77cdb3b53d9b557af1d8f2432efad2a3ebd622bb
+MISC ChangeLog 8416 SHA256 89fa2e7be3f7ed6e6f193a792571873507ac85d7fa619bce657c857124a843ce SHA512 3000fa1f2bdc5fe3f5a8b114b9d80cdf304b05b231c2b0b520cfa2caacf087eff4ee42bb1b57fce60e6ea5945a3deb5df95b3309c7680e96608d6bc13351de42 WHIRLPOOL 3bcb6c01372b17bc2af8caa1ba36ebc714d7124c462643c7ee8aa8940c770f15f3ebf867cc6a67b20a4954aa5e505f9b7d93d88779681d5fb0bca5c62a26f699
MISC metadata.xml 536 SHA256 3da647c87e8de0cfc06fc065a9ada0e3ad174269ab4b03d70813e75f5b768639 SHA512 f15baad2d36378791b0a256812becb55dec29b98ce2aecf4f7e54148d09a9dda1461d12dc652e3be7a8fed61e4d844c18c6d7ea80e924c77b76fb5f185e40568 WHIRLPOOL 51ede006137c1a3037934f33c00b1bfa45846b3bd60d9d61081a89b89215c0ffbfeb8d0725e62504d22e50699ddc8b6eb917ea220c00afa05fcd9c98167cc5ac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQIcBAEBCAAGBQJRyxMWAAoJEF0huFKJUZL5UvMP/RVjtG3QEAGEh+Zwiqeomsm1
-d5gyTmFsxeQCV8S7voBB3vQ7Ey0ZoaB5nzqpkH6bTRDeq8cePItp9A+hvUF7Q5fS
-3v9OQYIIrOCp46ILTmpTH1dlq2JfGZ/8cfAzXSfEE2vtjda2pb2PVmD9cRMDCuJh
-Za8aH38IdadICBU18/lkMBJOB/G6lqdiIktlgIzf3JuJ3/vRncOUPEXEn40rrq9R
-EKTw2Cp59O35y8pIe8ZKdInF0OWKwc1H8k7vDgSSrfrP7TfwtWNWLjZriCvT/h8W
-vPd/ZqMGY4z3Oa8+fnHa4TVjAmsjFH/zi5wBHhgD40kgKogFk9CxUvOfjT14QQHQ
-4oGw+bIhFzt/xV/+Dhbruk5vJOq21YQJVt3VhhitOLNmJ1OBbfcGCq+JYYV4WeVt
-fvjSJ6m6tD4Zp9Un+PLg1yvev9KgqzqRGvUHRXEh6Zh1qMV+grgFvDlLI74ejI1m
-+ADE2c3LGoSRSvnJGzgfEToeou2ZxpNChL6e+ds3IywhYwQKPWwJyG6jTilPCdBm
-oNmh/Z9PRPbgLmyAwsCbWgljuPwPoI8VwnFrNIvV9/c9M2L2o9nI7sBC/R+gaFrg
-MIlwyLwuvRvIK1Jn+4plrQVWHLgQun2Slyc1OIhayFHoSsB3UrUOrT3PVSarDUoj
-5MLtdJfalS4kxupied6C
-=1sTS
+iQIcBAEBCgAGBQJSB7mIAAoJELnU8jG9FVirC/cP/2eFoqvODJRVuCPV0QJkvASt
+OjjUAPoJOJCgbAGPk+UhWtAobXLHuunhEL7blrTgFMSUrGOBCo+lEF1NvS7oUe/p
+AetViZmYr7Zz6Fl5auC/p3zxIPHUZp7rqG1YYEwLM4GrhW5upFVl/kmQAlojeKE2
+orXy30W9Jhb06P+fpUrOUQd0JLbrWpDQ3V7cTtdNc42nB4arr2lF0mAtsoRz3iAU
+SQ3Z25EvrHsvaohS7EG9paD/Q9wBrZ58kP2N2tscNR20juI0+YvnHPb3Iy9yaJu4
+UXwvFAM3qRPoTngaPKf6PkUzXIV2numQPJUNIpEFQzTpCQfrGTFVWHC0umVBwsJa
+bSucW1chMTgM6OAGERpfdqS4Ugm2Uv12ucf3k1e/wstxx2zT2zLZbQwKxXKNRb+K
+Z3JPjogsvsR7jqZNg/mm4I9Kk+1whQdDZh1gZjw4eiLowDCQ65LC6Zw/E6ZN8W5q
+7OdkVxG3K40osvV57zID9ZjZxQ74h+dNQYluPcV62sbbuJqAIVTG/4EDOzD0sscs
+NLVeNVdF6uZB+HgJQC0miFijpgcooeIrRB0/L26lUbFzrd/JOSnAb7F+Q6aExKBf
+v+PCWpAswb50s7mmxcgvIRG4PMA6eVVK4DgmWGtj5Zr1cFeA8F8iz/V7j/OM434K
+3IBTsVE91gH1ygMNR+i7
+=XtE8
-----END PGP SIGNATURE-----
diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-5.5.22.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-5.5.22.ebuild
new file mode 100644
index 000000000000..91905936ea19
--- /dev/null
+++ b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-5.5.22.ebuild
@@ -0,0 +1,146 @@
+# 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-sdk/nvidia-cuda-sdk-5.5.22.ebuild,v 1.1 2013/08/11 16:19:19 jlec Exp $
+
+EAPI=4
+
+inherit cuda eutils flag-o-matic toolchain-funcs unpacker versionator
+
+MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
+
+DESCRIPTION="NVIDIA CUDA Software Development Kit"
+HOMEPAGE="http://developer.nvidia.com/cuda"
+CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/installers"
+SRC_URI="
+ amd64? ( ${CURI}/cuda_${PV}_linux_64.run )
+ x86? ( ${CURI}/cuda_${PV}_linux_32.run )"
+
+LICENSE="CUDPP"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug +doc +examples opencl +cuda"
+
+RDEPEND="
+ >=dev-util/nvidia-cuda-toolkit-${PV}
+ media-libs/freeglut
+ examples? (
+ media-libs/freeimage
+ media-libs/glew
+ virtual/mpi
+ >=x11-drivers/nvidia-drivers-304.54
+ )"
+DEPEND="${RDEPEND}"
+
+RESTRICT="test"
+
+S=${WORKDIR}/cuda-samples
+
+QA_EXECSTACK=(
+ opt/cuda/sdk/0_Simple/cdpSimplePrint/cdpSimplePrint
+ opt/cuda/sdk/0_Simple/cdpSimpleQuicksort/cdpSimpleQuicksort
+ opt/cuda/sdk/bin/x86_64/linux/release/cdpSimplePrint
+ opt/cuda/sdk/bin/x86_64/linux/release/cdpSimpleQuicksort
+ )
+
+src_unpack() {
+ unpacker
+ unpacker run_files/cuda-samples*run
+}
+
+pkg_setup() {
+ if use cuda || use opencl; then
+ cuda_pkg_setup
+ fi
+}
+
+src_prepare() {
+ export RAWLDFLAGS="$(raw-ldflags)"
+
+ sed \
+ -e 's:-O2::g' \
+ -e 's:-O3::g' \
+ -e "/LINK/s:gcc:$(tc-getCC) ${LDFLAGS}:g" \
+ -e "/LINK/s:g++:$(tc-getCXX) ${LDFLAGS}:g" \
+ -e "/CC/s:gcc:$(tc-getCC):g" \
+ -e "/GCC/s:g++:$(tc-getCXX):g" \
+ -e "/ CFLAGS/s|\(:=\)|\1 ${CFLAGS}|g" \
+ -e "/ CXXFLAGS/s|\(:=\)|\1 ${CXXFLAGS}|g" \
+ -e "/NVCCFLAGS/s|\(:=\)|\1 ${NVCCFLAGS} |g" \
+ -e 's:-Wimplicit::g' \
+ -e "s|../../common/lib/linux/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
+ -e "s|../../common/lib/\$(OSLOWER)/libGLEW.a|$(pkg-config --libs glew)|g" \
+ -e "s|../../common/lib/\$(OSLOWER)/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
+ -i $(find . -type f -name "Makefile") || die
+
+ sed \
+ -e "/^LDFLAGS/s|\(:=\)$|\1 ${LDFLAGS}|g" \
+ -i 0_Simple/simpleMPI/Makefile || die
+
+# -e "/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g" \
+ find common/inc/GL -delete || die
+ find . -type f -name "*\.a" -delete || die
+}
+
+src_compile() {
+ use examples || return
+ local myopts verbose="verbose=1"
+ use debug && myopts+=" dbg=1"
+ export FAKEROOTKEY=1 # Workaround sandbox issue in #462602
+ emake \
+ cuda-install="${EPREFIX}/opt/cuda" \
+ CUDA_PATH="${EPREFIX}/opt/cuda/" \
+ ${myopts} ${verbose}
+}
+
+src_test() {
+ local _dir _subdir
+
+ addwrite /dev/nvidiactl
+ addwrite /dev/nvidia0
+
+ for _dir in {0..9}*; do
+ pushd ${_dir} > /dev/null
+ for _subdir in *; do
+ emake -C ${_subdir} run
+ done
+ popd > /dev/null
+ done
+}
+
+src_install() {
+ local i j f t crap=""
+ if use doc; then
+ ebegin "Installing docs ..."
+ dodoc -r doc releaseNotesData
+ dohtml *htm*
+ eend
+ fi
+
+ crap+=" *.txt doc Samples.htm* releaseNotesData"
+
+ ebegin "Cleaning before installation..."
+ for i in ${crap}; do
+ if [[ -e ${i} ]]; then
+ find ${i} -delete || die
+ fi
+ done
+ eend
+
+ ebegin "Moving files..."
+ for f in $(find .); do
+ local t="$(dirname ${f})"
+ if [[ ${t/obj\/} != ${t} || ${t##*.} == a ]]; then
+ continue
+ fi
+ if [[ ! -d ${f} ]]; then
+ if [[ -x ${f} ]]; then
+ exeinto /opt/cuda/sdk/${t}
+ doexe ${f}
+ else
+ insinto /opt/cuda/sdk/${t}
+ doins ${f}
+ fi
+ fi
+ done
+ eend
+}