paraver: enable OpenMP
This commit is contained in:
parent
35d19c262c
commit
d2834624c2
@ -29,12 +29,13 @@ stdenv.mkDerivation rec {
|
|||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export CFLAGS="-O3"
|
export CFLAGS="-O3 -DPARALLEL_ENABLED"
|
||||||
export CXXFLAGS="-std=c++17 -O3"
|
export CXXFLAGS="-std=c++17 -O3 -DPARALLEL_ENABLED"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-boost=${boost}"
|
"--with-boost=${boost}"
|
||||||
|
"--enable-openmp"
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user