Open billsacks opened 4 years ago
See ESCOMP/CTSM@a1b038683 . These changes were needed to build / run lilac without mosart. Once we want to support mosart in lilac, we'll need to add some of those deleted lines back in buildlib, possibly conditionally. (I think the rest of the changes in that commit can remain as is, but see the commit log message for details.)
At some point we need to bring this branch in to MOSART's main branch, so that we can run LILAC with MOSART. However, I'm not quite ready to do so, for a few reasons:
I haven't reviewed these changes
We don't have any tests in place that exercise this new cap
From a very quick look, I noticed that the
buildlib
changes will need to be revised: we no longer use an environment variable to indicate that we're using LILAC, but instead use an xml variable defined in CTSM'sconfig_component.xml
. So we should query that XML variable, but do so in a way that, if the variable isn't found, then we proceed assuming that we're NOT using LILAC (so that this works in a case that includes MOSART without CTSM - e.g., with a data land model).So for now I'm opening a PR so that we remember to bring this in at some point, but as far as I'm concerned, this can remain open for a while.
cc @mvertens @ekluzek