Closed rmontuoro closed 2 years ago
I might implement this as -DLIBRARY_ONLY
but I'll discuss with @tclune today
@rmontuoro Do you build with pFUnit usually? I'm wondering how much I need to cover.
I discussed this issue briefly with others. How does NOAA deal with other packages that produce executables? Presumably they must have a script that deletes the executables from the install dirs?
@mathomp4 - We don't use pFUnit. Below are our current MAPL build flags:
-DBUILD_WITH_FLAP=OFF \
-DBUILD_WITH_PFLOGGER=OFF \
-DESMA_USE_GFE_NAMESPACE=ON \
-DBUILD_SHARED_MAPL=OFF \
-DUSE_EXTDATA2G=OFF \
@tclune - Don't know what the procedure is. Each package is examined on a case by case basis.
I think I would like to push back gently on this request. At the very least it might be more useful to refactor all of the various configuration options for NOAA into a single option. But the parallel request to eliminate the dependency on ecbuild is also leading me to push back more firmly on changes that do not align with GMAOs plans.
Since operations is presumably able to deal with binaries in other 3rd party packages, I would like to understand why such processes are not appropriate in the case of MAPL.
There is also the matter of interpretation as to what constitutes a binary. Currently our cmake package builds a number of small Fortran executables to test the capabilities of the compiler. We will not be circumventing this logic, so if the problem is "any" executable, it must be solved on NOAA's end.
This issue has now morphed into a request to remove URLs and email addresses from the source. We are ready to do this, but we need @rmontuoro to respond to these two aspects:
- Are "encoded" URLs acceptble. E.g., "my dot name at nasa dot gov"?
As a concrete example is data@gmao.gsfc.nasa.gov
→ data_AT_gmao_DOT_gsfc_DOT_nasa_DOT_gov
and acceptable translation?
Thank you for looking into our request. Here is our feedback:
OK - so don't tell them that I'm going to write a procedure generate_url
that takes a string vector and joins the strings with "." and prefaces a "https://" in front. I'll have disguise that bit as two separate strings.
Just kidding. But the temptation is real. :-)
A MAPL build without executables (libraries-only) is requested for deployment on operational systems at NOAA.
This could be accomplished by adding a build flag (e.g.
BUILD_WITH_EXE
).Below is an example of a patch implementing the build flag above: