Skip to content

Commit

Permalink
GitLab: Fix nolib build directories
Browse files Browse the repository at this point in the history
The Gaea GitLab test configuration includes two no-library compilation
tests for ocean-only and ice-ocean configurations.  They are currently
configured to run in the same directory.

Recently, several unusual I/O errors suggest problems due to concurrent
testing of the builds.  In order to rule out this possibility, this
patch moves the ice-ocean test to a separate directory.
  • Loading branch information
marshallward committed Nov 25, 2022
1 parent 571ddd9 commit 16016b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab/pipeline-ci-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ nolibs-ocean-ice-compile () {
section-start nolibs-ocean-ice-compile-$1 "Compiling ocean-ice $1 executable"
if [ ! $DRYRUN ] ; then
cd $JOB_DIR/$STATS_REPO_DIR/$CONFIGS_DIR
mkdir -p build-ocean-only-nolibs-$1
cd build-ocean-only-nolibs-$1
mkdir -p build-ocean-ice-nolibs-$1
cd build-ocean-ice-nolibs-$1
make -f ../tools/MRS/Makefile.build ./$1/env BUILD=. -s
../src/mkmf/bin/list_paths -l ../src/MOM6/config_src/{drivers/FMS_cap,memory/dynamic_symmetric,infra/FMS1,ext*} ../src/MOM6/src ../src/SIS2/*src ../src/{FMS1,coupler,icebergs,ice_param,land_null,atmos_null}
sed -i '/FMS1\/.*\/test_/d' path_names
Expand Down

0 comments on commit 16016b8

Please sign in to comment.