forked from C2SM/spack-c2sm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev_v0.21.1' into uenv
- Loading branch information
Showing
32 changed files
with
102 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "spack"] | ||
path = spack | ||
url = https://github.com/dominichofer/spack.git | ||
url = https://github.com/spack/spack.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,21 @@ | ||
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other | ||
# Spack Project Developers. See the top-level COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||
|
||
from spack.package import * | ||
|
||
from spack.pkg.builtin.fdb import Fdb as SpackFdb | ||
|
||
|
||
class Fdb(SpackFdb): | ||
"""FDB (Fields DataBase) is a domain-specific object store developed at | ||
ECMWF for storing, indexing and retrieving GRIB data.""" | ||
|
||
version("5.11.17", | ||
sha256= | ||
"375c6893c7c60f6fdd666d2abaccb2558667bd450100817c0e1072708ad5591e") | ||
|
||
depends_on("[email protected]:", type="build", when="@5.11.6:") | ||
# This section can be removed when the following commit | ||
# https://github.com/spack/spack/commit/8871bd5ba5c58562b8c20baa00f125aeccba586f | ||
# is included in a release on spack and this is used by spack-c2sm. | ||
depends_on("[email protected]:", when="@5.11.22:") | ||
|
||
# This section can be removed when the following PR | ||
# https://github.com/spack/spack/pull/42874 | ||
# is included in a release on spack and this is used by spack-c2sm. | ||
@property | ||
def libs(self): | ||
return find_libraries("libfdb5", | ||
root=self.prefix, | ||
shared=True, | ||
recursive=True) | ||
|
||
def setup_build_environment(self, env): | ||
env.set('CTEST_OUTPUT_ON_FAILURE', 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,8 @@ class Infero(CMakePackage): | |
variant('tf_c', description='Enable tensorflow-c backend', default=False) | ||
variant('onnx', description='Enable ONNX backend', default=False) | ||
|
||
depends_on('[email protected].0:') | ||
depends_on('fckit') | ||
depends_on('[email protected].2') | ||
depends_on('fckit@0.9.0') | ||
depends_on('ecbuild', type=('build')) | ||
depends_on('tensorflowc', when='+tf_c') | ||
depends_on('onnx-runtime', when='+onnx') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from spack.package import * | ||
|
||
from spack.pkg.builtin.metkit import Metkit as SpackMetkit | ||
|
||
|
||
class Metkit(SpackMetkit): | ||
|
||
# This file can be removed when this PR https://github.com/spack/spack/pull/42871 | ||
# is included in a release on spack and this is used by spack-c2sm. | ||
depends_on("eckit@:1.21", when="@:1.10") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,8 @@ class PyCmake(PythonPackage): | |
sha256= | ||
'52b98c5ee70b5fa30a8623e96482227e065292f78794eb085fdf0fecb204b79b') | ||
|
||
# in newer pip versions --install-option does not exist | ||
depends_on("py-pip@:23.0", type="build") | ||
depends_on('ninja', type='build') | ||
depends_on('[email protected]:', type='build') | ||
depends_on('py-setuptools@42:', type='build') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,13 +17,20 @@ class PyCytoolz(PythonPackage): | |
|
||
maintainers = ['samkellerhals'] | ||
|
||
version('0.12.3', | ||
sha256= | ||
'4503dc59f4ced53a54643272c61dc305d1dbbfbd7d6bdf296948de9f34c3a282') | ||
version('0.12.0', | ||
sha256= | ||
'c105b05f85e03fbcd60244375968e62e44fe798c15a3531c922d531018d22412') | ||
|
||
depends_on('py-setuptools', type='build') | ||
depends_on('py-cython', type='build') | ||
|
||
# [email protected] not compatible with py-cython@3:, see | ||
# https://www.layerzrozero.network/?_=%2Fpytoolz%2Fcytoolz%2Fissues%2F202%23w2n%2BddnGqHIZTHHkluHJC3Vn | ||
depends_on('py-cython@:2', when='@0.12.0', type='build') | ||
|
||
depends_on('[email protected]:', type=('build', 'run')) | ||
depends_on('[email protected]:', type=('build', 'run')) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,22 +4,19 @@ | |
# SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||
|
||
from spack import * | ||
from spack.pkg.builtin.py_frozendict import PyFrozendict as SpackPyFrozendict | ||
|
||
|
||
class PyFrozendict(PythonPackage): | ||
"""frozendict is a simple immutable dictionary.""" | ||
class PyFrozendict(SpackPyFrozendict): | ||
|
||
homepage = "https://github.com/Marco-Sulla/python-frozendict" | ||
|
||
pypi = 'frozendict/frozendict-2.3.4.tar.gz' | ||
|
||
maintainers = ['samkellerhals'] | ||
|
||
# FIXME: Add proper versions and checksums here. | ||
version('2.3.4', | ||
version('2.4.0', | ||
sha256= | ||
'15b4b18346259392b0d27598f240e9390fafbff882137a9c48a1e0104fb17f78') | ||
|
||
depends_on('[email protected]:', type=('build', 'run')) | ||
|
||
depends_on('py-setuptools', type='build') | ||
'c26758198e403337933a92b01f417a8240c954f553e1d4b5e0f8e39d9c8e3f0a') | ||
|
||
# TODO: remove this extension once we have a more recent | ||
# version than v0.21.1 | ||
def setup_build_environment(self, env): | ||
# C extension is not supported for 3.11+. See also | ||
# https://github.com/Marco-Sulla/python-frozendict/issues/68 | ||
if self.spec.satisfies("^[email protected]:"): | ||
env.set("FROZENDICT_PURE_PY", "1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ class PyGt4py(PythonPackage): | |
depends_on('[email protected]:', type=('build', 'run')) | ||
depends_on('[email protected]:', type=('build', 'run')) | ||
depends_on('[email protected]:', type=('build', 'run')) | ||
depends_on('[email protected]: ~blas ~lapack', type=('build', 'run')) | ||
depends_on('[email protected]:', type=('build', 'run')) | ||
depends_on('[email protected]:', type=('build', 'run')) | ||
|
||
# versions later than 2.9.2 fail to pick to right Python version | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from spack.pkg.builtin.python import Python as SpackPython | ||
|
||
|
||
class Python(SpackPython): | ||
variant("ssl", default=False, description="Build ssl module") |
Submodule spack
updated
3396 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,6 @@ packages: | |
cosmo: # manually added | ||
variants: slave=daint cuda_arch=60 | ||
cosmo-dycore: # manually added | ||
compiler: [[email protected]] | ||
variants: slave=daint cuda_arch=60 data_path=/scratch/snx3000/jenkins/data/cosmo/ | ||
cuda: # manually added | ||
buildable: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
upstreams: | ||
base: | ||
install_tree: /project/g110/spack/upstream/daint_v0.20.1.0/base | ||
install_tree: /project/g110/spack/upstream/daint_v0.21.1.0/base | ||
icon-dsl: | ||
install_tree: /project/g110/spack/upstream/daint_v0.20.1.3/icon-dsl | ||
install_tree: /project/g110/spack/upstream/daint_v0.21.1.0/icon-dsl | ||
icon-rttov: | ||
install_tree: /project/g110/spack/upstream/daint_v0.20.1.0/icon-rttov | ||
install_tree: /project/g110/spack/upstream/daint_v0.21.1.0/icon-rttov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
config: | ||
extensions: | ||
- '$spack/../tools/spack-scripting' | ||
build_stage: '$spack/../spack-build_stage' | ||
test_stage: '$spack/../spack-test_stage' | ||
misc_cache: '$spack/../spack-misc_cache' | ||
misc_cache: '$spack/../spack-misc_cache' |
Oops, something went wrong.