Open uturuncoglu opened 2 years ago
@becker33 @climbfuji I also forgot to mention but gcc patch for ESMF https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/esmf/gcc.patch
is failing with this version of code (up-to-date with head of develop of ESMF) since the code is already fixed in the ESMF side.
I am not sure how we need to check the version when we are trying to use branch to install ESMF as spack package since gcc patch is defined like following,
patch("gcc.patch", when="@:7.0 %gcc@6:")
So, it is version dependent but getting version from branch is not supported currently (I think). We could implement a way of running make info
first before the build and this will output bunch of staff related with the configuration but also output information like following
--------------------------------------------------------------
ESMF_VERSION_STRING: 8.4.0 beta snapshot
ESMF_VERSION_STRING_GIT: v8.4.0b09-17-g9b07e88eec
--------------------------------------------------------------
So, this can be parsed and used as a version but as I know there is no way to define version if you add as branch. Maybe ESMF_VERSION_STRING_GIT
can be retrieved with git command. Anyway, this is another thing that I need to explore. So, at this point the gcc patch can be manually commented for this special case.
Steps to reproduce
I tried to install a development branch of the ESMF package but it did not work. I just add following code to ESMF package.py to make available all branches and tags in the package.
and then I tried to install
esmf@io_multitile
.Error message
spack_debug.txt
Information on your system
General information
spack debug report
and reported the version of Spack/Python/Platform