Skip to content

Commit

Permalink
Update icebergs source path in nolibs build
Browse files Browse the repository at this point in the history
The icebergs project now includes drivers and tests which can interfere
with the coupled nolibs build, so we only pass its src directory to
mkmf.
  • Loading branch information
marshallward committed Jun 26, 2023
1 parent 7bb452b commit 1f0c92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab/pipeline-ci-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ nolibs-ocean-ice-compile () {
mkdir -p build-ocean-ice-nolibs-$1
cd build-ocean-ice-nolibs-$1
make -f ../tools/MRS/Makefile.build ./$1/env BUILD=. ENVIRON=../../environ -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}
../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/icebergs/src ../src/{FMS1,coupler,ice_param,land_null,atmos_null}
sed -i '/FMS1\/.*\/test_/d' path_names
../src/mkmf/bin/mkmf -t ../src/mkmf/templates/ncrc5-$1.mk -p MOM6 -c"-Duse_libMPI -Duse_netCDF -D_USE_LEGACY_LAND_ -Duse_AM3_physics" path_names
(source $1/env ; make NETCDF=3 REPRO=1 MOM6 -s -j)
Expand Down

0 comments on commit 1f0c92f

Please sign in to comment.