caffe: fix python build
This commit is contained in:
committed by
Frederik Rietdijk
parent
5f597d4b4c
commit
955ed925e5
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
||||
cmakeFlags =
|
||||
# It's important that caffe is passed the major and minor version only because that's what
|
||||
# boost_python expects
|
||||
[ (if pythonSupport then "-Dpython_version=3${python.pythonVersion}" else "-DBUILD_python=OFF")
|
||||
[ (if pythonSupport then "-Dpython_version=${python.pythonVersion}" else "-DBUILD_python=OFF")
|
||||
"-DBLAS=open"
|
||||
] ++ (if cudaSupport then [
|
||||
"-DCUDA_ARCH_NAME=All"
|
||||
|
||||
Reference in New Issue
Block a user