From 3f2b79d09cdb74c01bb61666869fdc68938dbdfb Mon Sep 17 00:00:00 2001 From: Cory Martin Date: Fri, 20 Oct 2023 15:13:29 -0400 Subject: [PATCH] Fix issues on hera (#688) --- CMakeLists.txt | 3 +++ build.sh | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cbcb1d3c..b26b64b5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,9 @@ if(BUILD_GDASBUNDLE) ecbuild_bundle( PROJECT oops GIT "https://github.com/jcsda/oops.git" BRANCH develop) ecbuild_bundle( PROJECT vader GIT "https://github.com/jcsda/vader.git" BRANCH develop ) ecbuild_bundle( PROJECT saber GIT "https://github.com/jcsda/saber.git" BRANCH develop ) + option(ENABLE_IODA_DATA "Obtain ioda test data from ioda-data repository (vs tarball)" ON) ecbuild_bundle( PROJECT ioda GIT "https://github.com/jcsda/ioda.git" BRANCH develop ) + option(ENABLE_UFO_DATA "Obtain ufo test data from ufo-data repository (vs tarball)" ON) ecbuild_bundle( PROJECT ufo GIT "https://github.com/jcsda/ufo.git" BRANCH develop ) # FMS and FV3 dynamical core @@ -87,6 +89,7 @@ if(BUILD_GDASBUNDLE) # fv3-jedi and associated repositories ecbuild_bundle( PROJECT femps GIT "https://github.com/jcsda/femps.git" BRANCH develop ) ecbuild_bundle( PROJECT fv3-jedi-lm GIT "https://github.com/jcsda/fv3-jedi-linearmodel.git" BRANCH develop ) + option(ENABLE_FV3_JEDI_DATA "Obtain fv3-jedi test data from fv3-jedi-data repository (vs tarball)" ON) ecbuild_bundle( PROJECT fv3-jedi GIT "https://github.com/jcsda/fv3-jedi.git" BRANCH develop ) # SOCA associated repositories diff --git a/build.sh b/build.sh index 06410d6d6..448bd0a50 100755 --- a/build.sh +++ b/build.sh @@ -101,6 +101,12 @@ mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} WORKFLOW_BUILD=${WORKFLOW_BUILD:-"OFF"} CMAKE_OPTS+=" -DWORKFLOW_TESTS=${WORKFLOW_BUILD}" +# JCSDA changed test data things, need to make a dummy CRTM directory +if [[ $BUILD_TARGET == 'hera' ]]; then + mkdir -p $dir_root/test-data-release/ + ln -sf $GDASAPP_TESTDATA/crtm $dir_root/test-data-release/crtm +fi + # Configure echo "Configuring ..." set -x