From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-sdk/
Date: Wed, 4 Jul 2012 18:51:00 +0000 (UTC) [thread overview]
Message-ID: <1341427820.15c15ed6c16a2f60e480689aafa8960bcf80d480.bicatali@gentoo> (raw)
commit: 15c15ed6c16a2f60e480689aafa8960bcf80d480
Author: Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Wed Jul 4 18:50:20 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Jul 4 18:50:20 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=15c15ed6
dev-util/nvidia-cuda-sdk: Adapted to newer nvidia-cuda-sdk
(Portage version: 2.2.01.20430-prefix/git/Linux x86_64, unsigned Manifest commit)
---
dev-util/nvidia-cuda-sdk/ChangeLog | 6 ++++++
dev-util/nvidia-cuda-sdk/metadata.xml | 2 --
...sdk-4.2.ebuild => nvidia-cuda-sdk-4.2.9.ebuild} | 13 +++++--------
3 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/dev-util/nvidia-cuda-sdk/ChangeLog b/dev-util/nvidia-cuda-sdk/ChangeLog
index 8912130..7eba571 100644
--- a/dev-util/nvidia-cuda-sdk/ChangeLog
+++ b/dev-util/nvidia-cuda-sdk/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v 1.30 2012/02/05 16:39:02 spock Exp $
+*nvidia-cuda-sdk-4.2.9 (04 Jul 2012)
+
+ 04 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org>
+ +nvidia-cuda-sdk-4.2.9.ebuild, -nvidia-cuda-sdk-4.2.ebuild, metadata.xml:
+ dev-util/nvidia-cuda-sdk: Adapted to newer nvidia-cuda-sdk
+
*nvidia-cuda-sdk-4.2 (03 Jul 2012)
03 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org>
diff --git a/dev-util/nvidia-cuda-sdk/metadata.xml b/dev-util/nvidia-cuda-sdk/metadata.xml
index 8016fc8..23cb88d 100644
--- a/dev-util/nvidia-cuda-sdk/metadata.xml
+++ b/dev-util/nvidia-cuda-sdk/metadata.xml
@@ -8,8 +8,6 @@
software with CUDA C/C++ or DirectCompute.
</longdescription>
<use>
- <flag name='emulation'>Build binaries for device emulation mode. These binaries will not require a CUDA-capable GPU to run.
- </flag>
<flag name='opencl'>Build OpenCL binaries</flag>
<flag name='cuda'>Build CUDA binaries</flag>
</use>
diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.9.ebuild
similarity index 79%
rename from dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild
rename to dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.9.ebuild
index 6176d5f..6ce3153 100644
--- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild
+++ b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.9.ebuild
@@ -4,22 +4,20 @@
EAPI=4
-inherit unpacker toolchain-funcs
+inherit unpacker toolchain-funcs versionator
DESCRIPTION="NVIDIA CUDA Software Development Kit"
HOMEPAGE="http://developer.nvidia.com/cuda"
-CUDA_V=${PV//_/-}
-DIR_V=${CUDA_V//./_}
-DIR_V=${DIR_V//beta/Beta}
+MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
-SRC_URI="http://developer.download.nvidia.com/compute/cuda/${DIR_V}/rel/sdk/gpucomputingsdk_${CUDA_V}.9_linux.run"
+SRC_URI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/sdk/gpucomputingsdk_${PV}_linux.run"
LICENSE="CUDPP"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="debug +doc +examples opencl +cuda"
-RDEPEND=">=dev-util/nvidia-cuda-toolkit-4.2
+RDEPEND=">=dev-util/nvidia-cuda-toolkit-${PV}
examples? ( >=x11-drivers/nvidia-drivers-260.19.21 )
media-libs/freeglut"
DEPEND="${RDEPEND}"
@@ -28,12 +26,11 @@ S="${WORKDIR}"
pkg_setup() {
if use cuda || use opencl && [[ $(tc-getCXX) == *gcc* ]] && \
- ! version_is_at_least "4.5" "$(gcc-version)"; then
+ ! version_is_at_least 4.5 "$(gcc-version)"; then
eerror "This package requires >=sys-devel/gcc-4.5 to build sucessfully"
eerror "Please use gcc-config to switch to a compatible GCC version"
die ">=sys-devel/gcc-4.4 required"
fi
- echo $(gcc-major-version) $(gcc-minor-version)
}
src_compile() {
next reply other threads:[~2012-07-04 18:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-04 18:51 Sebastien Fabbro [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-10-30 15:47 [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-sdk/ Justin Lecher
2016-09-15 14:18 Marius Brehler
2016-05-30 8:52 Marius Brehler
2015-09-09 8:11 Justin Lecher
2015-07-10 3:59 Nicolas Bock
2015-03-20 4:31 Christoph Junghans
2015-01-18 2:16 Christoph Junghans
2015-01-18 2:16 Christoph Junghans
2014-11-17 7:12 Justin Lecher
2014-08-21 8:32 Justin Lecher
2014-07-10 8:53 Justin Lecher
2014-07-10 8:53 Justin Lecher
2012-11-26 22:02 Justin Lecher
2012-11-26 22:02 Justin Lecher
2012-07-11 9:09 Honza Macháček
2012-07-03 17:30 Sebastien Fabbro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1341427820.15c15ed6c16a2f60e480689aafa8960bcf80d480.bicatali@gentoo \
--to=bicatali@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox