Commit graph

20179 commits

Author SHA1 Message Date
Harmen Stoppels
176c27f194
New versions of SIRIUS (#22637) 2021-03-30 11:13:14 -06:00
Harmen Stoppels
b848fab3ec
SpackCommand objects can set global args (#22318)
This commit extends the API of the __call__ method of the
SpackCommand class to permit passing global arguments 
like those interposed between the main "spack" command 
and the subsequent subcommand.

The functionality is used to fix an issue where running

```spack -e . location -b some_package```

ends up printing the name of the environment instead of 
the build directory of the package, because the location arg 
parser also stores this value as `arg.env`.
2021-03-30 18:47:36 +02:00
Massimiliano Culpo
c3bab11ee1
Bootstrapping: swap store before configuration (#22631)
fixes #22294

A combination of the swapping order for global variables and
the fact that most of them are lazily evaluated resulted in
custom install tree not being taken into account if clingo
had to be bootstrapped.

This commit fixes that particular issue, but a broader refactor
may be needed to ensure that similar situations won't affect us
in the future.
2021-03-30 17:23:32 +02:00
lorddavidiii
220c0d9cfc
cuda: add dev variant and ABI variant for ncurses (#22536)
* ncurses: add variant +abi5 for version 5 ABI
* cuda: add variant dev, which makes cuda-gdb useable

- cuda-gdb needs libncurses.so.5, which most distros doesn't have
 see also https://docs.nvidia.com/cuda/cuda-gdb/index.html#common-issues-oss
2021-03-30 10:57:15 -04:00
Yan Hang
1bd0964ed3
curl package: add new stable version 7.75.0 (#22635) 2021-03-30 15:28:19 +02:00
Harmen Stoppels
a37c916dff
Bootstrap: add _builtin config scope (#22610) 2021-03-30 13:41:34 +02:00
Harmen Stoppels
2a4c06b1e6
Fix clearing cache of InternalConfigScope (#22609)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-03-30 11:23:39 +00:00
Asher Mancinelli
e3bcb0ec1e
Update hiop package (#22232)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2021-03-30 02:13:04 -06:00
takanori-ihara
a63a3c1d3d
py-numpy: Add the setting to use fujitsu-ssl2 (#22604)
* py-numpy: Add the setting to use fujitsu-ssl2

* py-numpy: Fix for comments
2021-03-30 04:24:42 +00:00
Brian Van Essen
9d42381d38
Bugfixes in LBANN software stack identified by clingo (#22554)
* Fixed a bug in the DiHydrogen package where the variant legacy was
changed to distconv and wasn't fully propagated.  Cleaned up the
openmp variants on the blas library packages in DiHydrogen and
Elemental.  Extended support for Aluminum v1.0 in LBANN, Hydrogen, and
DiHydrogen.  Fixed a when clause in the LBANN dependencies.

* Removed the upper range limit for the Aluminum library dependence

* Update var/spack/repos/builtin/packages/dihydrogen/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-03-30 02:25:56 +00:00
Cameron Stanavige
846cf954f0
spath: new releases (#22625)
This commit adds the url and the two releases/versions to the package.
2021-03-30 02:02:33 +00:00
Danny McClanahan
f67d4774ea
move binary indices are stored into the misc_cache (#22500)
Remote buildcache indices need to be stored in a place that does not
require writing to the Spack prefix. Move them from the install_tree to
the misc_cache.
2021-03-29 17:20:04 -07:00
Cyrus Harrison
79193dc37c
bugfix for active when pkg is already active error (#22587)
* bugfix for active when pkg is already active error

Co-authored-by: Greg Becker <becker33@llnl.gov>
2021-03-29 17:09:34 -07:00
Massimiliano Culpo
4079bbce97 Externals are preferred even when they have non-default variant values
fixes #22596

Variants which are specified in an external spec are not
scored negatively if they encode a non-default value.
2021-03-29 16:06:11 -07:00
Massimiliano Culpo
4ed5c366fa Enforce uniqueness of the version_weight atom per node
fixes #22565

This change enforces the uniqueness of the version_weight
atom per node(Package) in the DAG. It does so by applying
FTSE and adding an extra layer of indirection with the
possible_version_weight/2 atom.

Before this change it may have happened that for the same
node two different version_weight/2 were in the answer set,
each of which referred to a different spec with the same
version, and their weights would sum up.

This lead to unexpected result like preferring to build a
new version of an external if the external version was
older.
2021-03-29 16:06:11 -07:00
Sreenivasa Murthy Kolam
ebbce40a88
bumpup version for hipify-clang,rocm-gdb-api,rocm-gdb for rocm-4.1.rel (#22622) 2021-03-29 22:49:07 +00:00
Harmen Stoppels
e89c9ec082
Make stage use concrete specs from environment (#22320)
* Make stage use concrete specs from environment

Same as in https://github.com/spack/spack/pull/21642, the idea is that
we want to easily stage a package that fails to build in a complex
environment. Instead of making the user create a spec by hand (basically
transforming all the rules in the environment manifest into a spec,
defying the purpose of the environment...), use the provided spec as a
filter for the already concretized specs. This also speeds up things,
cause we don't have to reconcretize.
2021-03-29 11:10:44 -07:00
Rémi Lacroix
f9cc073be0
ELPA: Add missing Python build dependency. (#22466)
Also patch the "manual_cpp" Python script with proper shebang to ensure the Spack provided Python is used instead of the system Python.
2021-03-29 17:47:02 +02:00
Harmen Stoppels
8b16728fd9
Add "spack [cd|location] --source-dir" (#22321) 2021-03-29 17:31:24 +02:00
Tomoki, Karatsu
3d7069e039
hdf5: fix link error in dependent packages with %fj (#22512) 2021-03-29 09:12:59 -04:00
Harmen Stoppels
1a080b9a00
libfuse: run system install script based on a variant (#22518) 2021-03-29 09:33:55 +00:00
Adam J. Stewart
e5d106c9ce
py-matplotlib: add v3.4.0 (#22574) 2021-03-29 10:39:17 +02:00
Adam J. Stewart
22e3620021
py-numpy: add v1.20.2 (#22603) 2021-03-29 09:43:40 +02:00
darmac
43131526e5
graphite2: add python@3.6: as dependency (#22126)
* graphite2: add python@3.6: as dependency

* graphite2: refine python type to run

* graphite2: change phthon to test type
2021-03-28 21:30:35 -05:00
Nichols A. Romero
14c7a13893
Flang default is False. Include a warning to deter people from using it. (#22524)
* Flang default is False. Include a warning to deter people from using it.

* Fix flake8 issue.
2021-03-28 10:06:46 -07:00
Adam J. Stewart
d17b6c4601
mpich: fix device detection (#22502) 2021-03-28 09:52:37 -04:00
Adam J. Stewart
f9be95cb2e
py-joblib: add v1.0.1 (#22501) 2021-03-28 09:51:38 -04:00
Hervé Yviquel
5451e2edeb
gdrcopy: add v2.2 (#22528) 2021-03-28 09:37:33 -04:00
Seth R. Johnson
579d97117d
qt: fix qt@4+gui on darwin (#22602) 2021-03-28 08:34:50 -05:00
Robert Mijakovic
666240cdf8
mpfr: new version 4.1.0 (#22541)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lrz.de>
2021-03-28 07:28:42 -06:00
Adam J. Stewart
aa59bc87d5
py-scipy: add v1.6.2 (#22543) 2021-03-28 07:25:56 -06:00
Robert Mijakovic
f760d00db6
mumps: new version 5.3.5 (#22542)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lrz.de>
2021-03-28 09:23:09 -04:00
Valentin Volkl
e4aad43b93
hepmc3: add version 3.2.3 (#22601) 2021-03-28 09:08:05 -04:00
Valentin Volkl
598e4e77a7
edm4hep: add version 0.3.1 (#22600) 2021-03-28 09:07:32 -04:00
Valentin Volkl
63915de99b
[dd4hep] add new version (#22599) 2021-03-28 09:06:51 -04:00
Jen Herting
11584f3cb1
gmp: add version 6.2.1 (#22570) 2021-03-27 13:17:40 -04:00
Jen Herting
ec2abbafa3
opensubdiv: add version 3.4.3 and change version number format (#22571) 2021-03-27 13:16:27 -04:00
Phil Carns
cc0b3017ea
mochi-margo: add v0.9.2, v0.9.3 and v0.9.4 (#22368)
Also mark a margo version deprecated that was previously omitted by mistake
2021-03-27 14:29:51 +01:00
darmac
c365e1e7b2
liblouis: new package (#22141) 2021-03-27 13:02:38 +01:00
Desmond Orton
ddce89e4ce
New R package vcfr (#22495) 2021-03-27 02:26:01 +00:00
Hervé Yviquel
f59ac045d4
ucx: add v1.9.0, v1.10.0 (#22527) 2021-03-26 17:01:18 -06:00
Adam J. Stewart
07cf420acb
py-torchvision: add v0.9.1 (#22556) 2021-03-26 15:56:35 -07:00
Adam J. Stewart
3e2698b860
py-torch: add v1.8.1 (#22546) 2021-03-26 15:54:49 -07:00
Robert Mijakovic
2f053d3051
mesa: new version (#22538)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lrz.de>
2021-03-26 15:52:08 -07:00
Robert Mijakovic
9188498a84
llvm: new version (#22540)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lrz.de>
2021-03-26 15:49:32 -07:00
Stephen Sachs
23b19b55b4
[intel-oneapi-mpi] Add compiler wrappers to dependent build stage (#22468)
This adds MPICC=/path/to/intel-oneapi/mpicc etc to he dependents build stage enabling the use of the compiler wrappers.

Co-authored-by: Stephen Sachs <stesachs@amazon.com>
2021-03-26 15:19:26 -07:00
Desmond Orton
a7d36cab5b
revbayes: Version updated to 1.1.1 (#22555) 2021-03-26 15:55:05 -06:00
Jungwon Kim
58ad774773
Update var/spack/repos/builtin/packages/papyrus/package.py (#22560) 2021-03-26 14:43:17 -07:00
Jan Ciesko
d606cf93bd
llvm-amdgpu: Fixes "UnboundLocalError: local variable referenced before assignment" (#22562)
Co-authored-by: Jan Ciesko <jciesko@sandia.gov>
2021-03-26 14:24:08 -07:00
Dr. Christian Tacke
f713ebcb01
cmake: Add Version 3.20.0 (#22569) 2021-03-26 15:22:14 -06:00