Skip to content

Commit

Permalink
bump version to v0.18.1.12 (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasjucker authored Sep 12, 2023
1 parent e911cec commit 6d16943
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 13 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Spack is the package manager used by C2SM and MeteoSwiss to install and deploy s

**Infos about c2sm-supported software and machines**
* [spack-c2sm latest](https://C2SM.github.io/spack-c2sm/latest)
* [spack-c2sm v0.18.1.12](https://C2SM.github.io/spack-c2sm/v0.18.1.12)
* [spack-c2sm v0.18.1.10](https://C2SM.github.io/spack-c2sm/v0.18.1.10)
* [spack-c2sm v0.18.1.9](https://C2SM.github.io/spack-c2sm/v0.18.1.9)
* [spack-c2sm v0.18.1.8](https://C2SM.github.io/spack-c2sm/v0.18.1.8)
Expand All @@ -27,7 +28,7 @@ With spack v0.18 we suggest local/individual spack instances and the use of spac

A user clones the spack repo
```bash
git clone --depth 1 --recurse-submodules --shallow-submodules -b v0.18.1.10 https://github.com/C2SM/spack-c2sm.git
git clone --depth 1 --recurse-submodules --shallow-submodules -b v0.18.1.12 https://github.com/C2SM/spack-c2sm.git
```
gets spack in the command line
```bash
Expand Down
6 changes: 3 additions & 3 deletions docs/QuickStart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To set up a Spack instance, clone the repository

.. code-block:: console
$ git clone --depth 1 --recurse-submodules --shallow-submodules -b v0.18.1.10 https://github.com/C2SM/spack-c2sm.git
$ git clone --depth 1 --recurse-submodules --shallow-submodules -b v0.18.1.12 https://github.com/C2SM/spack-c2sm.git
To load it into your command line, execute

Expand Down Expand Up @@ -113,7 +113,7 @@ Example to build ICON for CPU with NVHPC:

.. code-block:: console
$ spack env activate -d config/cscs/spack/v0.18.1.10/daint_cpu_nvhpc
$ spack env activate -d config/cscs/spack/v0.18.1.12/daint_cpu_nvhpc
$ spack install
.. attention::
Expand All @@ -126,7 +126,7 @@ Out-of-source builds are possible as follows:
$ mkdir cpu && cd cpu
$ cp -r ../config .
$ spack env activate -d config/cscs/spack/v0.18.1.10/daint_cpu_nvhpc
$ spack env activate -d config/cscs/spack/v0.18.1.12/daint_cpu_nvhpc
$ spack install
.. attention::
Expand Down
2 changes: 1 addition & 1 deletion docs/Testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is a common way to do it.
.. code-block:: console
# cd into the packages repo!
$ git clone --depth 1 --recurse-submodules --shallow-submodules -b v0.18.1.10 https://github.com/C2SM/spack-c2sm.git
$ git clone --depth 1 --recurse-submodules --shallow-submodules -b v0.18.1.12 https://github.com/C2SM/spack-c2sm.git
$ . spack-c2sm/setup-env.sh
$ spack dev-build --test=root --show-log-on-error <package> @develop <variant>
Expand Down
2 changes: 1 addition & 1 deletion docs/UpstreamManagement.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ its own software stack.

Install upstream
----------------------
The upstream instances are installed for each tag through a dedicated `Jenkinks plan (Install upstream) <https://jenkins-mch.cscs.ch/job/Spack/job/spack-upstream_v0.18.1.10/>`_.
The upstream instances are installed for each tag through a dedicated `Jenkinks plan (Install upstream) <https://jenkins-mch.cscs.ch/job/Spack/job/spack-upstream_v0.18.1.12/>`_.
Each new tag of spack-c2sm needs a new plan, it can simply be copied from existing one. The only thing to adapt is the default value of the spack-tag.

Uninstall upstream
Expand Down
6 changes: 3 additions & 3 deletions sysconfigs/daint/upstreams.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
upstreams:
base:
install_tree: /project/g110/spack/upstream/daint_v0.18.1.5/base
install_tree: /project/g110/spack/upstream/daint_v0.18.1.12/base
icon-dsl:
install_tree: /project/g110/spack/upstream/daint_v0.18.1.7/icon-dsl
install_tree: /project/g110/spack/upstream/daint_v0.18.1.12/icon-dsl
icon-rttov:
install_tree: /project/g110/spack/upstream/daint_v0.18.1.5/icon-rttov
install_tree: /project/g110/spack/upstream/daint_v0.18.1.12/icon-rttov
2 changes: 1 addition & 1 deletion test/unit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test_upstream_from_config(self):
upstream_base = read_upstream_from_spack_yaml(
os.path.join(os.path.normpath(spack_c2sm_path),
'upstreams/daint/base'))
self.assertEqual('/project/g110/spack/upstream/daint_v0.18.1.5/base',
self.assertEqual('/project/g110/spack/upstream/daint_v0.18.1.12/base',
upstream_base)

def test_upstream_from_another_tag(self):
Expand Down
2 changes: 1 addition & 1 deletion upstreams/daint/base/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ spack:
view: false
config:
install_tree:
root: /project/g110/spack/upstream/daint_v0.18.1.5/base
root: /project/g110/spack/upstream/daint_v0.18.1.12/base
3 changes: 2 additions & 1 deletion upstreams/daint/icon-dsl/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ spack:
- [email protected]%[email protected]
- [email protected]%[email protected]
- [email protected]%[email protected]
- [email protected]%[email protected]
concretizer:
unify: when_possible
view: false
config:
install_tree:
root: /project/g110/spack/upstream/daint_v0.18.1.7/icon-dsl
root: /project/g110/spack/upstream/daint_v0.18.1.12/icon-dsl
2 changes: 1 addition & 1 deletion upstreams/daint/icon-rttov/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ spack:
view: false
config:
install_tree:
root: /project/g110/spack/upstream/daint_v0.18.1.5/icon-rttov
root: /project/g110/spack/upstream/daint_v0.18.1.12/icon-rttov

0 comments on commit 6d16943

Please sign in to comment.