Commit graph

24913 commits

Author SHA1 Message Date
Adam J. Stewart
c37df94932
Python: query distutils to find site-packages directory (#24095)
Third-party Python libraries may be installed in one of several directories:

1. `lib/pythonX.Y/site-packages` for Spack-installed Python
2. `lib64/pythonX.Y/site-packages` for system Python on RHEL/CentOS/Fedora
3. `lib/pythonX/dist-packages` for system Python on Debian/Ubuntu

Previously, Spack packages were hard-coded to use the (1). Now, we query the Python installation itself and ask it which to use. Ever since #21446 this is how we've been determining where to install Python libraries anyway.

Note: there are still many packages that are hard-coded to use (1). I can change them in this PR, but I don't have the bandwidth to test all of them.

* Python: handle dist-packages and site-packages
* Query Python to find site-packages directory
* Add try-except statements for when distutils isn't installed
* Catch more errors
* Fix root directory used in import tests
* Rely on site_packages_dir property
2021-07-16 08:28:00 -07:00
Maciej Wójcik
64f31c4579
Added missing Plumed 2.5-2.7 versions to Gromacs package (#24912)
* Added missing Plumed 2.5-2.7 releases

* Added missing Plumed 2.5-2.7 dependencies

* Merged version ranges

* Simplified version ranges

* Deduplicated comment
2021-07-16 05:47:27 -06:00
eugeneswalker
e96ba16555
ci: build trilinos with all variants on (#24908) 2021-07-15 18:44:42 +00:00
Massimiliano Culpo
fd55d627a7
archspec: added support for arm compiler on graviton2 (#24904) 2021-07-15 13:27:13 +00:00
Adam J. Stewart
753fa4ed08
py-gast: add v0.5.0 (#24898) 2021-07-15 14:56:09 +02:00
Adam J. Stewart
f66571ffe1
py-beniget: add v0.4.0, v0.2.3 (#24899) 2021-07-15 14:54:56 +02:00
Valentin Volkl
fa4b9a6abc
simsipm: add new package (#24903)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-07-15 14:06:41 +02:00
Erik Schnetter
0a3f875b95
boost: Run b2 headers after a git clone (#24889) 2021-07-14 22:00:44 -05:00
vucoda
29f10624bd
Change url+checksums for libpng to official sourceforge archives (#23767)
* Change url and checksums for libpng to official sourceforge archives
* Update url scheme from http to https
* switch to .xz archives

Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2021-07-14 21:30:32 +00:00
Tamara Dahlgren
1c07dd1adb
Update stand-alone tests to use test stage work directory (#24112) 2021-07-14 13:33:50 -07:00
Axel Huebl
8126a13211
Dask: 2021.06.2 (#24606)
* Dask: 2021.06.2

Add the latest DASK release.

* Apply suggestions from code review

Co-authored-by: Sergey Kosukhin <skosukhin@gmail.com>

* Update py-distributed relation

Co-authored-by: Sergey Kosukhin <skosukhin@gmail.com>
2021-07-14 14:58:53 -05:00
robgics
b24ba28774
Add ampl package (#24105) 2021-07-14 19:55:28 +00:00
Luhan Cheng
369ccb953f
Fix inconsistent arch arguments expected in cudnn package (#24882)
* change aarch64sbsa to aarch64

* fixing arch in url

* making ci pipeline happy

* removing comments

Co-authored-by: Luhan Cheng <luhan.cheng@monash.edu>
2021-07-14 19:40:02 +00:00
Greg Becker
3004f33c58
spec may be a string, use precomputed namespace (#24867) 2021-07-14 11:58:31 -07:00
Tamara Dahlgren
a9e7f3a4e7
scotch: use https (#24891) 2021-07-14 14:35:27 -04:00
Zack Galbreath
56c8f533cd
py-setuptools-scm: change default to +toml (#24884) 2021-07-14 15:45:41 +00:00
Valentin Volkl
e6e21b16d8
py-particle: add version 0.15.1 (#24834) 2021-07-14 07:53:01 -05:00
G-Ragghianti
555c054984
Added new version 2.6.1 (#24871) 2021-07-14 07:51:23 -05:00
Xavier Delaruelle
b37bf93aa2
environment-modules: add v4.8.0 (#24874) 2021-07-14 14:17:21 +02:00
Thomas Kluyver
c33ec328fb
Add py-h5py version 3.3.0 (#24781)
* Add py-h5py version 3.3.0

The mpi4py dependency was bumped to 3.0.2 in setup.py. I'm not sure if that's actually required or not, but nothing lower is still tested.

* Use environment variable to stop h5py using setuptools setup_requires feature

* Add myself as a maintainer for py-h5py
2021-07-14 07:33:57 -04:00
Kai Torben Ohlhus
652f35a39f
openblas: add version 0.3.16 (#24872) 2021-07-14 04:07:16 -07:00
Jen Herting
e3fdbb976e
[py-transformers] added version 4.6.1 (#24571)
* [py-transformers] can now use newer versions of tokenizers

* [py-transformers] Added version 4.6.1

* [py-transformers] removing old patch

* [py-transformers] boto3 no longer needed
2021-07-14 02:58:10 +00:00
Jen Herting
f095383caf
New package: py-torchmeta (#24596)
* first build of py-torchmeta

* updated versions for torchvision and torch

* [py-torchmeta] using pil provider

Co-authored-by: Sid Pendelberry <sid@rit.edu>
2021-07-13 21:38:12 -05:00
Manuela Kuhn
94767ea573
py-setuptools-rust: add 0.12.1 (#24863)
* py-setuptools-rust: add 0.12.1

* mark 0.10.6 as deprecated and fix style
2021-07-13 21:36:14 -05:00
Alec Scott
28872955d5
Limit Gdal Version for Grass and Add Version 7.8.5 (#24737) 2021-07-13 20:50:56 -05:00
Mauricio Ferrato
e1d7275f92
flecsph package: use cxxstd=17 and external cinch (#24856) 2021-07-13 15:22:55 -07:00
Manuela Kuhn
04520ebdea
py-cryptography: add 3.4.7 (#24866) 2021-07-13 22:01:54 +00:00
G-Ragghianti
819f288587
MAGMA package: fix smoke test method (#24848)
The Makefile for the MAGMA smoke tests uses pkg-config to find
the MAGMA compile flags, but the test() routine in the spack
package was not configured to provide the location of the
pkg-config file. This modification sets PKG_CONFIG_PATH correctly
to allow the smoketests to successfully compile. It also removes
the *_dir variables which were unused by the magma
examples/Makefile.
2021-07-13 14:50:15 -07:00
Martin Köhler
8ccdcf2e84
Octave: add version 6.3.0 (#24851) 2021-07-13 14:27:49 -07:00
Michael Kuhn
df77922d22
py-jupyterlab, py-jupyter-server: fix version range (#24864)
Using the original concretizer, trying to concretize py-jupyterlab fails
with
```
==> Error: Invalid Version range: 6.1.0:6.1
```
because py-tornado does not have a 6.1.0 version but only a 6.1 one.
2021-07-13 21:05:14 +00:00
Tom Payerle
9a0febab89
libtirpc: Fix for #24806 (remove -pipe flag when using %nvhpc) (#24807)
Makefiles for libtirpc have hardcoded the -pipe flag to the compiler
nvhpc compilers do not recognize that flag.
This PR provides a patch to remove the -pipe flag from the Makefile.
Patch should work with libtirpc@1.2.6 and @1.1.4
2021-07-13 12:55:20 -07:00
Michael Schlottke-Lakemper
231a36c5fd
HOHQMesh: add version v1.0.1 (#24823) 2021-07-13 12:31:34 -07:00
Frank Willmore
d79022f842
openmpi: add direct cuda dependency (#24859)
makes cuda a direct dependency, so it still shows up when using external hwloc+cuda
2021-07-13 19:14:29 +00:00
Manuela Kuhn
3c5287c458
py-jupyterlab: fix startup and add 3.0.16 (#24780)
jupyterlab was looking for its application directory inside the python
prefix instead its own one. This was fixed by setting the according
environment variable.
2021-07-13 19:07:45 +00:00
Robert Mijakovic
88be996d45
scotch: new versions, 6.1.0 and 6.1.1 (#24855)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lxp.lu>
2021-07-13 11:03:20 -07:00
Adam J. Stewart
9828df7335
py-torch: CUDA 9.2+ required for 1.6+ (#24808) 2021-07-13 10:46:07 -07:00
Jianwen
657b3ec052
blast-plus: add version 2.12.0 (#24828) 2021-07-13 10:44:07 -07:00
Seth R. Johnson
80813b61ff
hdf5: new version 1.12.1 (#24841) 2021-07-13 10:42:23 -07:00
Hadrien G
e4fa31230c
ACTS package: add version 9.02.0 (#24844) 2021-07-13 10:41:45 -07:00
iarspider
a6f839b880
Add new Cython version (#24853) 2021-07-13 10:22:34 -05:00
eugeneswalker
09540d411e
binary_distribution: relocate x-pie-executable files (#24854) 2021-07-13 07:53:35 -07:00
Manuela Kuhn
aaad65fbd8
graphviz: add python dependency to fix installation (#24852)
The bootstrap script in the autoreconf procedure calls the
gen_version.py script which requires python 3.6 to process f-strings.
2021-07-13 13:12:10 +00:00
Valentin Volkl
e3e50b3af9
py-awkward: add version 1.4.0 (#24838) 2021-07-13 08:11:59 -05:00
Valentin Volkl
047c9704df
whizard: add version 3.0.1 (#24836) 2021-07-13 08:10:55 -05:00
Valentin Volkl
1ee8947677
gaudi: add version 36.0 (#24840) 2021-07-13 08:31:11 -04:00
Valentin Volkl
7f24feb5a4
cppunit: disable doxygen (#24850) 2021-07-13 08:25:26 -04:00
Todd Gamblin
326fe433b3
Add spack help --spec to README.md (#24849)
We don't really advertise `spack help --spec` enough. I think the README is a good place to start
doing that.
2021-07-13 14:04:41 +02:00
Adam J. Stewart
60765d38d0 Fix KeyboardInterrupt signal for Python 2 2021-07-13 01:17:51 -07:00
Erik Schnetter
667ab50199
c-blosc2: New version 2.0.2 (#24843) 2021-07-12 23:02:36 +00:00
Massimiliano Culpo
3228c35df6
Enable/disable bootstrapping and customize store location (#23677)
* Permit to enable/disable bootstrapping and customize store location

This PR adds configuration handles to allow enabling
and disabling bootstrapping, and to customize the store
location.

* Move bootstrap related configuration into its own YAML file

* Add a bootstrap command to manage configuration
2021-07-12 19:00:37 -04:00