-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add new template cylc-dev (and test building in GitHub actions) #1410
Changes from 53 commits
9d0ab96
4b59184
4898371
819a2f1
db66b49
5a442d7
f63c7f0
f9575af
5cbd9f4
8ee0c5b
02ccc78
6cc18d5
46ad103
71aee0b
ee2d6a4
b51652d
ebe83fd
11ca0a2
fa21d33
9b2757c
2411498
6c61e0f
705f80f
520a0b6
eef5c0b
862e490
da8dfd4
02cc2d5
c113381
f7990ce
3f1fd93
dadb7b1
b7b81b7
040366e
be1b69c
329f253
dd2173c
d2726d2
f8f60b9
e78b289
50afc84
1048dc5
ede071b
7a3b460
4f0f463
9e180cc
0c87803
772bb08
f120565
28b0fae
9f8a7f5
a5904ba
3f79cfc
9a443a6
ab2e628
6b53f10
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -215,10 +215,9 @@ packages: | |
# Avoid full rust dependency: version 43+ requires py-maturin | ||
py-cryptography: | ||
require: '@:42 +rust_bootstrap' | ||
# Introduced in https://github.com/JCSDA/spack-stack/pull/894, pin py-cython | ||
# to avoid duplicate packages being built (cylc dependencies soft-want @3:) | ||
# Pin py-cython to avoid duplicate packages | ||
py-cython: | ||
require: '@0.29.36' | ||
require: '@3' | ||
# As long as we need the "delayed" variant for py-dask, | ||
# we are restricted to version 2021.03.0 (last one that has it) | ||
# and newer than 2021.01.0 because of these issues: | ||
|
@@ -233,13 +232,15 @@ packages: | |
require: '~mpi' | ||
# https://github.com/JCSDA/spack-stack/issues/1276 | ||
py-matplotlib: | ||
require: '@3.7.4' | ||
require: '@3.7.4' | ||
# Variant ~mpi not working for latest py-netcdf4 | ||
# https://github.com/spack/spack/issues/47652 | ||
py-netcdf4: | ||
require: '@1.7.1 +mpi' | ||
py-pandas: | ||
require: '+excel' | ||
# To avoid duplicate packages | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wouldn't the concretizer There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It will lead to concretization errors if |
||
py-numpy: | ||
require: | ||
- '@1.26' | ||
# To avoid duplicate packages | ||
py-ruamel-yaml: | ||
require: '@0.17.16' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,9 @@ packages: | |
boost: | ||
require: | ||
- '%gcc' | ||
qt: | ||
require: | ||
- '%gcc' | ||
ecflow: | ||
require: | ||
- '%gcc' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,6 @@ packages: | |
require: '%gcc' | ||
libbsd: | ||
require: '%gcc' | ||
qt: | ||
require: | ||
- '%gcc' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Template for CYLC (flow, rose, GUI). Supported with GCC only. | ||
# Creates a view that allows users to define (manually for now) | ||
# simple environments with just PATH and CYLC_PYTHONPATH set: | ||
# | ||
# #!/bin/bash | ||
# export VIEWDIR=/path/to/env/view-pys | ||
# export PATH=$VIEWDIR/bin:$PATH | ||
# export CYLC_PYTHONPATH=$VIEWDIR/lib/python3.11/site-packages | ||
# | ||
spack: | ||
concretizer: | ||
unify: true | ||
|
||
view: | ||
cylc: | ||
root: view | ||
select: [^python] | ||
link: run | ||
link_type: symlink | ||
include: [] | ||
|
||
definitions: | ||
- compilers: ['%gcc'] | ||
- packages: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
|
||
specs: | ||
- matrix: | ||
- [$packages] | ||
- [$compilers] |
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.
Good catch here and elsewhere.