Commit graph

22342 commits

Author SHA1 Message Date
Harmen Stoppels
64d4ab85e7
There is no symlink fusermount->fusermount3 by default (#22638) 2021-03-30 14:05:37 -07:00
Rémi Lacroix
2747af6000
SRILM: Add new package. (#22640) 2021-03-30 20:53:31 +00:00
Desmond Orton
c57a74e3b0
New package py-flexmock (#22549)
* New package py-flexmock

* Switched to proper deps

* Changed setuptools type
2021-03-30 14:49:07 -06:00
Desmond Orton
3ce4dae1bf
New package py-argh (#22551)
* New package py-argh

* Fixed deps

* Changed setuptools type

* Update var/spack/repos/builtin/packages/py-argh/package.py

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-03-30 19:45:04 +00:00
Desmond Orton
2e6cdd3ec1
New package py-iocapture (#22550)
* New package py-iocapture

* Added the proper deps

* Changed setuptools type
2021-03-30 19:21:47 +00:00
Harmen Stoppels
1db6cd5d16
Make -j flag less exceptional (#22360)
* Make -j flag less exceptional

The -j flag in spack behaves differently from make, ctest, ninja, etc,
because it caps the number of jobs to an arbitrary number 16.
Spack will behave like other tools if `spack install` uses a reasonable
default, and `spack install -j <num>` *overrides* that default.

This will be particularly useful for Spack usage outside of a traditional
HPC context and for HPC centers that encourage users to compile on
login nodes with many cores instead of on compute nodes, which has
become increasingly common as individual nodes have more cores.

This maintains the existing default value of min(num_cpus, 16). However, 
as it is right now, Spack does a poor job at determining the number of 
cpus on linux, since it doesn't take cgroups into account. This is
particularly problematic when using distributed builds with slurm. This PR
also introduces `spack.util.cpus.cpus_available()` to consolidate
knowledge on determining the number of available cores, and improves
core detection for linux. This should also improve core detection for Docker/
Kubernetes, which also use cgroups.
2021-03-30 12:03:50 -07:00
Rémi Lacroix
d3a9824ea2
libLBFGS: Add new package. (#22639) 2021-03-30 18:54:12 +00:00
Gregory Lee
c1f1dc163e
stat: new version 4.1.0 (#22523)
* fix issue #22228 build of gdk-pixbuf
* added stat 4.1.0 and GUI variant
2021-03-30 12:52:06 -06:00
Scott McMillan
a78677a835
Add setup_dependent_build_environment() method to nvhpc package (#22578)
Fix #22520

Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
2021-03-30 11:37:26 -07:00
Sergey Kosukhin
eb48b29375
claw: support for gcc10 (#22618) 2021-03-30 11:33:31 -07:00
Hao Lyu
db37e67c3b
Correct the sha256 ioapi v3.2 (#22633)
The sha256 of [ioapi-3.2](https://www.cmascenter.org/ioapi/download/ioapi-3.2.tar.gz) should be `0a3cbf236ffbd9fb5f6509e35308c3353f1f53096efe0c51b84883d2da86924b`
2021-03-30 10:33:46 -07:00
Sreenivasa Murthy Kolam
711d22c9fe
New recipe for rocm-opencl-runtime ,bump up version for rdc for rocm-4.1.0 Release (#22645) 2021-03-30 17:20:07 +00:00
Harmen Stoppels
37b439152d
Add sshfs (#22636) 2021-03-30 11:16:54 -06:00
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