-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various version updates for spack-stack-1.5.0 (met, metplus, eckit, fckit, fiat, ecmwf-atlas) #304
Various version updates for spack-stack-1.5.0 (met, metplus, eckit, fckit, fiat, ecmwf-atlas) #304
Conversation
6b5b126
to
c0acdb1
Compare
61b6d16
to
f8335a0
Compare
f8335a0
to
28fe0d6
Compare
…into feature/version_updates_20230817
version("0.33.0", sha256="a91fffe9cecb51c6ee8549cbc20f8279e7b1f67dd90448e6c04c1889281b0600") | ||
version("0.32.1", sha256="3d1a46cb7f50e1a6ae9e7627c158760e132cc9f568152358e5f78460f1aaf01b") | ||
version("0.31.1", sha256="fa9274c74c40c2115b9c6120a7040e357b0c7f37b20b601b684d2a83a479cdfb") | ||
version("0.31.0", sha256="fa4ff8665544b8e19f79d171c540a9ca8bfc4127f52a3c4d4d618a2fe23354d7") | ||
|
||
depends_on("ecbuild", type=("build")) | ||
depends_on("eckit") | ||
depends_on("boost cxxstd=14 visibility=hidden", when="@0.26.0:", type=("build", "run")) | ||
depends_on("eckit@:1.23", when="@:0.33") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am creating this clear separation due to the update to C++-17 in eckit 1.24, fckit 0.11, ecmwf-atlas 0.34.
…version 1.2.0 requires a differently formatted patch
…into feature/version_updates_20230817
… vectorization patch
variant("fckit", default=True) | ||
depends_on("fckit", when="+fckit") | ||
depends_on("fckit@:0.10", when="@:0.33 +fckit") | ||
depends_on("[email protected]:", when="@0.34: +fckit") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
depends_on('eckit+mpi', when='+eckit') | ||
variant("eckit", default=True) | ||
depends_on("eckit@:1.23 +mpi", when="@:0.10 +eckit") | ||
depends_on("[email protected]: +mpi", when="@0.11: +eckit") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as for ecmwf-atlas. Clear cut between versions that ran fine with C++-11 standard and newer versions that require C++-17.
|
||
if "+python" in spec: | ||
python = spec["python"] | ||
# Syntax changed from 11.0.x to 11.1.y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take note of this please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeeehaw
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not an expert review, but looks good to me.
var/spack/repos/builtin/packages/ecmwf-atlas/intel_vectorization_v0p34.patch
Show resolved
Hide resolved
patch("apple-clang-string-cast-operator.patch", when="@10.1.1: %apple-clang@14:") | ||
patch("apple-clang-no-register.patch", when="@10.1.1: %apple-clang@14:") | ||
patch("apple-clang-string-cast-operator.patch", when="@10.1.1:11.0.99 %apple-clang@14:") | ||
patch("apple-clang-no-register.patch", when="@10.1.1:11.0.99 %apple-clang@14:") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the upper limit on the version numbers for these patches!
Note - to be merged as merge commit, not as squashed commit
I made sure that each commit was for a specific package only. Merging this as a merge commit allows us to identify the individual commits, to cherry-pick them for sending them upstream to spack etc.
Description
Several new versions for spack-stack-1.5.0 (individual commits):
[email protected]
(based on testing on Hercules)Note that due to the recent move to C++-17 for the ECMWF libraries, I am making a clear cut for the version dependencies. Versions of eckit/fckit/ecmwf-atlas that didn't strictly require C++-17 go together, and same for versions that do require C++-17.
Testing
This PR is tested as part of JCSDA/spack-stack#722