You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WIth spack-stack-1.7.0, we revert to the spack develop version of UPPERCASEPACKAGENAME_ROOT instead of CaseSensitivePackageName_ROOT. This will require changing esmf_ROOT to ESMF_ROOT in `CMakelistst.txt:
I am surprised to find the spack-stack convention (CaseSensitivePackageName_ROOT) in CMakeLists.txt, since I though GEOS so far didn't use spack-stack. If your build systems also set esmf_ROOT, can you either consider changing those to ESMF_ROOT as well, or check for both esmf_ROOT and ESMF_ROOT inCMakeLists.txt, please?
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a5e6810..cef7ff7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,9 +57,9 @@ if (NOT Baselibs_FOUND)
endif()
if (NOT TARGET esmf)
- if (DEFINED ENV{esmf_ROOT})
- message (STATUS "Found esmf_ROOT in environment: $ENV{esmf_ROOT}")
- find_path(ESMF_CMAKE_PATH FindESMF.cmake HINTS "$ENV{esmf_ROOT}/cmake")
+ if (DEFINED ENV{ESMF_ROOT})
+ message (STATUS "Found ESMF_ROOT in environment: $ENV{ESMF_ROOT}")
+ find_path(ESMF_CMAKE_PATH FindESMF.cmake HINTS "$ENV{ESMF_ROOT}/cmake")
message (STATUS "Found FindESMF.cmake in: ${ESMF_CMAKE_PATH}")
if (ESMF_CMAKE_PATH)
message (STATUS "Appending to CMAKE_PREFIX_PATH: ${ESMF_CMAKE_PATH}")
The text was updated successfully, but these errors were encountered:
@climbfuji My guess is this code is pretty much tested by you. I mean, I have built GEOS with mainline Spack and I guess it must be good enough? But you are our main customer for this, so a PR is incoming!
WIth spack-stack-1.7.0, we revert to the spack develop version of
UPPERCASEPACKAGENAME_ROOT
instead ofCaseSensitivePackageName_ROOT
. This will require changingesmf_ROOT
toESMF_ROOT
in `CMakelistst.txt:GEOSgcm/CMakeLists.txt
Line 60 in 53409fd
I am surprised to find the spack-stack convention (
CaseSensitivePackageName_ROOT
) inCMakeLists.txt
, since I though GEOS so far didn't use spack-stack. If your build systems also setesmf_ROOT
, can you either consider changing those toESMF_ROOT
as well, or check for bothesmf_ROOT
andESMF_ROOT
inCMakeLists.txt
, please?The text was updated successfully, but these errors were encountered: