Skip to content

Commit

Permalink
Try fix lai setting
Browse files Browse the repository at this point in the history
  • Loading branch information
bmhan12 committed Apr 18, 2024
1 parent ada149c commit b9f7735
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,19 @@ jobs:
# there's no conflict with the host-config files.
# Hypre
ENABLE_HYPRE=${{ inputs.ENABLE_HYPRE }}
if [ ! -z "${{ inputs.ENABLE_HYPRE }}" ]; then
script_args+=(--enable-hypre "${{ inputs.ENABLE_HYPRE }}")
fi
# Trilinos
ENABLE_TRILINOS=${{ inputs.ENABLE_TRILINOS }}
if [ ! -z "${{ inputs.ENABLE_TRILINOS }}" ]; then
script_args+=(--enable-hypre "${{ inputs.ENABLE_TRILINOS }}")
script_args+=(--enable-trilinos "${{ inputs.ENABLE_TRILINOS }}")
fi
# TODO test ENABLE_HYPRE_DEVICE
# ENABLE_HYPRE_DEVICE
ENABLE_HYPRE_DEVICE=${{ inputs.ENABLE_HYPRE_DEVICE }}
if [ ! -z "${{ inputs.ENABLE_HYPRE_DEVICE }}" ]; then
script_args+=(--enable-hypre-device "${{ inputs.ENABLE_HYPRE_DEVICE }}")
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci_build_and_test_in_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ exit 1
or_die cd $(dirname $0)/..

# Parsing using getopt
args=$(or_die getopt -a -o h --long build-exe-only,cmake-build-type:,code-coverage,data-basename:,exchange-dir:,host-config:,install-dir-basename:,no-install-schema,no-run-unit-tests,repository:,run-integrated-tests,sccache-credentials:,test-code-style,test-documentation,help -- "$@")
args=$(or_die getopt -a -o h --long build-exe-only,cmake-build-type:,code-coverage,data-basename:,enable-hypre:,enable-hypre-device:,enable-trilinos:,exchange-dir:,host-config:,install-dir-basename:,no-install-schema,no-run-unit-tests,repository:,run-integrated-tests,sccache-credentials:,test-code-style,test-documentation,help -- "$@")

# Variables with default values
BUILD_EXE_ONLY=false
Expand Down

0 comments on commit b9f7735

Please sign in to comment.