summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2012-03-07 03:03:17 +0000
committerJustin Bronder <jsbronder@gentoo.org>2012-03-07 03:03:17 +0000
commit7dac0ea9544292a84a9326ceb6424c4e775b4f49 (patch)
tree706c3986ae47fd2365cf8379ab2ab115e524ca47 /sys-cluster
parentRestricting pypy (diff)
downloadgentoo-2-7dac0ea9544292a84a9326ceb6424c4e775b4f49.tar.gz
gentoo-2-7dac0ea9544292a84a9326ceb6424c4e775b4f49.tar.bz2
gentoo-2-7dac0ea9544292a84a9326ceb6424c4e775b4f49.zip
Enable nvidia gpu support re #400991
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/torque/ChangeLog6
-rw-r--r--sys-cluster/torque/metadata.xml1
-rw-r--r--sys-cluster/torque/torque-3.0.4.ebuild8
3 files changed, 10 insertions, 5 deletions
diff --git a/sys-cluster/torque/ChangeLog b/sys-cluster/torque/ChangeLog
index a5197cdf4601..441a878518e6 100644
--- a/sys-cluster/torque/ChangeLog
+++ b/sys-cluster/torque/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/torque
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/ChangeLog,v 1.138 2012/03/07 02:26:43 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/ChangeLog,v 1.139 2012/03/07 03:03:17 jsbronder Exp $
+
+ 07 Mar 2012; Justin Bronder <jsbronder@gentoo.org> torque-3.0.4.ebuild,
+ metadata.xml:
+ Enable nvidia gpu support re #400991
*torque-3.0.4 (07 Mar 2012)
diff --git a/sys-cluster/torque/metadata.xml b/sys-cluster/torque/metadata.xml
index d90fcb4f887b..91fec18cce0e 100644
--- a/sys-cluster/torque/metadata.xml
+++ b/sys-cluster/torque/metadata.xml
@@ -9,6 +9,7 @@
<flag name='cpusets'>Enable pbs_mom to utilize linux cpusets if available</flag>
<flag name='drmaa'>Enable the Distributed Resource Management Application API</flag>
<flag name='munge'>Enable authentication via munge</flag>
+ <flag name='nvidia'>Enable management of Nvidia GPUs</flag>
<flag name='server'>Enable compilation of pbs_server and pbs_sched</flag>
</use>
</pkgmetadata>
diff --git a/sys-cluster/torque/torque-3.0.4.ebuild b/sys-cluster/torque/torque-3.0.4.ebuild
index 292f71c7bbe4..c69b1a0a4ed0 100644
--- a/sys-cluster/torque/torque-3.0.4.ebuild
+++ b/sys-cluster/torque/torque-3.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-3.0.4.ebuild,v 1.1 2012/03/07 02:26:43 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-3.0.4.ebuild,v 1.2 2012/03/07 03:03:17 jsbronder Exp $
EAPI=2
inherit flag-o-matic eutils linux-info autotools
@@ -13,12 +13,13 @@ LICENSE="torque-2.5"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="cpusets +crypt doc drmaa kernel_linux munge server +syslog threads tk"
+IUSE="cpusets +crypt doc drmaa kernel_linux munge nvidia server +syslog threads tk"
# ed is used by makedepend-sh
DEPEND_COMMON="sys-libs/ncurses
sys-libs/readline
munge? ( sys-auth/munge )
+ nvidia? ( >=x11-drivers/nvidia-drivers-275 )
tk? ( dev-lang/tk )
syslog? ( virtual/logger )
!games-util/qstat"
@@ -80,8 +81,6 @@ src_configure() {
use crypt && myconf="--with-rcp=scp"
- # Note: Nvidia GPU support is currently disabled pending user
- # interest and ability to test.
econf \
$(use_enable tk gui) \
$(use_enable syslog) \
@@ -89,6 +88,7 @@ src_configure() {
$(use_enable drmaa) \
$(use_enable threads high-availability) \
$(use_enable munge munge-auth) \
+ $(use_enable nvidia nvidia-gpus) \
--with-server-home=${PBS_SERVER_HOME} \
--with-environ=/etc/pbs_environment \
--with-default-server=${PBS_SERVER_NAME} \