Skip to content

Commit a090c3b

Browse files
committed
Add LAI interface toggle
1 parent 1749784 commit a090c3b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

scripts/ci_build_and_test_in_container.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,15 @@ args=$(or_die getopt -a -o h --long build-exe-only,cmake-build-type:,code-covera
8080
BUILD_EXE_ONLY=false
8181
GEOSX_INSTALL_SCHEMA=true
8282
HOST_CONFIG="host-configs/environment.cmake"
83-
ENABLE_HYPRE=ON
83+
ENABLE_HYPRE=OFF
8484
ENABLE_HYPRE_DEVICE=CPU
85+
GEOSX_LA_INTERFACE=Trilinos
8586
RUN_UNIT_TESTS=true
8687
RUN_INTEGRATED_TESTS=false
8788
UPLOAD_TEST_BASELINES=false
8889
TEST_CODE_STYLE=false
8990
TEST_DOCUMENTATION=false
90-
ENABLE_TRILINOS=OFF
91+
ENABLE_TRILINOS=ON
9192
CODE_COVERAGE=false
9293
NPROC="$(nproc)"
9394

@@ -144,6 +145,10 @@ if [[ -z "${GEOSX_DIR}" ]]; then
144145
GEOSX_DIR=/dev/null
145146
fi
146147

148+
if [[ "${ENABLE_HYPRE}" = ON ]]; then
149+
GEOSX_LA_INTERFACE=Hypre
150+
fi
151+
147152
if [[ ! -z "${SCCACHE_CREDS}" ]]; then
148153
# The credential json file is available at the root of the geos repository.
149154
# We hereafter create the config file that points to it.
@@ -239,6 +244,7 @@ or_die python3 scripts/config-build.py \
239244
-DENABLE_HYPRE=${ENABLE_HYPRE} \
240245
-DENABLE_HYPRE_DEVICE=${ENABLE_HYPRE_DEVICE} \
241246
-DENABLE_TRILINOS=${ENABLE_TRILINOS} \
247+
-DGEOSX_LA_INTERFACE:PATH=${GEOSX_LA_INTERFACE} \
242248
-DENABLE_COVERAGE=$([[ "${CODE_COVERAGE}" = true ]] && echo 1 || echo 0) \
243249
${SCCACHE_CMAKE_ARGS} \
244250
${ATS_CMAKE_ARGS}

0 commit comments

Comments
 (0)