NOAA-EMC / NCEPLIBS-g2tmpl

GRIB2 codes and templates
Other
4 stars 9 forks source link

add spack-based CI build #100

Closed edwardhartnett closed 1 year ago

edwardhartnett commented 1 year ago

Fixes #99

edwardhartnett commented 1 year ago

@AlexanderRichert-NOAA can you help me figure out how to fix the spack build? It needs to account for BUILD_SHARED_LIBS but I don't know how to do that.

AlexanderRichert-NOAA commented 1 year ago

I added the variant/logic for it, but the setting is not currently by cmake. I believe the "STATIC" needs to be removed from the add_library line (line 39) in src/CMakeLists.txt.