Commit 4cd4016 1 parent 50289d6 commit 4cd4016 Copy full SHA for 4cd4016
File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ function(Spheral_Python_Env target_name)
31
31
32
32
#TODO: Remove this once blueos3 is no longer supported.
33
33
set (SPHERAL_USE_SITE_PACKAGES_OPT )
34
- set (SPHERAL_ENV_SYS_TYPE ENV{SYS_TYPE})
34
+ set (SPHERAL_ENV_SYS_TYPE $ ENV{SYS_TYPE} )
35
35
if (${SPHERAL_ENV_SYS_TYPE} STREQUAL "blueos_3_ppc64le_ib_p9" )
36
36
set (PIP_INSTALL_CMD env MPICC=${MPI_C_COMPILER} MPICXX=${MPI_CXX_COMPILER} CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER}
37
37
python -m pip install
@@ -41,6 +41,7 @@ function(Spheral_Python_Env target_name)
41
41
add_custom_target (${target_name} ALL
42
42
COMMAND ${Python3_EXECUTABLE} -m venv --system -site-packages ${${target_name} _PREFIX}/.venv;
43
43
COMMAND . ${${target_name} _PREFIX}/.venv/bin/activate &&
44
+
44
45
${PIP_INSTALL_CMD} ${REQUIREMENTS_ARGS}
45
46
46
47
DEPENDS Python3::Python
You can’t perform that action at this time.
0 commit comments