Closed pmspire closed 3 years ago
Perhaps counterintuitive, but you need to run make tarball
and it will start the download process (without building) and create a tarball in the main directory.
We can update the documentation to make this more clear.
We use ExternalProject_Add to do the download and it starts at build time when you run make instead of configure time when you run CMake.
Thank you, @kgerheiser! I should have read further and realized that an extra step is necessary, instead of stopping short after examining the download
directory. A slight tweak to the docs might help someone, but this one's on me.
Pushing my luck a bit, do you happen to know if there's a strong correspondence between the libsrc
submodule in https://github.com/NOAA-EMC/GSI (which, unfortunately, is not yet public as far as I can tell, and is only available via NOAA-private git) and this NCEPLIBS repo here? I'm trying to build GSI and have had trouble getting it to find pre-built bacio
, bufr
, etc., as described in https://github.com/NOAA-EMC/GSI/issues/93. In addition to the approach I describe in that issue, I also tried building NCEPLIBS from this repo as a first step (successful) and then getting GSI to find it (unsuccessful so far). So, my current interest in getting the NCEPLIBS source tarball is in hopes that I can populate GSI's libsrc
directory with its contents, maybe with some renaming, and get GSI to build the support libraries itself, as if git had been able to populate the libsrc
directory from the submodule.
Probably my question is out of scope here, but it never hurts to ask.
Describe the bug I try to use
-DDOWNLOAD_ONLY=ON
as described inREADME.md
to download the source code for the libraries, but thedownload
directory thus created is a shallow hierarchy of empty directories, with no source files.To Reproduce
Expected behavior A
download
directory populated with source code.Build Information See above.
System Linux (RHEL 7.7)