summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2010-01-08 19:53:01 +0000
committerMichael Januszewski <spock@gentoo.org>2010-01-08 19:53:01 +0000
commit35f82f5add8be533a60018b79c33157fccbf18f7 (patch)
tree0153dd98369f24b846e5e6f303fb2cb69d669cd3 /dev-util/nvidia-cuda-toolkit
parentTransfer Prefix keywords, make ebuild Prefix aware, fix compilation on static... (diff)
downloadhistorical-35f82f5add8be533a60018b79c33157fccbf18f7.tar.gz
historical-35f82f5add8be533a60018b79c33157fccbf18f7.tar.bz2
historical-35f82f5add8be533a60018b79c33157fccbf18f7.zip
Version bump (bug #298914).
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-util/nvidia-cuda-toolkit')
-rw-r--r--dev-util/nvidia-cuda-toolkit/ChangeLog10
-rw-r--r--dev-util/nvidia-cuda-toolkit/Manifest13
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.0_beta1.ebuild137
3 files changed, 153 insertions, 7 deletions
diff --git a/dev-util/nvidia-cuda-toolkit/ChangeLog b/dev-util/nvidia-cuda-toolkit/ChangeLog
index fb78d793364a..c9ad0c5c75bd 100644
--- a/dev-util/nvidia-cuda-toolkit/ChangeLog
+++ b/dev-util/nvidia-cuda-toolkit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/nvidia-cuda-toolkit
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.17 2009/12/01 19:05:24 fauli Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.18 2010/01/08 19:53:01 spock Exp $
+
+*nvidia-cuda-toolkit-3.0_beta1 (08 Jan 2010)
+
+ 08 Jan 2010; Michał Januszewski <spock@gentoo.org>
+ +nvidia-cuda-toolkit-3.0_beta1.ebuild:
+ Version bump (bug #298914).
01 Dec 2009; Christian Faulhammer <fauli@gentoo.org>
nvidia-cuda-toolkit-2.2-r2.ebuild:
diff --git a/dev-util/nvidia-cuda-toolkit/Manifest b/dev-util/nvidia-cuda-toolkit/Manifest
index f6101348586a..048be0a20931 100644
--- a/dev-util/nvidia-cuda-toolkit/Manifest
+++ b/dev-util/nvidia-cuda-toolkit/Manifest
@@ -14,17 +14,20 @@ DIST cudatoolkit_2.2_linux_64_rhel4.7.run 29212173 RMD160 785f2014ade1f0d7f0b284
DIST cudatoolkit_2.2_linux_64_suse11.1.run 29640032 RMD160 8288a864304757847e5ec72445955c4b8890563d SHA1 c30bd24e4ef81e8c4369e38b2910e9de0afe9fd3 SHA256 3c87763084fef5e5854041b46420e71946136e07d5e4fa17721e1b4a83ade965
DIST cudatoolkit_2.3_linux_32_rhel5.3.run 44143560 RMD160 3ce6dc8ba30e8c87fb561a23f74df1b33183d7f1 SHA1 3844d8a8f789c4699c4e6c3ebfbb2a02d9e46ed6 SHA256 f2fe27927ee3583e2ad686ea1192c91524d2063017f8119bc9268af3cfa7e436
DIST cudatoolkit_2.3_linux_64_rhel5.3.run 51075373 RMD160 d28ea9f972277fac5fba987b4bdd50299209b377 SHA1 09e28bdf135a4fde9185aeedd86c9c8b0aa17ff2 SHA256 bb3c4bb8ef9794c6306cb01c39cfebc2f913492e5812703c8eb0953461a31a39
+DIST cudatoolkit_3.0-beta1_linux_32_rhel5.3.run 68368026 RMD160 22d623f02c04807e7ee344f150a61edf96ab0591 SHA1 4ac0bcafce1a167045cea5d6819211c7bd35af35 SHA256 7d92d819b45224970ebdee0a97110539246272eecfc3330b296348835e0a1528
+DIST cudatoolkit_3.0-beta1_linux_64_rhel5.3.run 61151391 RMD160 9227825b6fa9b94eafec456115dbccf6f575550f SHA1 508cc4fec3c11ba70588e4172da87bed19952c64 SHA256 4eff6124b762e22f09b98510e5e3f106e957a87e54710af6d4974c3dbfa0914f
EBUILD nvidia-cuda-toolkit-2.0.ebuild 1763 RMD160 17c53c9e770fb493bec8722736c189c702c1da53 SHA1 161479bc46b7418e6be6a1287d37c0c14269ccca SHA256 54c83752347614e52a0fedacb1f38f72b44779a1856f5f29fad956ccff6d4eaa
EBUILD nvidia-cuda-toolkit-2.1.ebuild 1930 RMD160 bc419c515575f2df73f2819b46b3552904ff1c34 SHA1 acf2796c553de4edc15660a966f4f13491b1720f SHA256 9471e9cd1f5c8d3f6804e995d0ca30a5ec0312407f5251f56e75a65508346ea6
EBUILD nvidia-cuda-toolkit-2.2-r2.ebuild 3009 RMD160 028ec35d0a23966fe6c231bd1e1cbdf1affcb300 SHA1 db4475b4fa53b44f7141c21d008656e6265051dc SHA256 90f2b4c2286c33a37108d17117493a6c498551e25f5a8e3f6130aa48df5e92a0
EBUILD nvidia-cuda-toolkit-2.2-r3.ebuild 3008 RMD160 f821f04dd3d5469a0ec8006f8c8e51e91ff058eb SHA1 d5ae73dcc93afefa468d2e90541a6e71a24601a8 SHA256 822932868afc62902aa12655fb378e4a7d6eed9ebbbb6f6ea73a4d9975ea5baf
EBUILD nvidia-cuda-toolkit-2.3.ebuild 2943 RMD160 d8f811203fd37e0590e8885bfed38c944f5f7258 SHA1 08850af0cbb3c56ce8f752f9d890114ceb8f1fd1 SHA256 f58bc164b9f0a7fb2ff99d3e454912d5e1d1ef52bb8b1de0cbaa4d23d03f9f5a
-MISC ChangeLog 3323 RMD160 65474dbc15eb56a41cff46177479f99686ab27b0 SHA1 a34a3ec9f58c134ae8200e682edb80ed1fc0a4dd SHA256 86d39cf2312c3b6b718da2616e15ba54128c31022093af460f918194d89e2d5a
+EBUILD nvidia-cuda-toolkit-3.0_beta1.ebuild 3003 RMD160 9715bc9ab03408019f1bc8d25be6efa9fad536a3 SHA1 04dd0c43ff7c28fdce21b4bcb726a8848242f7c5 SHA256 b3a6c293c0f0122b7c07c1e3a972f689640795a04e3d4c841eb1b33312db3286
+MISC ChangeLog 3495 RMD160 2c78c602a28abbe18e2d06f9d64f90739370a00b SHA1 883c10fa1651feb1e0914713c9ca04e8b8091880 SHA256 3f644ff7d28d3ecb33e71d1490cae8b45589330c8663163245a063f148f34d57
MISC metadata.xml 421 RMD160 14a7cc955bb561664165d12762f16e8359de799a SHA1 0a11779a8c23235b3b41b36850a24d29f1bcc18a SHA256 65612620b1e6a2a3094b5999da92e493edcc91e1817ddaa73317a0e4972e60d2
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAksVaPsACgkQNQqtfCuFneNnzgCgnUxVlPtCjZWZhjmvV8RASYOT
-AygAn0S8ODefmtqannV8aqYOrfs1l8DX
-=hSsD
+iEYEARECAAYFAktHjL0ACgkQchej4aZK9/cNqQCbBE14z4guKZgXkTXNJ1msK0w/
+IfUAoIRrZ42suCrng3TYRX5LCIBQrT8U
+=wj/E
-----END PGP SIGNATURE-----
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.0_beta1.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.0_beta1.ebuild
new file mode 100644
index 000000000000..387d9b2abe05
--- /dev/null
+++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.0_beta1.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2010 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-3.0_beta1.ebuild,v 1.1 2010/01/08 19:53:01 spock Exp $
+
+EAPI=2
+
+inherit eutils multilib
+
+DESCRIPTION="NVIDIA CUDA Toolkit"
+HOMEPAGE="http://developer.nvidia.com/cuda"
+
+CUDA_V=${PV//_/-}
+DIR_V=${CUDA_V//./_}
+DIR_V=${DIR_V//beta/Beta}
+
+BASE_URI="http://developer.download.nvidia.com/compute/cuda/${DIR_V}/toolkit"
+SRC_URI="amd64? ( ${BASE_URI}/cudatoolkit_${CUDA_V}_linux_64_rhel5.3.run )
+ x86? ( ${BASE_URI}/cudatoolkit_${CUDA_V}_linux_32_rhel5.3.run )"
+
+LICENSE="NVIDIA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debugger doc profiler"
+
+DEPEND="!dev-util/nvidia-cuda-profiler"
+RDEPEND="${DEPEND}
+ >=sys-devel/gcc-4.0
+ profiler? ( x86? (
+ x11-libs/qt-gui
+ x11-libs/qt-core
+ x11-libs/qt-assistant
+ x11-libs/qt-sql[sqlite] )
+ )
+ debugger? ( >=sys-libs/libtermcap-compat-2.0.8-r2 )"
+RESTRICT="strip binchecks"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ for f in ${A} ; do
+ if [ "${f//*.run/}" == "" ]; then
+ unpack_makeself ${f}
+ fi
+ done
+}
+
+src_install() {
+ local DEST=/opt/cuda
+
+ into ${DEST}
+ dobin bin/*
+ dolib $(get_libdir)/*
+
+ if ! use debugger; then
+ rm -f "${D}/${DEST}/bin/cuda-gdb"
+ fi
+
+ chmod a-x "${D}/${DEST}/bin/nvcc.profile"
+
+ # doman does not respect DESTTREE
+ insinto ${DEST}/man/man1
+ doins man/man1/*
+ insinto ${DEST}/man/man3
+ doins man/man3/*
+ prepman ${DEST}
+
+ insinto ${DEST}/include
+ doins include/*.h
+ insinto ${DEST}/include/crt
+ doins include/crt/*.h
+
+ insinto ${DEST}/src
+ doins src/*
+
+ if use doc ; then
+ insinto ${DEST}/doc
+ doins -r doc/*
+ fi
+
+ cat > "${T}/env" << EOF
+PATH=${DEST}/bin
+ROOTPATH=${DEST}/bin
+LDPATH=${DEST}/$(get_libdir)
+MANPATH=${DEST}/man
+EOF
+ newenvd "${T}/env" 99cuda
+
+ if use profiler; then
+ into ${DEST}/cudaprof
+ dobin cudaprof/bin/cudaprof
+
+ cat > "${T}/env" << EOF
+PATH=${DEST}/cudaprof/bin
+ROOTPATH=${DEST}/cudaprof/bin
+EOF
+ if use x86 ; then
+ dosym /usr/bin/assistant ${DEST}/cudaprof/bin
+ else
+ dobin cudaprof/bin/assistant
+ insinto ${DEST}/cudaprof/bin
+ doins cudaprof/bin/*.so*
+ insinto ${DEST}/cudaprof/bin/sqldrivers
+ doins cudaprof/bin/sqldrivers/*
+
+ cat >> "${T}/env" << EOF
+LDPATH=${DEST}/cudaprof/bin
+EOF
+ fi
+
+ newenvd "${T}/env" 99cudaprof
+
+ if use doc; then
+ insinto ${DEST}/cudaprof
+ doins cudaprof/CUDA_Visual_Profiler_Release_Notes.txt
+ insinto ${DEST}/cudaprof/doc
+ doins cudaprof/doc/*
+ insinto ${DEST}/cudaprof/projects
+ doins cudaprof/projects/*
+ fi
+ fi
+
+ export CONF_LIBDIR_OVERRIDE="lib"
+ # HACK: temporary workaround until CONF_LIBDIR_OVERRIDE is respected.
+ export LIBDIR_amd64="lib"
+
+ into ${DEST}/open64
+ dobin open64/bin/*
+ libopts -m0755
+ dolib open64/lib/*
+}
+
+pkg_postinst() {
+ elog "If you want to natively run the code generated by this version of the"
+ elog "CUDA toolkit, you will need >=x11-drivers/nvidia-drivers-190.38."
+ elog ""
+ elog "Run '. /etc/profile' before using the CUDA toolkit. "
+}