From c5226fabb2d98676770c9925dafc781036e25b26 Mon Sep 17 00:00:00 2001 From: Guilherme Amadio Date: Wed, 11 Mar 2020 17:09:51 +0100 Subject: [PATCH] sci-physics/root: add new cudnn USE flag Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Guilherme Amadio --- 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 8eb44b130ef3..e20aca48cc14 100644 --- a/sci-physics/root/metadata.xml +++ b/sci-physics/root/metadata.xml @@ -25,6 +25,7 @@ Build using the C++14 standard Build using the C++17 standard Enable support for nVidia CUDA + Enable support for nVidia cuDNN library Enable support for DAVIX Data Management Client (https://cern.ch/davix) Enable support for images and data from FITS files with sci-libs/cfitsio Compile included Fortran programs diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild index 78fe99872047..ba2e0296e350 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 -- 2.26.2