feat(build): support Depends.OS.COMPILER (e.g. Depends.Darwin.gnu) in configure and Makefile - #5026
Open
johnpaulalex wants to merge 1 commit into
Open
feat(build): support Depends.OS.COMPILER (e.g. Depends.Darwin.gnu) in configure and Makefile#5026johnpaulalex wants to merge 1 commit into
johnpaulalex wants to merge 1 commit into
Conversation
8 tasks
johnpaulalex
force-pushed
the
build/darwinize-depends
branch
from
August 12, 2026 16:41
1f40514 to
9d963f7
Compare
… configure and Makefile
johnpaulalex
force-pushed
the
build/darwinize-depends
branch
from
August 12, 2026 16:54
9d963f7 to
a24867c
Compare
Member
|
This seems like a very useful feature - thank you @johnpaulalex @jgfouca / @jasonb5 - is this something in a code path that E3SM also uses? If so, can one of you review it? @fischer-ncar I am tentatively assigning you as reviewer from the CESM side. |
Contributor
|
@billsacks , we don't (and probably won't) use this feature. It should be harmless for you guys to add this though. |
fischer-ncar
approved these changes
Aug 12, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5026 +/- ##
==========================================
+ Coverage 28.47% 37.16% +8.69%
==========================================
Files 262 134 -128
Lines 38446 19629 -18817
Branches 8138 4161 -3977
==========================================
- Hits 10948 7296 -3652
+ Misses 26237 11503 -14734
+ Partials 1261 830 -431 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
Enhances CIME's
Dependsfile resolution to automatically detect and load OS-levelDependsfiles (e.g.,Depends.Darwin.gnuorDepends.Darwin):CIME/BuildTools/configure.py: Addsos_nameas a required 5th positional argument tocopy_depends_filesso it checks forDepends.<OS>.<COMPILER>andDepends.<OS>inmachines_dirand copies them to<CASEROOT>.CIME/case/case_setup.py: Passesos_as the 5th positional argument during_create_macros_cmake.CIME/Tools/Makefile: Adds$(CASEROOT)/Depends.$(OS)and$(CASEROOT)/Depends.$(OS).$(COMPILER)to the Makefile-includelist.Specific notes
Contributors other than yourself, if any:
Linked issues addressed, if any:
Description of generative AI usage:
Answer Changes & Scientific Impact
User Interface & Namelist Changes
CIME/BuildTools/configure.py,CIME/case/case_setup.py,CIME/Tools/Makefile)Testing planned or performed, if any:
python3 -m unittest CIME/tests/test_unit_case_setup.py).CTSM / CESM baseline hash-tag:
8961a1142PR branch hash-tag:
a24867cb2Requirements before merge: