Skip to content

Commit

Permalink
Updates to replace svn checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Goldhaber committed Dec 5, 2023
1 parent 80ac88c commit 9e019e8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 23 deletions.
21 changes: 8 additions & 13 deletions Externals_CAM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,19 @@ local_path = src/physics/carma/base
required = True

[cosp2]
protocol = svn
tag = v2.1.4cesm/src
repo_url = https://github.com/CFMIP/COSPv2.0/tags/
protocol = git
tag = v2.1.4cesm
repo_url = https://github.com/CFMIP/COSPv2.0
local_path = src/physics/cosp2/src
sparse = ../.cosp_sparse_checkout
required = True

[clubb]
protocol = svn
tag = clubb_4ncar_20221129_59cb19f_20230330_branchtag/src/CLUBB_core
repo_url = https://github.com/larson-group/clubb_release/tags/
protocol = git
tag = clubb_4ncar_20221129_59cb19f_20230330_branchtag
repo_url = https://github.com/larson-group/clubb_release
local_path = src/physics/clubb
required = True

[silhs]
protocol = svn
tag = clubb_4ncar_20221129_59cb19f_20230330_branchtag/src/SILHS
repo_url = https://github.com/larson-group/clubb_release/tags/
local_path = src/physics/silhs
sparse = ../.clubb_sparse_checkout
required = True

[pumas]
Expand Down
19 changes: 9 additions & 10 deletions bld/configure
Original file line number Diff line number Diff line change
Expand Up @@ -2194,11 +2194,11 @@ sub write_filepath
}

if ($clubb_sgs) {
print $fh "$camsrcdir/src/physics/clubb\n";
print $fh "$camsrcdir/src/physics/clubb/src/CLUBB_core\n";
}

if ($silhs) {
print $fh "$camsrcdir/src/physics/silhs\n";
print $fh "$camsrcdir/src/physics/clubb/src/SILHS\n";
}

if ($phys_pkg eq 'cam_dev') {
Expand Down Expand Up @@ -2294,14 +2294,13 @@ sub write_cosp_makefile
CAM_BLD := $cam_bld
COSP_PATH := $cam_dir/src/physics/cosp2
ISCCP_PATH := $cam_dir/src/physics/cosp2/src/simulator/icarus
RS_PATH := $cam_dir/src/physics/cosp2/src/simulator/quickbeam
RT_PATH := $cam_dir/src/physics/cosp2/src/simulator/rttov
CS_PATH := $cam_dir/src/physics/cosp2/src/simulator/actsim
MISR_PATH := $cam_dir/src/physics/cosp2/src/simulator/MISR_simulator
MODIS_PATH := $cam_dir/src/physics/cosp2/src/simulator/MODIS_simulator
PARASOL_PATH := $cam_dir/src/physics/cosp2/src/simulator/parasol
ISCCP_PATH := $cam_dir/src/physics/cosp2/src/src/simulator/icarus
RS_PATH := $cam_dir/src/physics/cosp2/src/src/simulator/quickbeam
RT_PATH := $cam_dir/src/physics/cosp2/src/src/simulator/rttov
CS_PATH := $cam_dir/src/physics/cosp2/src/src/simulator/actsim
MISR_PATH := $cam_dir/src/physics/cosp2/src/src/simulator/MISR_simulator
MODIS_PATH := $cam_dir/src/physics/cosp2/src/src/simulator/MODIS_simulator
PARASOL_PATH := $cam_dir/src/physics/cosp2/src/src/simulator/parasol
EOF

# Copy the "template" makefile to the new makefile.
Expand Down
2 changes: 2 additions & 0 deletions src/physics/.clubb_sparse_checkout
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/CLUBB_core
src/SILHS
1 change: 1 addition & 0 deletions src/physics/cosp2/.cosp_sparse_checkout
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/src/

0 comments on commit 9e019e8

Please sign in to comment.