Skip to content

Restore the Submodules gitlinks that the #3950 merge turned into symlinks - #4003

Merged
asalmgren merged 1 commit into
erf-model:developmentfrom
hgopalan:fix-submodule-symlinks
Sep 14, 2026
Merged

asalmgren merged 1 commit into
erf-model:developmentfrom
hgopalan:fix-submodule-symlinks

Conversation

@hgopalan

Copy link
Copy Markdown
Contributor

Commit bee7f94 (the last commit on the two-stream branch before the #3950 merge) replaced every entry under Submodules/ (AMReX, Noah-MP, RRTMGP, WW3, ekat, googletest) with a symbolic link to /home/almgren/TEMP/ERF/Submodules/<name>, a path on one machine:

$ git ls-files -s Submodules
120000 43be825f3... 0  Submodules/AMReX      ->  /home/almgren/TEMP/ERF/Submodules/AMReX
...

The merge commit 50b55ec carried that onto development. A fresh clone (or the CI checkout) then has no AMReX or googletest source and CMake stops at the first add_subdirectory:

CMake Error at CMakeLists.txt:232 (add_subdirectory):
  add_subdirectory given source ".../Submodules/AMReX" which is not an existing directory.

This puts the six gitlinks back at the commits recorded just before that change (7ff1672), which are the pointers development had. No submodule is moved to a different commit.

Found while starting a build on a fresh worktree of development; verified by git submodule update --init and a full CMake configure on this branch.

🤖 Generated with Claude Code

Commit bee7f94 on the two-stream branch replaced every entry under
Submodules/ (AMReX, Noah-MP, RRTMGP, WW3, ekat, googletest) with a symbolic
link to /home/almgren/TEMP/ERF/Submodules/<name>, a path on one machine,
and the merge of erf-model#3950 carried that onto development. A fresh clone then
has no AMReX or googletest source, so CMake stops at add_subdirectory.

This puts the gitlinks back at the commits recorded just before that
change (7ff1672), which are the pointers development had.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@asalmgren
asalmgren merged commit 34f4969 into erf-model:development Sep 14, 2026
35 of 47 checks passed
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.

2 participants