commit: c5226fabb2d98676770c9925dafc781036e25b26
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 16:09:51 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 07:21:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5226fab
sci-physics/root: add new cudnn USE flag
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/metadata.xml | 1 +
sci-physics/root/root-9999.ebuild | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index 8eb44b130ef..e20aca48cc1 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -25,6 +25,7 @@
<flag name="c++14">Build using the C++14 standard</flag>
<flag name="c++17">Build using the C++17 standard</flag>
<flag name="cuda">Enable support for nVidia CUDA</flag>
+ <flag name="cudnn">Enable support for nVidia cuDNN library</flag>
<flag name="davix">Enable support for DAVIX Data Management Client
(https://cern.ch/davix)</flag>
<flag name="fits">Enable support for images and data from FITS files with
<pkg>sci-libs/cfitsio</pkg></flag>
<flag name="fortran">Compile included Fortran programs</flag>
diff --git a/sci-physics/root/root-9999.ebuild
b/sci-physics/root/root-9999.ebuild
index 78fe9987204..ba2e0296e35 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -14,7 +14,7 @@ inherit cmake-utils cuda eapi7-ver elisp-common eutils
fortran-2 \
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
+IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda cudnn +davix debug emacs
+examples fits fftw fortran +gdml graphviz +gsl http libcxx +minuit
mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python
qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc
@@ -41,6 +41,7 @@ LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
REQUIRED_USE="
^^ ( c++11 c++14 c++17 )
cuda? ( tmva !c++17 )
+ cudnn? ( cuda )
!X? ( !asimage !opengl !qt5 )
davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
@@ -81,6 +82,7 @@ CDEPEND="
)
asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
+ cudnn? ( dev-libs/cudnn )
davix? ( net-libs/davix )
emacs? ( >=app-editors/emacs-23.1:* )
fftw? ( sci-libs/fftw:3.0= )
@@ -198,6 +200,7 @@ src_configure() {
-Dclad=OFF
-Dcocoa=$(usex aqua)
-Dcuda=$(usex cuda)
+ -Dcudnn=$(usex cudnn)
-Dcxxmodules=OFF # requires clang, unstable
-Ddavix=$(usex davix)
-Ddcache=OFF