Skip to content

Commit

Permalink
Merge pull request #58 from GEOS-ESM/feature/wjiang/for_sparse
Browse files Browse the repository at this point in the history
prepare for sparse checkout
  • Loading branch information
sdrabenh authored Feb 21, 2024
2 parents eda40af + edb5908 commit 2e6fe63
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Update CMakeLists.txt so it is ready for sparse checkout
- Update CI to v2 orb
- Move to use `cp` and `tar` at NAS rather than the deprecated `mcp` and `mtar`

Expand Down
12 changes: 7 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
add_subdirectory(pre)
add_subdirectory(plots)
add_subdirectory(post)
add_subdirectory(coupled_diagnostics)

set (alldirs
pre
plots
post
coupled_diagnostics
)
esma_add_subdirectories (${alldirs})
15 changes: 10 additions & 5 deletions pre/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
add_subdirectory(NSIDC-OSTIA_SST-ICE_blend)
add_subdirectory(prepare_ocnExtData)
set (alldirs
NSIDC-OSTIA_SST-ICE_blend
prepare_ocnExtData
)
esma_add_subdirectories (${alldirs})

file(GLOB pythonscripts CONFIGURE_DEPENDS ./remap_restart/remap* ./remap_restart/bin2nc_merra2* ./remap_restart/tests/*.*)

Expand All @@ -13,6 +16,8 @@ set(file ./remap_restart/remap_utils.py)
configure_file(${file} ${file} @ONLY)
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${file} DESTINATION bin)

install(
PROGRAMS regrid.pl
DESTINATION bin)
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/regrid.pl)
install(
PROGRAMS regrid.pl
DESTINATION bin)
endif()

0 comments on commit 2e6fe63

Please sign in to comment.