Merge pull request #300294 from jonringer/xgboost-autoadd
xgboost: use pkgs.autoAddDriverRunpath
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
, cmake
|
||||
, gtest
|
||||
, doCheck ? true
|
||||
, autoAddDriverRunpath
|
||||
, cudaSupport ? config.cudaSupport
|
||||
, ncclSupport ? false
|
||||
, rLibrary ? false
|
||||
@@ -57,7 +58,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ]
|
||||
++ lib.optionals stdenv.isDarwin [ llvmPackages.openmp ]
|
||||
++ lib.optionals cudaSupport [ cudaPackages.autoAddDriverRunpath ]
|
||||
++ lib.optionals cudaSupport [ autoAddDriverRunpath ]
|
||||
++ lib.optionals rLibrary [ R ];
|
||||
|
||||
buildInputs = [ gtest ] ++ lib.optional cudaSupport cudaPackages.cudatoolkit
|
||||
|
||||
Reference in New Issue
Block a user