Commit graph

22333 commits

Author SHA1 Message Date
Adam J. Stewart
6ce0d934cf
py-pydantic: add new package (#25526) 2021-08-20 13:31:58 +02:00
Pramod Kumbhar
ec720dd148
neuron: add v8.0.0 (#25533) 2021-08-20 13:24:18 +02:00
Harmen Stoppels
d52a1b8279
Fix broken develop as CI didn't run on latest merge commit (#25531)
* CI for #25439 was not run on the latest merge commit, and fails after #25470
* Make it consistent
2021-08-20 08:06:47 +00:00
Seth R. Johnson
e8bcb43695
trilinos: restore develop branch for exawind (#25487)
Exawind needs to build against trilinos@develop to sniff out errors
before they are merged to master.
2021-08-20 08:11:28 +01:00
Harmen Stoppels
220a87812c
New spack.environment.active_environment api, and make spack.environment not depend on spack.cmd. (#25439)
* Refactor active environment getters

- Make `spack.environment.active_environment` a trivial getter for the active
environment, replacing `spack.environment.get_env` when the arguments are
not needed
- New method `spack.cmd.require_active_environment(cmd_name)` for 
commands that require an environment (rather than abusing 
get_env/active_environment)
- Clean up calling code to call spack.environment.active_environment or
spack.cmd.require_active_environment as appropriate
- Remove the `-e` parsing from `active_environment`, because `main.py` is
responsible for processing `-e` and already activates the environment.
- Move `spack.environment.find_environment` to
`spack.cmd.find_environment`, to avoid having spack.environment aware
of argparse.
- Refactor `spack install` command so argument parsing is all handled in the
command, no argparse in spack.environment or spack.installer
- Update documentation

* Python 2: toplevel import errors only with 'as ev'

In two files, `import spack.environment as ev` leads to errors
These errors are not well understood ("'module' object has no attribute
'environment'"). All other files standardize on the above syntax.
2021-08-19 19:01:37 -07:00
Massimiliano Culpo
10695f1ed3
Use kcov from official Ubuntu 20.04 repository (#25385)
* Ubuntu 20.04 provides kcov, so don't build from source

* Use two undocumented options for kcov v3.8
2021-08-19 14:03:10 -07:00
Scott Wittenburg
350372e3bf
buildcache: Add environment-aware buildcache sync command (#25470) 2021-08-19 12:15:40 -06:00
Axel Huebl
cd91abcf88
WarpX: Check & Smoke Tests (#25352)
Run an example at build time with:
```
spack install --test=root warpx@<version>
```
Ref.: https://spack.readthedocs.io/en/latest/packaging_guide.html#stand-alone-or-smoke-tests

Run smoke-tests after install and loading of the package via
```
spack load -r /<spec>
spack test run /<spec>
```
2021-08-18 18:01:14 -07:00
tehyayi11
c865aaaa0f
seacas: add lib directory to pythonpath in run environment (#25453) 2021-08-19 00:11:46 +00:00
Massimiliano Culpo
4318ceb2b3
Bootstrap clingo from binaries (#22720)
* Bootstrap clingo from binaries

* Move information on clingo binaries to a JSON file

* Add support to bootstrap on Cray

Bootstrapping on Cray requires, at the moment, to
swap the platform when looking for binaries - due
to #22800.

* Add SHA256 verification for bootstrapped software

Use sha256 verification for binaries necessary to bootstrap
the concretizer and gpg for signature verification

* patchelf: use Spec._old_concretize() to bootstrap

As noted in #24450 we may happen to need the
concretizer when bootstrapping clingo. In that case
only the old concretizer is available.

* Add a schema for bootstrapping methods

Two fields have been added to bootstrap.yaml:
  "sources" which lists the methods available for
       bootstrapping software
  "trusted" which records if a source is trusted or not

A subcommand has been added to "spack bootstrap" to list
the sources currently available.

* Methods used for bootstrapping are configurable from bootstrap:sources

The function that tries to ensure a given Python module
is importable now tries bootstrapping methods in the same
order as they are defined in `bootstrap.yaml`

* Permit to trust/untrust bootstrapping methods

* Add binary tests for MacOS, Ubuntu

* Add documentation

* Add a note on bash
2021-08-18 11:14:02 -07:00
Axel Huebl
8a32f72829
openPMD-api: add v0.14.2 (#25473) 2021-08-18 19:08:44 +02:00
Christoph Conrads
06c8fdafd4
Serf: add Python dependency, sort dependencies (#25478) 2021-08-18 09:01:40 -07:00
Harmen Stoppels
b22728d55c
Support older py-pygments (#25456)
`markdown` is only supported since py-pygments@2.8.0:, see
9647d2ae50

Let's allow old versions too again.
2021-08-18 09:49:51 +02:00
Erik Schnetter
c869f3639d
cmake.py: Improve documentation (#25467)
Add missing `self.` prefixes when calling `define_from_variant`
2021-08-17 23:30:55 +02:00
psakievich
d00fc55e41
Add link_type documentation (#25451) 2021-08-17 09:47:26 -07:00
Massimiliano Culpo
09378f56c0
Use a patched argparse only in Python 2.X (#25376)
Spack is internally using a patched version of `argparse` mainly to backport Python 3 functionality
into Python 2. This PR makes it such that for the supported Python 3 versions we use `argparse`
from the standard Python library. This PR has been extracted from #25371 where it was needed
to be able to use recent versions of `pytest`.

* Fixed formatting issues when using a pristine argparse.py
* Fix error message for Python 3.X when missing positional arguments
* Account for the change of API in Python 3.7
* Layout multi-valued args into columns in error messages
* Seamless transition in develop if argparse.pyc is in external
* Be more defensive in case we can't remove the file.
2021-08-17 08:52:51 -07:00
Harmen Stoppels
f444303ce5
Add new pygments (#25455) 2021-08-17 07:19:31 -07:00
Vicente Bolea
4c0f1bf4e4
Paraview: uses canonical cuda_arch variant (#23257)
cuda_arch in ParaView will no longer accept CUDA architecture names
2021-08-17 04:55:16 -07:00
psakievich
a81ec88c6c
Allow environment views to be sym/hard link and copy types (#24832)
Add link type to spack.yaml format

Add tests to verify link behavior is correct for installed files
for all three view types

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-08-16 19:21:57 -07:00
robgics
657a5c85cc
Improve license err msg (#24117)
* Add to the error message to help determine failure source.

* Break up long line to keep under 80 chars.

Co-authored-by: Rob Groner <rug262@psu.edu>
2021-08-16 14:25:41 -07:00
robgics
437a272854
ampl: Add missing ampl_lic install and improve look of resources (#25205)
* ampl: Add missing ampl_lic install and improve look of resources

* ampl: Add myself as maintainer

* ampl: Remove unused variable and delete extra lines

Co-authored-by: Rob Groner <rug262@psu.edu>
2021-08-16 14:25:19 -07:00
Jen Herting
bfb811b7d3
New package: r-reams (#25396) 2021-08-16 14:51:40 -05:00
Howard Pritchard
79c2d55830
coreutils: patch for 8.32 for aarch64 (#25320)
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2021-08-16 20:12:18 +02:00
Jen Herting
e64659b008
New package: r-nfactors (#25393) 2021-08-16 12:52:47 -05:00
Jen Herting
51ad841f1e
New package: r-neuralnet (#25392) 2021-08-16 12:51:27 -05:00
Jen Herting
9d05c7ba76
New package: r-labelled (#25391) 2021-08-16 12:50:07 -05:00
Jen Herting
1fd15703cd
New package: r-islr (#25389) 2021-08-16 12:42:48 -05:00
eugeneswalker
538744c9ac
e4s ci: further expand power stack (#25405) 2021-08-16 11:21:20 -06:00
Valentin Volkl
39cf1b2736
freeglut: add patch for clang@11: (#25438) 2021-08-16 09:07:38 -07:00
Jean-Paul Pelteret
3773185639
gmsh: remove gl2ps dependency (#25425) 2021-08-16 06:58:55 -07:00
Patrick Gartung
f22f857ece
pythia6: update url (#25414) 2021-08-16 15:19:55 +02:00
Michael Will
3555446f73
FEniCS: Added byte order patch (#25417) 2021-08-16 05:46:36 -07:00
Seth R. Johnson
42c230dfbe
trilinos: simplify variants (#25359) 2021-08-16 07:34:03 -04:00
Michele Mesiti
6110aa374c
SOMBRERO - tests now in $PATH (#25421) 2021-08-16 13:22:30 +02:00
Sreenivasa Murthy Kolam
2d047d1f51
enable the variant AMDGPU_TARGETS in rocsolver (#25423) 2021-08-16 13:06:09 +02:00
Jen Herting
5f50f3329f
r-viennacl: new package (#25398)
Co-authored-by: Alex C Leute <aclrc@rit.edu>
2021-08-16 01:13:28 -07:00
Jen Herting
1fa5642858
r-pvclust: new package (#25394)
Co-authored-by: Alex C Leute <aclrc@rit.edu>
2021-08-16 09:59:39 +02:00
lukebroskop
09cc439572
cray-libsci package update: add and addition function to access libraries. (#25386)
Co-authored-by: Luke Roskop <lukebr@login1.spock.olcf.ornl.gov>
2021-08-16 09:49:10 +02:00
Brian Van Essen
09fa9cdaae
C++17 support for LBANN and HIP (#25406)
* Added logic to explicitly pass the c++17 language flags to the
HIP/ROCm software stack to ensure that HIP complies with the C++17
requirements.
2021-08-16 09:47:27 +02:00
Harmen Stoppels
de0d618730
libiconv: add libs variant to allow share and static builds (#25357) 2021-08-16 09:34:59 +02:00
Tamara Dahlgren
2ccbc00fd9
Second pass at increasing RADIUSS cloud CI packages (#25321) 2021-08-16 09:28:44 +02:00
Ethan Stam
51a22d5db7
ParaView: paraview should build its own IOSS (#25284) 2021-08-16 09:27:20 +02:00
Mikael Simberg
7f77ca4efb
Update package.py (#25412) 2021-08-16 09:26:03 +02:00
Adam J. Stewart
83110cfd4c
Python: update dependencies for 3.10 (#25430) 2021-08-16 09:19:32 +02:00
Valentin Volkl
c02539bd29
root: external find can now determine variants (#25427) 2021-08-16 09:18:48 +02:00
Adam J. Stewart
0b7aff2ad7
py-pandas: add v1.3.2 (#25434) 2021-08-16 09:10:55 +02:00
Adam J. Stewart
cd25599eba
py-cython: add v0.29.24 (#25435) 2021-08-16 09:08:32 +02:00
Valentin Volkl
77a9004c31
vtk: add patch for missing includes (#25437) 2021-08-16 09:08:04 +02:00
AMD Toolchain Support
e42af64e24
WRF: v3.9.1.1 and v4.2 can be built with aocc@3.1 (#25384)
Co-authored-by: mohan002 <mohbabul@amd.com>
2021-08-16 08:26:56 +02:00
Geoffrey Gunter
fbed679dd0
Add date v3.0.1 (#25432) 2021-08-15 14:42:30 -05:00