File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ module load openmpi
15
15
export HPXRUN_RUNWRAPPER=srun
16
16
export CXX_STD=" 20"
17
17
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
18
+ export CXXFLAGS=" -fopenmp -Wno-pass-failed ${CXXFLAGS} "
18
19
19
20
configure_extra_options+=" -DCMAKE_BUILD_TYPE=${build_type} "
20
21
configure_extra_options+=" -DHPX_WITH_CXX_STANDARD=${CXX_STD} "
21
- configure_extra_options+=" -DCMAKE_CXX_FLAGS=-fopenmp"
22
22
configure_extra_options+=" -DHPX_WITH_MALLOC=system"
23
23
configure_extra_options+=" -DHPX_WITH_FETCH_ASIO=ON"
24
24
configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS=ON"
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ module load openmpi
15
15
export HPXRUN_RUNWRAPPER=srun
16
16
export CXX_STD=" 20"
17
17
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
18
+ export CXXFLAGS=" -fopenmp ${CXXFLAGS} "
18
19
19
20
configure_extra_options+=" -DHPX_WITH_CXX_STANDARD=${CXX_STD} "
20
- configure_extra_options+=" -DCMAKE_CXX_FLAGS=-fopenmp"
21
21
configure_extra_options+=" -DHPX_WITH_MALLOC=system"
22
22
configure_extra_options+=" -DHPX_WITH_FETCH_ASIO=ON"
23
23
configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS=ON"
You can’t perform that action at this time.
0 commit comments