Skip to content

Commit

Permalink
Merge pull request #13622 from jmlapre/TRILFRAME-674
Browse files Browse the repository at this point in the history
Framework: Add support for using EXTRA_CONFIGURE_ARGS env variable
  • Loading branch information
jmlapre authored Dec 5, 2024
2 parents b4c1e05 + fccec09 commit c6b0853
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/framework/ini-files/config-specs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1565,6 +1565,12 @@ opt-set-cmake-var Trilinos_ENABLE_TESTS BOOL FORCE : OFF
use rhel8_sems-cuda-11.4.2-gnu-10.1.0-openmpi-4.1.6_release_static_Volta70_no-asan_complex_no-fpic_mpi_pt_no-rdc_uvm_deprecated-on_no-package-enables
use PACKAGE-ENABLES|ALL-NO-EPETRA

[rhel8_sems-cuda-11.4.2-gnu-10.1.0-openmpi-4.1.6_release_static_Volta70_no-asan_complex_no-fpic_mpi_pt_no-rdc_uvm_deprecated-on_all-no-epetra]
use rhel8_sems-cuda-11.4.2-gnu-10.1.0-openmpi-4.1.6_release_static_Volta70_no-asan_complex_no-fpic_mpi_pt_no-rdc_uvm_deprecated-on_all

use CUDA11-RUN-SERIAL-TESTS
opt-set-cmake-var Trilinos_ENABLE_TESTS BOOL FORCE : ON

[rhel8_sems-cuda-11.4.2-gnu-10.1.0-openmpi-4.1.6_release_static_Volta70_no-asan_complex_no-fpic_mpi_pt_no-rdc_no-uvm_deprecated-on_no-package-enables]
# uses sems-v2 modules
use RHEL8
Expand Down
3 changes: 3 additions & 0 deletions packages/framework/pr_tools/LaunchDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,11 @@ def main(argv):
if args.kokkos_develop:
cmd += " --kokkos-develop"

# extra-configure-args flag currently takes precedence over the env. var.
if args.extra_configure_args:
cmd += f" --extra-configure-args=\"{args.extra_configure_args}\""
elif os.getenv("EXTRA_CONFIGURE_ARGS"):
cmd += f" --extra-configure-args=\"{os.getenv('EXTRA_CONFIGURE_ARGS')}\""

print("LaunchDriver> EXEC: " + cmd, flush=True)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,8 @@ def prepare_test(self):
"F77",
"F90",
"FC",
"MODULESHOME"
"MODULESHOME",
"EXTRA_CONFIGURE_ARGS"
]
self.message("")
tr_env.set_environment.pretty_print_envvars(envvar_filter=envvars_to_print)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class TrilinosPRConfigurationStandard(TrilinosPRConfigurationBase):
Implements Standard mode Trilinos Pull Request Driver
"""
def __init__(self, args):
super(TrilinosPRConfigurationStandard, self).__init__(args)
super().__init__(args)


def execute_test(self):
Expand Down

0 comments on commit c6b0853

Please sign in to comment.