summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-05-12 11:06:57 +0000
committerJustin Lecher <jlec@gentoo.org>2015-05-12 11:06:57 +0000
commit69a9f8c2385379f15139324bd5c70dbaa4efc8e0 (patch)
treecb89216d13d679436ffe667a8f64d7c84e9abea2 /dev-util
parentVersion bump (diff)
downloadhistorical-69a9f8c2385379f15139324bd5c70dbaa4efc8e0.tar.gz
historical-69a9f8c2385379f15139324bd5c70dbaa4efc8e0.tar.bz2
historical-69a9f8c2385379f15139324bd5c70dbaa4efc8e0.zip
Version Bump; thanks Marius Brehler for the work https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/1119
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xE9402A79B03529A2!
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/nvidia-cuda-sdk/ChangeLog8
-rw-r--r--dev-util/nvidia-cuda-sdk/Manifest36
-rw-r--r--dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-7.0.28.ebuild144
-rw-r--r--dev-util/nvidia-cuda-toolkit/ChangeLog10
-rw-r--r--dev-util/nvidia-cuda-toolkit/Manifest42
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.14.ebuild4
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19-r1.ebuild4
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19.ebuild4
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.0.28.ebuild143
9 files changed, 350 insertions, 45 deletions
diff --git a/dev-util/nvidia-cuda-sdk/ChangeLog b/dev-util/nvidia-cuda-sdk/ChangeLog
index ee0ebc3196bc..cf2d2b91263e 100644
--- a/dev-util/nvidia-cuda-sdk/ChangeLog
+++ b/dev-util/nvidia-cuda-sdk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/nvidia-cuda-sdk
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v 1.62 2015/04/07 14:23:17 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v 1.63 2015/05/12 11:06:56 jlec Exp $
+
+*nvidia-cuda-sdk-7.0.28 (12 May 2015)
+
+ 12 May 2015; Justin Lecher <jlec@gentoo.org> +nvidia-cuda-sdk-7.0.28.ebuild:
+ Version Bump; thanks Marius Brehler for the work https://github.com/gentoo
+ /gentoo-portage-rsync-mirror/pull/1119
08 Feb 2015; Justin Lecher <jlec@gentoo.org> +nvidia-cuda-sdk-5.5.22.ebuild:
Readd old version on user request
diff --git a/dev-util/nvidia-cuda-sdk/Manifest b/dev-util/nvidia-cuda-sdk/Manifest
index 2f48f17e9238..f3aca9be5d9b 100644
--- a/dev-util/nvidia-cuda-sdk/Manifest
+++ b/dev-util/nvidia-cuda-sdk/Manifest
@@ -11,27 +11,29 @@ DIST cuda_6.5.14_linux_32.run 76788277 SHA256 63fa1fe5d013e9944d6c1a3a71768fa4dc
DIST cuda_6.5.14_linux_64.run 972320904 SHA256 f3e527f34f317314fe8fcd8c85f10560729069298c0f73105ba89225db69da48 SHA512 fecca731b86955f5bc7b09d88b02951e3ee5d4b1f1cf5f92658227a029b87cd35d6ac22956a5fa0afe62dcdc57191f1d12bb08c9f7cc05128727cd8455947b1e WHIRLPOOL 0b890771dcca352168fed1b1df9b29504b03f8c29da59cec29914c541283998edf65f5ca6a41362143a2d5d7359822b036894f563c56b39583b1ac4c64e35180
DIST cuda_6.5.19_linux_32.run 81882112 SHA256 9f767f38b84f52c097bec81669f99e4a6c4c9c09b5da1bc09fe49e0f804bc7a6 SHA512 1ce9bd6b472b7e4f1fb181eb340dfcb757714d59a89aaa02146cfe1a97c8ccb7eb7699b4ec823276f277eb4d82d95050eaba17e7ed5fd2e47b9b5d78531c5d4e WHIRLPOOL ac94b4e7f29811b4240623fb69b3c54214e7f0c60a286d899944dbab9da7fd3c122760199a3357667e33879bd48fbf352d5d39029acca6021e7caf21785557ed
DIST cuda_6.5.19_linux_64.run 982446238 SHA256 5279bc159b72b7445d8aae5f289d24bb4042c35422ef32da68049d8f666d3ff5 SHA512 06854f020a5f72cf4bd714859e6966248ac2f589284113674e869fdaa1254cae27d4101940758ecda5df4724ad3e448a1f6d0c053b6cbc28107750872b6a5797 WHIRLPOOL 6ae8e53719e12997de60ec3688167f3fe33b1145d01217182e39ac386c25b358c8ba6cee45ad6c80e33ef66fd9a511338dce4589f10a31635b8437b6e528fd7a
+DIST cuda_7.0.28_linux.run 1118797679 SHA256 d1292e9c2bbaddad24c46e0b0d15a7130831bfac0382f7159321f41ae385a5ce SHA512 f002433133e40000cbb78283e08c25f7397612957c0440605311f8921bcebd54a808069ca36b218be66a054e8afab4871b2bf1bd4d419c6f98a0d74b00a9bc78 WHIRLPOOL dcf21d2e356a1797b9e79ac9edfb3924a1d4a2914382dbe21b2172c200dd4f7d93905ac44fbc2e994ce14b7ab28e78163f4c81ddcc6cbb97e4ce085efd2d8475
EBUILD nvidia-cuda-sdk-5.5.22.ebuild 3491 SHA256 e90b466f503ad157e8b0333772457a7e122e82ae06dbe70db19937cb429e0b1b SHA512 caff66cbb949e750b90380787c333b9cc19fcde06fee06b27329e2033577be8b19b7312e2cebaa848a14b3c89ff979fd84066a107b1157ffe7b007830b412faa WHIRLPOOL 4d17748629d5a45196b81b58ac28edb205028454e0f65cf0b51393a40d1fc2f663641c8c84f3f6ff5c96ff5986923195193cfb385a2693b76a72111e2dca5afc
EBUILD nvidia-cuda-sdk-6.5.14.ebuild 4099 SHA256 53807f2cc8ad0f61882bcb7622f140e035bfc91a5bd9fd1c143af4b5acedce3e SHA512 d99b07c08e2769288dc37f15eb52edac8f85fcbab3b1691f693265c7ef543b2c09055c01bc19aa687cda788127c0a8b17aeda8ac3f05beafecd2fb9834c6b124 WHIRLPOOL 7595c4ddf8cda5ce912fccae73fca47b9c49dd42f6bb8a7fb0bc25392506cccc886ab0b620a75c512d75ffddf4922de9269b48bd1af42e4a027e9d1758f47207
EBUILD nvidia-cuda-sdk-6.5.19.ebuild 4104 SHA256 90a338486c11e46bd38b20a67261fcca162114d3e247c63c4d7714cc7bb3c43a SHA512 87b5ed9f3a0135f8d07592affedfc7c225699ea5bca71c935d9741a2c89de062789c2d4309e746b8ba50d811cb1d7dbdc1797597515b4ac58fe9505620800c1f WHIRLPOOL fc61ba5ebdd2737fb0684c5bc7d76aa52e3563a5d6917ef6b5a422406467b116139227df81bd8968e78828432182f3b19825e08a583fa705834caa0887c8c5de
-MISC ChangeLog 11438 SHA256 9e5e3eedfa5b5d84f3040309c4cce78b8678cb4e490d868021f2988f104d6d9c SHA512 d9d3db5de3bb9253787253ec8eaef6e5bb23e32a318a6bb6501c4360c5a17b64fea7f7512e80d9bdface232c61195082af5c088c135713e91ad5365026c2ec29 WHIRLPOOL 119f04b5360cc9501349c77885a280aac0493214c0fac54e4e3d4388d61642393a3d4e6595035e0da20234224a11f8669651a9e9c3bc8e4ec3f44f7577644d84
+EBUILD nvidia-cuda-sdk-7.0.28.ebuild 3696 SHA256 296e825741870f2e597565bc2a5834ef4b89668093bbe6889a246c9f632d3f06 SHA512 ae003091f2dbb746438941eae7fddbce7b99a65511c895bbbe8b8859fb5044a3c53684de3a85f7f10ea1d1bbfc07badb929de491632dc1cc3ea5dc7962f5b3f9 WHIRLPOOL 7a3d72e5b81e860068912482688b376128a48a972fb129bdf13e69de7201ed22b1323255359448f5d306b459ee9ac889e157907247565bf34c98e44cac375ed4
+MISC ChangeLog 11675 SHA256 db9efe400d5ff1168c942206146c5b6e2d847578d6638b48c8e52d6da2efd1ec SHA512 95089cb719e9817b82e8d36649f0b59ad82ba5df135c0914af45cb7bf246a1523c4746eb7015910fa92e3ddf6368b0e31c5b19d780a90f8bae0fb305849bed24 WHIRLPOOL 0638a4984df55307fb3d008ae05bed7966eebd0814f8eefe113e59f185df0a13e271732cb14e864af5b3b707e718ad805ae3c1a681b6d445934f9f1e5f028924
MISC metadata.xml 390 SHA256 4b9b3df9c5ab72b576b25130e1ff41278c938cddd76df80f6aa0cd5015d695dc SHA512 bbee50e8b6cc7e3c2e1b31c5f7cca01dd634d2f3adea4a182664653d4fada3d71a8709ce6f10e387ca95526952e2c3ff09d65b517e7d2cea14ba742d5d1dac41 WHIRLPOOL 4bdcfd49c7f7a0ab5b7aeae9fdb15c8acaf40413c3a6fabdce22a8ee5a671eefc37724b9d82d4fe8031157dca7aff151231355f6419ff49cafa6a8265f3307f2
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0
+Version: GnuPG v2.1
-iQJ8BAEBCgBmBQJVI+hWXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
-OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirj2sP/2jGFvGgHkHyD72noEFQNtOv
-qgQ6uTW5Zk5Yb3Dkwe9wUgajz36CG7LIHrPGbJ64SFy0/EMAh2Y4pklP+KoqBBfx
-1I9jIP0euqoO9uLsWhU03FdXXjI9KBW6CQbthhUFXOp87O+DWk4QF4E8IDHocydL
-Y/HpiQsXCmF7CfdQtmv3trvyUerzCe2aFNuDHGt/ng+22PF9z5gC81irg50VUgtP
-g5CzhdktpxKqyY34coJFJcQ9zkU1QXQ6k1zQ/aqHvjIusdt3NVgr6Kcwve/hsxdd
-XYNNr5eSEo5JZS69upvTFNBNGiR9+MNFO+568xcNBDU+NQtkrkOsFK4OGj223tLo
-k1a8HErRArPlsQNgYnszo5Hk8UJUY87/nCZCfqLImjvMHz0rbuFO9DKRkqv042wu
-UjlV5Wty98hILaAilzks7IDGbjfxtz22kEShHv/ihUCZx1DvpyYn6ShU84F5ntH9
-x6scq8Q25VaGPZ8ktMB4Hbxq5AOHhRzyLcS841AQL0b8OWZWRargggHQJzGDMJXv
-9OKIHtUu8l31Wq28gGNQsh6gc9PlEYcJ0L082vGfTMd0GaGVtcz5K5PqpJ0h2CGJ
-JI+2zAdaIEc5vN7FG/RSWb/LOJeb5YF6C2aqQs5Es89reI8D8drUJlS8AxxrD9ah
-0HrTQ0VqQIn9KVE/MclS
-=jI87
+iQJ8BAEBCgBmBQJVUd7RXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
+OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmixe0QAJoyl4UxPAvaN4nHPAyt51JO
+OaSVeKK0cBIL31YfJFFL8c2bldbYU87GiSNfm8IqnO2Lg09PZKUSDXXDa1x3bWXJ
+ekVMxJRQZLVbbm6lVnNsYCqsXH4CZrOqE4Xza5lm8xIIixScUKKzFtmGwELv1cdt
+wsNDvdEac31c2kTWOql6Ya11nMGaBlMcubogJYVgluPBU5wiLF22ytS9LspEHkV1
+dQ23dk3OyOG/dgRI12ErPqedf3K6SdekfHiBr5lTppKUwY9XplC98OnhpN1uZiY0
+shfJ4o3I++JMDDWWQqGJvJATYFPc9eu2mwm7UUSJ1Gzf4T+6/6uJfzehHbmHZWMU
+fVKpzhR0MguUqX5wm0Pf05youDQqSvdOeWl6i/s13zkMNCwzn6aSksWheXtT3ob6
+6Hx+DjZFJ92YVbZ3c4YW7TpAmC8BEPhDHEb0oc/72Ptot/Oi3XLjXC5Pf6nJ6tdv
+SUNaXCBQYCgKGlmsDaqexPbD0LwuD4zKjEVn1NMPET/rXCq8y/81B+/sLqj/8T2t
+PhDgflo0irCsphCljRqC3rFLbvC9aIvlw/l75kBbrt3qpGSOv92SC52QO8zlDi37
+GnCwCVPqIqY5Ew0OYpztIpQQZiy1oSZdwhUQwcUt/eyLSSofyo42JgqYLT5+C7p/
+1gfMe1g9JymzKOzBNCxv
+=CgMV
-----END PGP SIGNATURE-----
diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-7.0.28.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-7.0.28.ebuild
new file mode 100644
index 000000000000..02a6bde0f0d9
--- /dev/null
+++ b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-7.0.28.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2015 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-7.0.28.ebuild,v 1.1 2015/05/12 11:06:56 jlec Exp $
+
+EAPI=5
+
+inherit cuda eutils flag-o-matic portability toolchain-funcs unpacker versionator
+
+MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
+
+DESCRIPTION="NVIDIA CUDA Software Development Kit"
+HOMEPAGE="https://developer.nvidia.com/cuda-downloads"
+SRC_URI="http://developer.download.nvidia.com/compute/cuda/${MYD}/Prod/local_installers/cuda_${PV}_linux.run"
+
+LICENSE="CUDPP"
+SLOT="0"
+KEYWORDS="~amd64 ~amd64-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-346.35[uvm]
+ )"
+DEPEND="${RDEPEND}"
+
+RESTRICT="test"
+
+S=${WORKDIR}/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)"
+# epatch "${FILESDIR}"/${P}-asneeded.patch
+
+ 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 "/NVCC /s|\(:=\).*|:= ${EPREFIX}/opt/cuda/bin/nvcc|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
+
+# -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/" \
+ MPI_GCC=10 \
+ ${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 ..."
+ treecopy $(find -type f \( -name readme.txt -o -name "*.pdf" \)) "${ED}"/usr/share/doc/${PF}/
+ docompress -x $(find "${ED}"/usr/share/doc/${PF}/ -type f -name readme.txt | sed -e "s:${ED}::")
+ eend
+ fi
+
+ crap+=" *.txt Samples.htm*"
+
+ ebegin "Cleaning before installation..."
+ for i in ${crap}; do
+ if [[ -e ${i} ]]; then
+ find ${i} -delete || die
+ fi
+ done
+ find -type f \( -name "*.o" -o -name "*.pdf" -o -name "readme.txt" \) -delete || die
+ 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
+}
diff --git a/dev-util/nvidia-cuda-toolkit/ChangeLog b/dev-util/nvidia-cuda-toolkit/ChangeLog
index 4f0b9daa1617..573a86cc92e9 100644
--- a/dev-util/nvidia-cuda-toolkit/ChangeLog
+++ b/dev-util/nvidia-cuda-toolkit/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-util/nvidia-cuda-toolkit
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.102 2015/02/19 07:22:26 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.103 2015/05/12 11:06:19 jlec Exp $
+
+*nvidia-cuda-toolkit-7.0.28 (12 May 2015)
+
+ 12 May 2015; Justin Lecher <jlec@gentoo.org>
+ +nvidia-cuda-toolkit-7.0.28.ebuild, nvidia-cuda-toolkit-6.5.14.ebuild,
+ nvidia-cuda-toolkit-6.5.19-r1.ebuild, nvidia-cuda-toolkit-6.5.19.ebuild:
+ Version Bump; thanks Marius Brehler for the work https://github.com/gentoo
+ /gentoo-portage-rsync-mirror/pull/1119
*nvidia-cuda-toolkit-6.5.19-r1 (19 Feb 2015)
diff --git a/dev-util/nvidia-cuda-toolkit/Manifest b/dev-util/nvidia-cuda-toolkit/Manifest
index bcd2e9e5a915..39d3bca68d1c 100644
--- a/dev-util/nvidia-cuda-toolkit/Manifest
+++ b/dev-util/nvidia-cuda-toolkit/Manifest
@@ -8,28 +8,30 @@ DIST cuda_6.5.14_linux_32.run 76788277 SHA256 63fa1fe5d013e9944d6c1a3a71768fa4dc
DIST cuda_6.5.14_linux_64.run 972320904 SHA256 f3e527f34f317314fe8fcd8c85f10560729069298c0f73105ba89225db69da48 SHA512 fecca731b86955f5bc7b09d88b02951e3ee5d4b1f1cf5f92658227a029b87cd35d6ac22956a5fa0afe62dcdc57191f1d12bb08c9f7cc05128727cd8455947b1e WHIRLPOOL 0b890771dcca352168fed1b1df9b29504b03f8c29da59cec29914c541283998edf65f5ca6a41362143a2d5d7359822b036894f563c56b39583b1ac4c64e35180
DIST cuda_6.5.19_linux_32.run 81882112 SHA256 9f767f38b84f52c097bec81669f99e4a6c4c9c09b5da1bc09fe49e0f804bc7a6 SHA512 1ce9bd6b472b7e4f1fb181eb340dfcb757714d59a89aaa02146cfe1a97c8ccb7eb7699b4ec823276f277eb4d82d95050eaba17e7ed5fd2e47b9b5d78531c5d4e WHIRLPOOL ac94b4e7f29811b4240623fb69b3c54214e7f0c60a286d899944dbab9da7fd3c122760199a3357667e33879bd48fbf352d5d39029acca6021e7caf21785557ed
DIST cuda_6.5.19_linux_64.run 982446238 SHA256 5279bc159b72b7445d8aae5f289d24bb4042c35422ef32da68049d8f666d3ff5 SHA512 06854f020a5f72cf4bd714859e6966248ac2f589284113674e869fdaa1254cae27d4101940758ecda5df4724ad3e448a1f6d0c053b6cbc28107750872b6a5797 WHIRLPOOL 6ae8e53719e12997de60ec3688167f3fe33b1145d01217182e39ac386c25b358c8ba6cee45ad6c80e33ef66fd9a511338dce4589f10a31635b8437b6e528fd7a
+DIST cuda_7.0.28_linux.run 1118797679 SHA256 d1292e9c2bbaddad24c46e0b0d15a7130831bfac0382f7159321f41ae385a5ce SHA512 f002433133e40000cbb78283e08c25f7397612957c0440605311f8921bcebd54a808069ca36b218be66a054e8afab4871b2bf1bd4d419c6f98a0d74b00a9bc78 WHIRLPOOL dcf21d2e356a1797b9e79ac9edfb3924a1d4a2914382dbe21b2172c200dd4f7d93905ac44fbc2e994ce14b7ab28e78163f4c81ddcc6cbb97e4ce085efd2d8475
EBUILD nvidia-cuda-toolkit-5.5.22.ebuild 3541 SHA256 db53c8b6b0f2a272df8b96edc3dbe47e98316381675dfe6632f15843c435f58e SHA512 693bb16101f8d928bd17e8ea46aa85503cb906140b1f14492205a377534653388dfbd901b26c7e88641c10976dc98fbca674679be5315766989f7bd663b006cd WHIRLPOOL fe9a76280ce28464e24c951b28bfd9162817c1a795f5cad1017865ec107bd60c662202db54fc104cc94a0afc799ac83a0f92e142a28ddca41bbb391014178a34
-EBUILD nvidia-cuda-toolkit-6.5.14.ebuild 3935 SHA256 14d4639cdfd1b82dcd68b8692bc256ac6f46293f3180aacc8ba9fd9ea24d7199 SHA512 a414d5ad7a3f10b1d53807d208f4fc37116e1a1aa21604cb34b8a9641b9948d4f913d9d1d8df1b8cf0c09b2cbcccce00dd215ac71c86ee7a537bc888f5ddd556 WHIRLPOOL f768354e91b9d9b86aa6e9adbfd12a692644424cd4341e90d4df668429f9ebc709f620915e60ebfd44364ab3b83b5888b31213a241e3074b4c1e9762c5f32fa7
-EBUILD nvidia-cuda-toolkit-6.5.19-r1.ebuild 3966 SHA256 64855e90ab169ae479e6119a91cb45d33c1bb4d57d10c8a61323c85eedf6ceb8 SHA512 779b0bd9a9921dede1abe0a88775ae968b0f992d2787fad18e83b633d0e0876c886856a860d931fd0da85246dbb67e88f0618159600d55fd83bff1d7e397e3e0 WHIRLPOOL c1339e3038ad2286dce613255ee1d354342471944b38fbd790c2926665c660404bf14da5f9cf30d39f88863a7ccc79438ba92fc5e7395f3a9e7f080887f3801d
-EBUILD nvidia-cuda-toolkit-6.5.19.ebuild 3937 SHA256 16538f09a5d260c893f5d4fa47f0a7fe1bfa4f558163079fb8584d24e9f89bc4 SHA512 ffb14cfc554f417f4180f28cd7894acffd815bdf250399bd53a49c1fc1173d8b736363359f25e9eed3b16776ec1c19129f78d4fbe003e41607d73553383a911b WHIRLPOOL 3422b3ef5512c3eab3a20180da51f096b70a4770a5139e94d75e4307e5b649c28df8293e2c5de0d9b3b84ca2325dd934eda9bb1676d7771e1412d7fecde6a880
-MISC ChangeLog 1907 SHA256 d3e697f05c0d9b4ab7299086ad4b824259c69a625e3891d25dfd3c23b9cbfb10 SHA512 7b17d0ed9a6658c2d4b9c74ae20dcebbf26991f1a0880878955db74ad32374c713c59f732975a9ee2dc027b3d0de80209e01b5e4c19daf1866209e9c4e56ab30 WHIRLPOOL e2479c1bce649d34fbe1d08b839afa7f76d76c230c5b631934f7b3000f9ff6f7c34eeae35ee469220100dd9b25e7f6200a9953d87ca38996c5f2cdde2514869d
+EBUILD nvidia-cuda-toolkit-6.5.14.ebuild 3940 SHA256 3c813c05d49d19ebb13e4fc67425e9d4b1d38a3b193c6e4c13a61512f668f9d4 SHA512 ea839b41ced352f695b3ad499fea9577722ba956825677ac959796016eed2c762957c358c6d0d893cf48f8da793be8bf7bf681162c4ae8c34d514165c8901949 WHIRLPOOL a2af59a6759fbc1d19ec5463f9df253aa9c627de82476166d6f4b38d4089a7007d6bb35211ad0c0a43df05e07532cce9ae4b4e4790ff0696126283f5150c6e65
+EBUILD nvidia-cuda-toolkit-6.5.19-r1.ebuild 3970 SHA256 f173dc958bff1693555aa500437ef99feab5a9d4270537374521a26af1f492dd SHA512 e96ab64202b72ab6ab199f4f13be1b07fbe69cf2abe2356b265d281fad82f59765f59db5ff5285ad1597267df950c15d4c8f827cfafb86e0c3c18f448639b090 WHIRLPOOL de8d0121acd343adf03e38e5e4cdbd745f004d0d43700e9078e76100b7c91ba8bbf1b621274424000a0755c90994eb7d50a68e35c4988b797a0a32c5705c8a5b
+EBUILD nvidia-cuda-toolkit-6.5.19.ebuild 3941 SHA256 5cddfe29206984fbae6eeebef265b89f74e47504e0402ff11eec35e3301a0300 SHA512 8316157bdeaa4d8fa6043dcc2d87038159f50da70b4bbaf1631a187d94ae539e7b2ec07fcee2fd7be3300fe9dfe75cbc556894a8caf7ef2df12935f8d1cdbfa8 WHIRLPOOL 08e87710808a7d3828ca4f680e014a392ba91a16878ca0bef773720e004c577bd8909c0670e3365d1069a84f8e92d8f05a348745abe87ede60e9bb582826898e
+EBUILD nvidia-cuda-toolkit-7.0.28.ebuild 3475 SHA256 5ebd34bcf3aa3f6f249923c95054054ed1d44e6106e87a36673443bfafd423f3 SHA512 4209e6b6334fbc690e44057fa457ede3b01b12c7bf3cb7cb7e5de2597521ed33d4a50af8b2785f8050ec8ab7d272da73ebac2edb29df5aad3fd6481da6c9e38f WHIRLPOOL 9c4586697976b4d5cb8f8d5b43e1a5acac0c4383510c0566648859aaf5e3e0e48db0f379a7cffaddc082b0392904183b1cd418380b4055a715ccf45e30ce8834
+MISC ChangeLog 2264 SHA256 8cdb76f9a24d4661310a9c9cf79d3a01e42e76c37c8ec5d2938f68da34c49360 SHA512 08c47c4e1533fa261b5c24c32905b8ad77de631ad0c348a508303182fe7afd4d4e011ceef2b395260a3cf261d239a3ba3e19853284cf59521e2c3dbb6994758d WHIRLPOOL 16d1f8807f81357840bccbede120769e850493ac61123b6ab516d6c668b553ddd4d81d61eb9b1a681e01c669cbaf374c1904c2d6d166480cd84e6884dbab7b7b
MISC metadata.xml 506 SHA256 16d98da28f74ec82ae271f04e456547db8da2a9c576bf262ad897f4a3259fb56 SHA512 c1be2bc00a75ee9db0339938964d80214648df5a6cc16f3d1250f80d3142a1e511750dba34b54794227457db0d1a0f5ca4f692f34b9566ac3f58fef43196626e WHIRLPOOL 02f0c08cb4ab40b543e23c51ae81a7f04e452f3949808bd29a2790c565c2739d131d4d19fc3d4d279381a5ed05ad0623ba560aba82f7a3b510e44f8cf35c6473
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0
+Version: GnuPG v2.1
-iQJ8BAEBCgBmBQJU5Y80XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
-OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirHokQAJfkxBwb4eVRGkZeBHuFby6z
-uxh3z5N1K8M93g+xUYSBx4pVeG3/VUUTbdnl/C7cnRf+dJRwGpNe7rXcnzTBL52P
-6C9DmPTNQljCBoGqNhyfbTtPM5DqSMa1jVuwTfmQTI3j8lp254ohALjgC/d75Ac2
-8TLl/t3/9RdvojhSH+4wpD9zzNBiQ7FYvSYgm89Vq5dkuVbpjFBocPiMORhtiv4t
-twpyFLMQtJa9ewWH8DpdaPhNtzzqhwSUmSofGyJb6JftqmEytZDPfsG5LAne4EV2
-da/9Kl28ZIhuly6Ff471sr6uVSAbJ3xqzm8OEZkOYK8tvSdg65bfrUdbmDk8MFBg
-h6sqdl86paZ45vEbW/Wj3g6jxPH3ss1yUgqHvw4W+eNDQKjDuMl2dCXXoBTM6gxq
-+/5eHVo51sZ1mzPxuFumZiXIDz+KXe/Dj4XoucjN5Y9x/SqVWhDdsOiU35xbCYCM
-WNOI6wdlPeR258yJmmoSsCVwg56U7CpQBs85jrBpopm7cWG4yevu2BWODhFq8aH7
-JX6jetC/59pFerhSWcDXWxLvloPee51R5omY7rnqhLlTJZ/ADvHGTKhU3oHPpKzy
-JRzmLTa6bJYlEUItV1PgHsDem1noRlGhDuhQBG/zq48TQhBFXdDgTI6ot8CIkc9A
-wlWJK7gVQuEhbl8j5xoN
-=TVwu
+iQJ8BAEBCgBmBQJVUd6tXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
+OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmilR0QALT5vqZKJo0/bVCXbqlvGCvh
+OP0OGkLy4hDAf+BwNh3w83PRji84uh2yMxDmCEj/c6wkmq/9g7bipDOChossRf36
+LEcTa782Y7iJmGoxoagz9ubmIcjCxKS5Opa7grLDqMyESNaCO2pwEpPJojU84yJi
+AkDDhvZWXDGP3hfsy+/zpa06kxvqG+HAJ23hPbkt1OulAhp2C7s23tCQvsnMJNtH
+Qg+wTWXv7zR21bn6bzqLdzlkysjlpJfzrdehsWvYzJyo7Sj1d9Mt8cHVzTAI5B3p
+a05NCQ8M1Vv5lysYdxTHdtaldJPxQfkToBv5XREp5rTAGAmDkC3yJiKqQDbTV4ZF
+8vTprfBfjaJfR7iinznNLoAicJ0I8zOrZBU0L8WfxcJO57UuwgR7kBRFMG++qAyO
+ilH4SpYjvwG504I3BJGBGbuXnCQSWyd6Qj9KD7znRFAiS3IHuydSlKGO0YcYF6QD
+/wq6jo/8OzhWeNufcXn0cHklijCB29qxTU3Ty3dzLV53jWU0F+8X6n9TDbiA3E1m
+vJxwl8stZs3fHHYB6QSeNAN9Lxu6iV9SxOdyiLR18fgMMIB2E7Iee+5/4B/XpSDc
+YhhxE8VfSv8xSb0adS1pSo9UaqaGVlhDCTV//28elULnIt/4L4GwjSvaUgWjt2si
+BznTFNtWxDMlsarxlA5m
+=wyIf
-----END PGP SIGNATURE-----
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.14.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.14.ebuild
index 791eb07bc40b..953732674b0c 100644
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.14.ebuild
+++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 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-6.5.14.ebuild,v 1.9 2015/01/26 07:10:26 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.14.ebuild,v 1.10 2015/05/12 11:06:19 jlec Exp $
EAPI=5
@@ -59,7 +59,7 @@ src_unpack() {
src_prepare() {
local cuda_supported_gcc
- cuda_supported_gcc="4.8"
+ cuda_supported_gcc="4.7 4.8"
sed \
-e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19-r1.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19-r1.ebuild
index 04ee379ddca5..49b010535b80 100644
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19-r1.ebuild
+++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 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-6.5.19-r1.ebuild,v 1.1 2015/02/19 07:22:26 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19-r1.ebuild,v 1.2 2015/05/12 11:06:19 jlec Exp $
EAPI=5
@@ -59,7 +59,7 @@ src_unpack() {
src_prepare() {
local cuda_supported_gcc
- cuda_supported_gcc="4.8"
+ cuda_supported_gcc="4.7 4.8"
sed \
-e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19.ebuild
index a582bf61c86b..9a9e3c64e2f8 100644
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19.ebuild
+++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 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-6.5.19.ebuild,v 1.3 2015/01/26 07:10:26 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-6.5.19.ebuild,v 1.4 2015/05/12 11:06:19 jlec Exp $
EAPI=5
@@ -59,7 +59,7 @@ src_unpack() {
src_prepare() {
local cuda_supported_gcc
- cuda_supported_gcc="4.8"
+ cuda_supported_gcc="4.7 4.8"
sed \
-e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.0.28.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.0.28.ebuild
new file mode 100644
index 000000000000..2a413b1c8c9c
--- /dev/null
+++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.0.28.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2015 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-7.0.28.ebuild,v 1.1 2015/05/12 11:06:19 jlec Exp $
+
+EAPI=5
+
+inherit check-reqs cuda unpacker versionator
+
+MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
+
+DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)"
+HOMEPAGE="http://developer.nvidia.com/cuda"
+SRC_URI="http://developer.download.nvidia.com/compute/cuda/${MYD}/Prod/local_installers/cuda_${PV}_linux.run"
+
+SLOT="0/${PV}"
+LICENSE="NVIDIA-CUDA"
+KEYWORDS="-* ~amd64 ~amd64-linux"
+IUSE="debugger doc eclipse profiler"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ >=sys-devel/gcc-4.7[cxx]
+ >=x11-drivers/nvidia-drivers-346.35[uvm]
+ 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/*"
+
+CHECKREQS_DISK_BUILD="1500M"
+
+pkg_setup() {
+ # We don't like to run cuda_pkg_setup as it depends on us
+ check-reqs_pkg_setup
+}
+
+src_unpack() {
+ unpacker
+ unpacker run_files/cuda-linux*.run
+}
+
+src_prepare() {
+ local cuda_supported_gcc
+
+ cuda_supported_gcc="4.7 4.8 4.9"
+
+ 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
+
+ mv doc/man/man3/{,cuda-}deprecated.3 || die
+ doman doc/man/man*/*
+
+ use debugger || remove+=" bin/cuda-gdb extras/Debugger"
+ ( use profiler || use eclipse ) || remove+=" libnsight"
+ 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
+
+ ln -sf lib lib32 || die
+
+ dodir ${cudadir}
+ mv * "${ED}"${cudadir} || die
+
+ cat > "${T}"/99cuda <<- EOF
+ PATH=${ecudadir}/bin$(use profiler && echo ":${ecudadir}/libnvvp")
+ ROOTPATH=${ecudadir}/bin
+ LDPATH=${ecudadir}/lib64:${ecudadir}/lib
+ EOF
+ doenvd "${T}"/99cuda
+
+ use profiler && \
+ make_wrapper nvprof "${EPREFIX}"${cudadir}/bin/nvprof "." ${ecudadir}/lib64:${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
+}