From a93ced5eb80aac04320676cd5e5ab9422f0455ec Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Thu, 5 Mar 2020 11:06:55 -0700 Subject: [PATCH] need to explicitly state compiler used --- src/build_scripts/buildlib.cprnc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/build_scripts/buildlib.cprnc b/src/build_scripts/buildlib.cprnc index 25aab6600cc..53be9bd6219 100755 --- a/src/build_scripts/buildlib.cprnc +++ b/src/build_scripts/buildlib.cprnc @@ -47,8 +47,8 @@ def buildlib(bldroot, installpath, case): cimeroot = case.get_value("CIMEROOT") # Generate macros and environment - - run_bld_cmd_ensure_logging("{}/tools/configure --mpilib=mpi-serial --macros-format=CMake --machine={}".format(cimeroot, case.get_value("MACH")), logger, from_dir=bldroot) + compiler = case.get_value("COMPILER") + run_bld_cmd_ensure_logging("{}/tools/configure --mpilib=mpi-serial --macros-format=CMake --machine={} --compiler={}".format(cimeroot, case.get_value("MACH"), compiler), logger, from_dir=bldroot) cmake_args = get_standard_cmake_args(case, shared_lib=True)