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.

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