Skip to content

Launch fewer CMake subprocesses - #356

Merged
BenjaminTJohnson merged 1 commit into
developfrom
feature/reduce_cmake_subprocs
Aug 17, 2026
Merged

BenjaminTJohnson merged 1 commit into
developfrom
feature/reduce_cmake_subprocs

Conversation

@fmahebert

Copy link
Copy Markdown
Contributor

Description

This PR updates how symlinks are handled by CRTM, to reduce the number of CMake processes being launched and speed up CMake configuration time. See https://github.com/JCSDA-internal/jedi-bundle/issues/157.

  • Replace execute_process( ... -E create_symlink ) with file( CREATE_LINK ... SYMBOLIC )

Issue(s) addressed

Towards https://github.com/JCSDA-internal/jedi-bundle/issues/157

Dependencies

Impact

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have run the unit tests before creating the PR

@climbfuji climbfuji left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me, but I haven't tested it.

@srherbener srherbener left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@BenjaminTJohnson
BenjaminTJohnson merged commit 5fdeea8 into develop Aug 17, 2026
1 of 2 checks passed
@BenjaminTJohnson
BenjaminTJohnson deleted the feature/reduce_cmake_subprocs branch August 17, 2026 21:21
BenjaminTJohnson added a commit that referenced this pull request Aug 25, 2026
Brings in v3.1.5 (PR #364: netCDF SpcCoeff sibling-load fix + test_NLTE_Verification)
and the CMake download/untar refactors (PR #354, #356).

Conflict resolution:
- CMakeLists.txt, VERSION.cmake, README.md: keep the 3.2.0 version strings;
  add the v3.1.5 line to the README release history.
- SpcCoeff_netCDF_IO.f90: keep this branch's version. develop's fix is a
  subset of it (same sibling load, minus the "no sibling found" INFORMATION
  messages).
- test/CMakeLists.txt: keep the fix_REL-3.2.0.0 tarball/checksum on top of
  develop's combined download+untar block; keep the netCDF-only coefficient
  staging list and add the iasi616_metop-b SpcCoeff/NLTECoeff/TauCoeff set
  the new test needs; port the testinput_no_siblings staging block to the
  netCDF filenames since the 3.2.0 tarball ships no .bin coefficients.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants