Merge branch 'master' into staging
This commit is contained in:
@@ -50,7 +50,7 @@ buildPythonPackage rec {
|
||||
|
||||
function fixRunPath {
|
||||
p=$(patchelf --print-rpath $1)
|
||||
patchelf --set-rpath "$p:${cudatoolkit}/lib:${clblas}/lib:${nvidia_x11}/lib" $1
|
||||
patchelf --set-rpath "$p:${stdenv.lib.makeLibraryPath [ cudatoolkit clblas nvidia_x11 ]}" $1
|
||||
}
|
||||
|
||||
fixRunPath Install/lib/libgpuarray.so
|
||||
|
||||
@@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
findInputs ${boost} boost_dirs propagated-native-build-inputs
|
||||
findInputs ${boost.dev} boost_dirs propagated-native-build-inputs
|
||||
|
||||
export BOOST_INCLUDEDIR=$(echo $boost_dirs | sed -e s/\ /\\n/g - | grep '\-dev')/include
|
||||
export BOOST_LIBRARYDIR=$(echo $boost_dirs | sed -e s/\ /\\n/g - | grep -v '\-dev')/lib
|
||||
|
||||
Reference in New Issue
Block a user