Skip to content

Remove incorrect use of CASEROOT in 'bld/configure' - #1641

Open
briandobbins wants to merge 1 commit into
ESCOMP:cam_developmentfrom
briandobbins:configure_caseroot_var_fix
Open

Remove incorrect use of CASEROOT in 'bld/configure'#1641
briandobbins wants to merge 1 commit into
ESCOMP:cam_developmentfrom
briandobbins:configure_caseroot_var_fix

Conversation

@briandobbins

Copy link
Copy Markdown
Collaborator

This is a pretty unimportant change, but jumped out when looking at build warnings (which it doesn't actually change).

I noticed that the include path had "-I/SourceMods/sr.c.cam" on it, which turned out to be because of a failed expansion of CASEROOT, since it's a CIME variable, not an environment variable, so it $ENV{'CASEROOT'} expands to an emptry string.

The actual SourceMods/src.cam directory is included via the 'usr_src' bit, which is why everything still works.

Since all of this goes away with CAM-SIMA, if it's not worth merging now I understand, especially this close to release. I have some other PRs that will greatly reduce warnings that are reported on builds, but they go into other repos.

@cacraigucar
cacraigucar requested review from cacraigucar and removed request for cacraigucar August 17, 2026 19:58
@cacraigucar cacraigucar assigned cacraigucar and unassigned nusbaume Aug 17, 2026
@cacraigucar cacraigucar added the misc tag issue or PR candidate for upcoming misc tag label Aug 17, 2026
@cacraigucar cacraigucar moved this to Next Tag in CAM Development Aug 17, 2026
@cacraigucar cacraigucar removed the status in CAM Development Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

misc tag issue or PR candidate for upcoming misc tag

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants