Commit graph

19463 commits

Author SHA1 Message Date
Chuck Atkins
5a771bc8ad
Introduce a SPACK_PYTHON environment variable (#21222)
The SPACK_PYTHON environment variable can be set to a python interpreter to be
used by the spack command.  This allows the spack command itself to use a
consistent and separate interpreter from whatever python might be used for package
building.
2021-02-12 10:52:44 -08:00
ketsubouchi
7add9de2e5
neartree: new package at v3.1 (#21534) 2021-02-12 19:00:54 +01:00
ketsubouchi
1e7fe89e1d
cvector: new package at v1.0.3 (#21533) 2021-02-12 17:07:25 +01:00
shanedsnyder
ad0ba8ce68
darshan-util" add "shared" variant (#21640) 2021-02-12 17:06:26 +01:00
Olivier Cessenat
ca7d1c29bc
ocamlbuild: new package (#21559) 2021-02-12 07:42:43 -06:00
iarspider
5d9c17d2bf
popt: depend on virtual iconv package (#21645) 2021-02-12 10:58:20 +00:00
AMD Toolchain Support
b53bf7cefd
xpmem: Added RHEL 8.3 support (#21563) 2021-02-12 11:01:55 +01:00
Cyrus Harrison
13852986a4
conduit: add v0.7.1 (#21639) 2021-02-12 10:35:14 +01:00
Ryan S. Elliott
f92580240e
Add support for KIM package in LAMMPS (#21638) 2021-02-11 19:10:45 -07:00
Tom Epperly
58b9c6dadd
Fix mumps compilation with gcc@10 (i.e., gfortran) (#21631)
* add new flag when compiling mumps with %gcc@10.

* Fix style

* Try to fix formatting

* Use flag_handler approach suggested by @michaelkuhn
	in the PR review.

* Delete former approach

* Another style issue

* Add another space

* More fixes
2021-02-12 01:14:09 +00:00
Daryl W. Grunau
0724467ad2
caliper: version upgrade to 2.5.0 (#21606)
Co-authored-by: Daryl W. Grunau <dwg@lanl.gov>
2021-02-11 20:34:22 +01:00
Dr. Christian Tacke
437d92155d
mesa18: Do not deprecate for now (#21627)
We still need mesa18 for some of our builds.
Those builds require python@2, normal mesa only works with
python@3.

* Remove the deprecation tag
* Add myself as a maintainer: I volunteer to help with this
  package for the time being.
* There is only one version, no need to prefer it.
2021-02-11 19:12:38 +00:00
Massimiliano Culpo
113073ceed
unit test: refactored bindist.py (#21497)
Modifications:
- Make use of SpackCommand objects wherever possible
- Deduplicated code when possible
- Moved cleaning of mirrors to fixtures
- Ensure mock configuration has a clear initialization order
2021-02-11 10:29:56 -08:00
Jen Herting
0dcb0d885f
[py-py4j] added version 0.10.9 (#21625) 2021-02-11 18:16:38 +00:00
Jen Herting
f7a05e0c61
[py-pyspark] new version and limited python for old versions (#21602)
* fixed install with ver 3 and python 3.0

* replaced @3 with @2.999

* [py-pyspark] added version requirements for py-py4j

* [py-pyspark] all versions require at least version 2.7 of python

* [py-pyspark] fixed comma syntax

Co-authored-by: Sid Pendelberry <sid@rit.edu>
2021-02-11 11:16:29 -06:00
vvolkl
3d6e9e172d
genfit: set the ROOT prefix when building genfit (#21589)
Co-authored-by: lintao <lintao51@gmail.com>
2021-02-11 17:03:20 +01:00
Harmen Stoppels
f255c3eb76
libxc: add v5.1.0 (#21593) 2021-02-11 17:01:21 +01:00
Harmen Stoppels
882b8f9d42
spglib: add versions up to v1.16.1 (#21624) 2021-02-11 15:58:15 +00:00
Michael Kuhn
91d2c4f7db
meson: add 0.56.2 (#21608) 2021-02-11 16:46:01 +01:00
Erik Schnetter
7f003a77dd
nsimd: add v2.1 (#21623)
Updated variants and conflicts accordingly
2021-02-11 15:41:46 +00:00
Michael Kuhn
3268cf4b96
libfyaml: new package (#21604) 2021-02-11 16:41:16 +01:00
Michael Kuhn
ef5b15be40
libcyaml: new package (#21598) 2021-02-11 16:40:28 +01:00
Michael Kuhn
da46da1c2a
libyaml: add 0.2.5 (#21597) 2021-02-11 16:40:06 +01:00
Chuck Atkins
a57598defe
doxygen: fix gcc getting stuck in an infinite loop (#21614) 2021-02-11 16:35:51 +01:00
Michael Kuhn
e2084ea6fd
glib: add 2.66.6 (#21605) 2021-02-11 16:27:57 +01:00
M. Eric Irrgang
dea9334189
Apply compiler filters to GROMACS installation. (#21621)
The GROMACS package embeds references to its build tool chain.
Use the Spack utilities to make sure these references are correct
outside of the isolated Spack build environment.
2021-02-11 14:52:32 +00:00
victorusu
fd8eac7052
Add sanity checks to reframe recipe (#21622) 2021-02-11 15:35:57 +01:00
Todd Gamblin
3b3314802e database: don't create a date object in query() unless it's necessary
`query()` calls `datetime.datetime.fromtimestamp` regardless of whether a
date query is being done. Guard this with an if statement to avoid the
unnecessary work.
2021-02-11 15:30:57 +01:00
Todd Gamblin
c81ca37dfc version: precompile regexes in Version constructor 2021-02-11 15:30:57 +01:00
Todd Gamblin
e3e913ef8f spack_json: _strify should be a no-op in Python 3
_strify traverses *all* of the read-in data and converts strings, but
only for Python 2.  Ignore it in Python 3.
2021-02-11 15:30:57 +01:00
Todd Gamblin
52508e6ee7 database: do not redundantly mark specs concrete
Speed up reads by not traversing each spec recursively when marking them
concrete.
2021-02-11 15:30:57 +01:00
Todd Gamblin
6fe931ccb1 spec performance: don't parse in from_node_dict
Constructing a spec from a name instead of setting name directly forces
from_node_dict to call Spec.parse(), which is slow. Avoid this by using a
zero-arg constructor and setting name directly.
2021-02-11 15:30:57 +01:00
victorusu
2fbc8caf86
pygelf: add v0.4.0 (#21620) 2021-02-11 15:23:55 +01:00
M. Eric Irrgang
944cb5dec6
Update GROMACS package (#21617)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2021-02-11 15:16:27 +01:00
Michael Kuhn
fc00944900
meson: remove cmake dependency (#21607)
cmake was added as a runtime dependency to meson in #20449. This
introduces an unnecessary implicit cmake dependency, which increases
build time for meson considerably. cmake is only one of many methods for
finding dependencies (pkg-config, qmake etc.), which are also not
runtime dependencies of meson. Add cmake as a build dependency to mesa
instead.
2021-02-10 23:46:52 -05:00
Axel Huebl
48af2ac8f9
adios2: Add 2.7.1 release (#21584)
Add the latest release of ADIOS2.
2021-02-10 23:44:42 -05:00
Massimiliano Culpo
4558dc06e2 Added a context manager to swap architectures
This solves a few FIXMEs in conftest.py, where
we were manipulating globals and seeing side
effects prior to registering fixtures.

This commit solves the FIXMEs, but introduces
a performance regression on tests that may need
to be investigated
2021-02-10 16:50:09 -08:00
Massimiliano Culpo
553d37a6d6 Move context manager to swap the current configuration into spack.config
The context manager can be used to swap the current
configuration temporarily, for any use case that may need it.
2021-02-10 16:50:09 -08:00
Massimiliano Culpo
cb2c233a97 Move context manager to swap the current store into spack.store
The context manager can be used to swap the current
store temporarily, for any use case that may need it.
2021-02-10 16:50:09 -08:00
Massimiliano Culpo
1a8963b0f4 repo: generalize "swap" context manager to also accept paths
The method is now called "use_repositories" and
makes it clear in the docstring that it accepts
as arguments either Repo objects or paths.

Since there was some duplication between this
contextmanager and "use_repo" in the testing framework,
remove the latter and use spack.repo.use_repositories
across the entire code base.

Make a few adjustment to MockPackageMultiRepo, since it was
stating in the docstring that it was supposed to mock
spack.repo.Repo and was instead mocking spack.repo.RepoPath.
2021-02-10 16:50:09 -08:00
Scott McMillan
0007ed72c3
Fix: Add a space between -isystem and the directory (#21599)
Some compilers, such as the NV compilers, do not recognize -isystem
dir when specified without a space.

Works: -isystem ../include
Does not work: -isystem../include

This PR updates the compiler wrapper to include the space with -isystem.
2021-02-10 15:56:42 -08:00
Greg Becker
2b6f896ca7
Bugfix: environments/views on separate mounts (#20720)
Environment views fail when the tmpdir used for view generation is
on a separate mount from the install_tree because the files cannot
by symlinked between the two. The fix is to use an alternative
tmpdir located alongside the view.
2021-02-10 13:39:11 -08:00
Jen Herting
5828a2cd31
[py-chalice] py-typing causes issues with python >= 3.5 (#21202)
* [py-chalice] py-typing causes issues with python >= 3.5

* [py-chalice] changed upperbound on typing
2021-02-10 21:31:02 +00:00
eugeneswalker
e15a3438a8
ascent: add version v0.6.0 (#21573) 2021-02-10 10:14:16 -08:00
a-saitoh-fj
24dd5d12a5
py-llvmlite: Changing build options when using the FUJITSU compiler (#21585) 2021-02-10 09:58:10 -06:00
vvolkl
08972014f8
[py-uproot4] add new versions (#21588) 2021-02-10 09:57:10 -06:00
a-saitoh-fj
bd836540f2
New package: py-dask-sphinx-theme (#21582) 2021-02-10 10:22:03 +01:00
a-saitoh-fj
cf9a7bc7f6
pandoc modified:package.py (#21581) 2021-02-10 10:20:47 +01:00
h-denpo
7d48bbfd3a
raxml-ng: Fixed typo: (#21580) 2021-02-10 10:17:28 +01:00
Matt Schramm
175d614bc6
Update package.py (#21577) 2021-02-10 10:16:22 +01:00