From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SmUfY-0004US-OK for garchives@archives.gentoo.org; Wed, 04 Jul 2012 18:51:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18D7DE03E4; Wed, 4 Jul 2012 18:51:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C8EF7E03E4 for ; Wed, 4 Jul 2012 18:51:02 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15FF41B4011 for ; Wed, 4 Jul 2012 18:51:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CFA77E5436 for ; Wed, 4 Jul 2012 18:51:00 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1341427820.15c15ed6c16a2f60e480689aafa8960bcf80d480.bicatali@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-sdk/ X-VCS-Repository: proj/sci X-VCS-Files: dev-util/nvidia-cuda-sdk/ChangeLog dev-util/nvidia-cuda-sdk/metadata.xml dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.9.ebuild dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild X-VCS-Directories: dev-util/nvidia-cuda-sdk/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 15c15ed6c16a2f60e480689aafa8960bcf80d480 X-VCS-Branch: master Date: Wed, 4 Jul 2012 18:51:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 94104979-c8ed-4d67-b24a-9d76cf2b0057 X-Archives-Hash: b280bade8161e8cd71677da72af7672f commit: 15c15ed6c16a2f60e480689aafa8960bcf80d480 Author: Sebastien Fabbro uvic ca> AuthorDate: Wed Jul 4 18:50:20 2012 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Wed Jul 4 18:50:20 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D15c15ed6 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 =3D> 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-sd= k/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 $ =20 +*nvidia-cuda-sdk-4.2.9 (04 Jul 2012) + + 04 Jul 2012; S=C3=A9bastien Fabbro + +nvidia-cuda-sdk-4.2.9.ebuild, -nvidia-cuda-sdk-4.2.ebuild, metadata.x= ml: + dev-util/nvidia-cuda-sdk: Adapted to newer nvidia-cuda-sdk + *nvidia-cuda-sdk-4.2 (03 Jul 2012) =20 03 Jul 2012; S=C3=A9bastien Fabbro 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. - Build binaries for device emulation mode. The= se binaries will not require a CUDA-capable GPU to run. - Build OpenCL binaries Build CUDA binaries diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.ebuild b/dev-ut= il/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 @@ =20 EAPI=3D4 =20 -inherit unpacker toolchain-funcs +inherit unpacker toolchain-funcs versionator =20 DESCRIPTION=3D"NVIDIA CUDA Software Development Kit" HOMEPAGE=3D"http://developer.nvidia.com/cuda" =20 -CUDA_V=3D${PV//_/-} -DIR_V=3D${CUDA_V//./_} -DIR_V=3D${DIR_V//beta/Beta} +MYD=3D$(get_version_component_range 1)_$(get_version_component_range 2) =20 -SRC_URI=3D"http://developer.download.nvidia.com/compute/cuda/${DIR_V}/re= l/sdk/gpucomputingsdk_${CUDA_V}.9_linux.run" +SRC_URI=3D"http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/= sdk/gpucomputingsdk_${PV}_linux.run" LICENSE=3D"CUDPP" SLOT=3D"0" KEYWORDS=3D"~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE=3D"debug +doc +examples opencl +cuda" =20 -RDEPEND=3D">=3Ddev-util/nvidia-cuda-toolkit-4.2 +RDEPEND=3D">=3Ddev-util/nvidia-cuda-toolkit-${PV} examples? ( >=3Dx11-drivers/nvidia-drivers-260.19.21 ) media-libs/freeglut" DEPEND=3D"${RDEPEND}" @@ -28,12 +26,11 @@ S=3D"${WORKDIR}" =20 pkg_setup() { if use cuda || use opencl && [[ $(tc-getCXX) =3D=3D *gcc* ]] && \ - ! version_is_at_least "4.5" "$(gcc-version)"; then + ! version_is_at_least 4.5 "$(gcc-version)"; then eerror "This package requires >=3Dsys-devel/gcc-4.5 to build sucessful= ly" eerror "Please use gcc-config to switch to a compatible GCC version" die ">=3Dsys-devel/gcc-4.4 required" fi - echo $(gcc-major-version) $(gcc-minor-version) } =20 src_compile() {