File tree 3 files changed +5
-18
lines changed
3 files changed +5
-18
lines changed Original file line number Diff line number Diff line change 24
24
.gcc_spectrum :
25
25
variables :
26
26
SPEC : ' gcc@$GCC_VERSION^spectrum-mpi'
27
+ EXTRA_CMAKE_ARGS : ' -DENABLE_DEV_BUILD=On'
27
28
28
29
.clang_mvapich2 :
29
30
variables :
Original file line number Diff line number Diff line change @@ -224,14 +224,7 @@ function(spheral_add_pybind11_library package_name module_list_name)
224
224
225
225
# Get the TPL dependencies
226
226
get_property (SPHERAL_BLT_DEPENDS GLOBAL PROPERTY SPHERAL_BLT_DEPENDS)
227
- # If building shared libraries, use the SPHERAL_OBJ_LIBS global list
228
- # Note, LLNLSpheral has appended any local targets to this list as well
229
- if (ENABLE_DEV_BUILD)
230
- get_property (SPHERAL_DEPENDS GLOBAL PROPERTY SPHERAL_OBJ_LIBS)
231
- else ()
232
- # Otherwise, provide target names
233
- list (APPEND SPHERAL_DEPENDS Spheral_CXX ${${package_name} _DEPENDS})
234
- endif ()
227
+ list (APPEND SPHERAL_DEPENDS Spheral_CXX ${${package_name} _DEPENDS})
235
228
236
229
set (MODULE_NAME Spheral${package_name} )
237
230
PYB11Generator_add_module(${package_name}
Original file line number Diff line number Diff line change @@ -83,12 +83,7 @@ endforeach()
83
83
# For dev builds, we must call LLNLSpheralInstallObjs.cmake
84
84
# to ensure LLNLSpheral libraries are added to the Spheral_CXX
85
85
# target
86
- if (ENABLE_DEV_BUILD)
87
- # This calls LLNLSpheralInstallObjs.cmake
88
- if (EXISTS ${EXTERNAL_SPHERAL_OBJ_CMAKE} )
89
- include (${EXTERNAL_SPHERAL_OBJ_CMAKE} )
90
- endif ()
91
- else ()
86
+ if (NOT ENABLE_DEV_BUILD)
92
87
set (CXX_sources spheralCXX.cc)
93
88
endif ()
94
89
# Retrieve the global list populated in spheral_obj_add_library
@@ -97,8 +92,6 @@ get_property(SPHERAL_OBJ_LIBS GLOBAL PROPERTY SPHERAL_OBJ_LIBS)
97
92
spheral_add_cxx_library(CXX "${SPHERAL_OBJ_LIBS} " )
98
93
99
94
# This calls LLNLSpheralInstallObjs.cmake
100
- if (NOT ENABLE_DEV_BUILD)
101
- if (EXISTS ${EXTERNAL_SPHERAL_OBJ_CMAKE} )
102
- include (${EXTERNAL_SPHERAL_OBJ_CMAKE} )
103
- endif ()
95
+ if (EXISTS ${EXTERNAL_SPHERAL_OBJ_CMAKE} )
96
+ include (${EXTERNAL_SPHERAL_OBJ_CMAKE} )
104
97
endif ()
You can’t perform that action at this time.
0 commit comments