Skip to content

Commit

Permalink
possible testscript fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-clmsn committed Oct 13, 2023
1 parent e25d25a commit 13d5de4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmake/HPX_AddTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,14 @@ function(add_hpx_test category name)
set(Python_EXECUTABLE ${PYTHON_EXECUTABLE})
endif()

set(ENV_VAR "")
if(HPX_WITH_PARCELPORT_GASNET)
set(ENV_VAR "GASNET_PSHM_NODES=2")
endif()

# cmake-format: off
set(cmd
${ENV_VAR}
"${Python_EXECUTABLE}"
"${_script_location}/bin/hpxrun.py"
${CMAKE_CROSSCOMPILING_EMULATOR}
Expand Down

0 comments on commit 13d5de4

Please sign in to comment.