Commit Graph

21289 Commits

Author SHA1 Message Date
Massimiliano Culpo
33c3c3c700 Config: cache results of get_config (#19605)
`config.get_config` now caches the results and returns the same
configuration if called multiple times with the same arguments
(i.e. the same section and scope).

As a consequence, it is expected that users will always call
update methods provided in the `config` module after changing
the configuration (even if manipulating it as a Python nested
dictionary). The following two examples should cover most
scenarios:

* Most configuration update logic in the core (e.g. relating to
  adding new compiler) should call `Configuration.update_config`
* Tests that need to change the global configuration should use the
  newly-provided `config.replace_config` function.

(if neither of these methods apply, then the essential requirement
is to use a method marked as `_config_mutator`)

Failure to call such a function after modifying the configuration
will lead to unexpected results (e.g. calling `get_config` after
changing the configuration will not reflect the changes since the
first call to get_config).
2020-10-30 13:10:45 -07:00
Massimiliano Culpo
458d88eaad Make archspec a vendored dependency (#19600)
- Added archspec to the list of vendored dependencies
- Removed every reference to llnl.util.cpu
- Removed tests from Spack code base
2020-10-30 13:02:14 -07:00
Mathew Cleveland
f82e858238 update to OPPPY-0_1_4 release (#17716)
Co-authored-by: Cleveland <cleveland@lanl.gov>
2020-10-30 14:58:09 -05:00
darmac
d0ad622272 Add new package: wayland (#18826)
* Add new package: wayland

* remove duplicated dependency
2020-10-30 14:56:31 -05:00
David M. Rogers
d6f0cb0461 Patched hypre to better add flags based on compiler. (#19498)
* Patched hypre to better add flags based on compiler.

* Update package.py

This file seems to have lots of edits, so the patch may succeed with offsets.  Has anyone checked with spack patch to be sure it'll work with versions 2.15 - 2.20?
2020-10-30 14:55:21 -05:00
t-nojiri
ae3178f4eb py-pycbc: Fix for aarch64 (#19563)
* py-pycbc: Fix for aarch64

* py-pycbc: Change patch application conditions
2020-10-30 14:54:04 -05:00
Scott Wittenburg
31f57e56bb Binary caching: use full hashes (#19209)
* "spack install" now has a "--require-full-hash-match" option, which
  forces Spack to skip an available binary package when the full hash
  doesn't match. Normally only a DAG-hash match is required, which
  ensures equivalent Specs, but does not account for changing logic
  inside the associated package.
* Add a local binary cache index which tracks specs that have a binary
  install available in a remote binary cache. It is updated with
  "spack buildcache list" or for a given spec when a binary package
  is retrieved for that Spec.
2020-10-30 12:53:33 -07:00
Dr. Christian Tacke
124d654337 glew: Refactor as CMakePackage (#19588)
In #18394 it was noted, that this package should be changed
from a generic "Package" to a "CMakePackage".
It makes a bunch of things easier.

And it uses all the common cmake code.
2020-10-30 14:52:15 -05:00
t-nojiri
e1c1967b54 diamond: The version 2.0.4 file name has been changed. (#19595)
* diamond: The version 2.0.4 file name has been changed.

* diamond: Removed v2.0.4 URL.
2020-10-30 14:51:57 -05:00
Brian Van Essen
7dea225fce Update lbann version and simplify installation (#19579)
* Added hash values for LBANN v0.101 and Hydrogen v1.5.0.  Updated the
LBANN package to be more successful in resolving a legal configuration
of MPI and HWLOC packages.  This required the removal of the MPI
virtual package since it is unable to resolve dependencies with
minimum version requirements. As a result to enable a reasonable
install line for LBANN this requires explicit forwarding of MPI
variants to Hydrogen and Aluminum.  Due to the lack of variant
forwarding, there are many explicitly replicated dependencies for both
LBANN and Hydrogen.  Fixed the error in LBANN where gpu variant was
replaced by the cuda variant, but not all dependencies were fixed.

* Fixed the minumum cuDNN version for newer versions of LBANN.

* Added explicit versioning of the MPI libraries for DiHydrogen to avoid
all of the conflicts with minimum required versions of the OpenMPI library.

* Removed explicit MPI versions and went back to using the MPI virtual
dependency.  Updated construction of variant forwarding to use
iterative construction of constraints and variants.  This exacerbates
the challenges with backtracking in the current concretizer, but
should be fixed in the new concretizer.

* Added support for including the DiHydrogen library in LBANN as well as
support for the distributed convolution (DistConv) parallel
algorithms.  Also include support for building with half precision.

* Moving dependencies around

* Added conflict statement to ensure that the variant dihydrogen is
required for distconv.

* Removed the preferred field

* Fixed Flake8 and cuDNN version bounds
2020-10-30 14:51:10 -05:00
Hervé Yviquel
a04e7686f8 add recent versions of rdma-core package (#19604) 2020-10-30 14:50:20 -05:00
Dr. Christian Tacke
c3630ed26e hepmc: Add variants for length and momemtum (#19609) 2020-10-30 14:46:19 -05:00
Toyohisa Kameyama
5a5c220d0a py-dotnetcore2: Add conflict non x86_64 targets. (#19623) 2020-10-30 14:44:15 -05:00
Robert Underwood
f2318d80d2 sz: version bump 2.1.11 (#19613) 2020-10-30 14:41:21 -05:00
Jen Herting
05cd3c4380 New package: py-cudf (#19111)
* [py-cudf] created template

* [py-cudf] set build directory

* [py-cudf] adding dependencies

* [py-cudf] fixed phases

* [py-cudf] added cmake to fetch some third party dependencies

* [py-cudf] flake8

* [py-cudf] added homepage and description. removed fixmes

* [py-cudf] added dependency of py-cupy

* [py-cudf] depends on py-fsspec

* [py-cudf] py-pyarrow requires +orc

* [py-cudf] py-pyarrow requires +parquet

* [py-cudf] removed upper python limit

* [py-cudf] checksum changed
2020-10-30 14:36:49 -05:00
Tiziano Müller
724325f789 molden: adding the package (#19626) 2020-10-30 14:35:24 -05:00
Teodor Nikolov
fef20524f9 clingo: compilation error - needs a patch (#19624)
* Add a patch to clingo

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-30 11:36:53 -07:00
Adam J. Stewart
3d7e8ff399 PyTorch: add v1.7.0 (#19555) 2020-10-30 12:42:15 -05:00
Adam J. Stewart
cb877e2a28 py-pillow-simd: add older version (#19500) 2020-10-30 12:23:12 -05:00
Adam J. Stewart
be14679719 GDAL: add new version (#19504) 2020-10-30 12:22:53 -05:00
Adam J. Stewart
bea65aacda py-torchvision: add v0.8.0 (#19556)
* py-torchvision: add v0.8.0

* py-torchvision: add v0.8.1
2020-10-30 12:22:38 -05:00
Adam J. Stewart
bfab98d41e oneDNN: add v1.6.5 (#19557) 2020-10-30 12:22:07 -05:00
Adam J. Stewart
9dd2ddb7db py-numpy: add v1.19.3 (#19593) 2020-10-30 12:21:52 -05:00
Seth R. Johnson
f6189031b9 ninja: support spack find external (#19616) 2020-10-30 11:53:30 -05:00
manifest
fc1d39dedc gemini dep cyordereddict + (#19333)
* gemini dep py-cyordereddict +

* dep ipyparallel +

* py-ipython-cluster +

* py-cyordereddict URL+dep fix

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

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

* py-ipython-cluster-helper dep fix

* py-ipyparallel dep fix

* ipython-cluster-helper debug

* ipython-cluster-helper debug

* ipyparallel dep fix

* ipython-cluster-helper dep fix

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-30 11:43:03 -05:00
ajaust
e4851d1a89 New package: py-pyprecice (#19558)
* added initial version of package and patch for precice-bindings

* updated package name

* cleanup in script; added version requirement to cython

* Remove unnecessary part of patch

* cleanup package

* added initial version of package and patch for precice-bindings

* updated package name

* cleanup in script; added version requirement to cython

* Remove unnecessary part of patch

* cleanup package

* update style of package

* reformatting to fullfil style requirements

* reformatting again

* fixing some of the issues mention in PR; working on fixing install stage

* readded py-wheel as dependency

Co-authored-by: Benjamin Rüth <benjamin.rueth@tum.de>
2020-10-30 11:39:59 -05:00
Chuck Atkins
aaa1afe9ec mesa: Retire older autotools mesa as mesa18 and create current meson mesa (#19528) 2020-10-30 11:16:17 -04:00
Morten Kristensen
6a381940ae py-vermin: added v1.0.0 (#19618) 2020-10-30 10:26:56 +01:00
t-nojiri
11ea2be74a openfoam-org: added v8.0 (#19622)
openfoam:  fixed build on aarch64
2020-10-30 10:19:40 +01:00
Michael Kuhn
aa14a0aec7 graphviz: fix implicit patch (#19621)
The patch seems to be included in version 2.44.1 already. Moreover, it
is necessary to specify `level=0` to make it apply.
2020-10-30 10:16:40 +01:00
Peter Scheibel
3a863020f0 CI: disable vermin check for deprecated hash (#19612)
Spack has a fallback for hash checking with m55sums that may not be
supported in earlier versions of Python 3.x. The comments in the
Spack code acknowledge that this is best effort and may fail, but
recent vermin checks (running as part of our CI) reject this. This
disables vermin checks for that fallback.
2020-10-29 22:23:36 -07:00
t-nojiri
52379d87fe caliper: Fix for aarch64 (#19564) 2020-10-29 22:01:05 -05:00
Chris Chambreau
ebe1c6badd mpip: add v3.5 release (#19559)
* Update for mpip-3.5 release

* Additional changes to support 3.5 and 3.4.1 releases

* Specify python deptype
2020-10-29 16:56:54 -07:00
Frank Willmore
c954d50998 Oneapi add compiler (#19330)
* enable flatcc to be built with gcc/9.X.X

* add static option for building libyogrt

* cleanup

* Initial working version

* rework new oneapi wrappers

* tested and removed my initials from source

* cleanup

* Update __init__.py

* remove whitespace

* working now with mods for testing, detection. Detection for oneapi is working, but entry needs to be modified to add link path for libimf.so. Cleared cruft for old Intel versions

* fixed some formatting

* cleanup

* flake8 cleanup

* flake8

* fixed syntax of compiler version detection tests

* fixed syntax of compiler version detection tests

	modified:   detection.py

* fix typo

* fixes for compilers tests

* remove erroneous tests for outdated -std= flags, remove ifx version check (output won't parse)

Co-authored-by: Frank Willmore <willmore@anl.gov>
2020-10-29 16:52:54 -05:00
Jean-Paul Pelteret
52959528a2 Suite-sparse: Fix Darwin install name (#19507) 2020-10-29 15:29:39 -05:00
Geoffrey Oxberry
af057e0196 yapf: add version 0.30.0 (#19598) 2020-10-29 14:14:55 -05:00
Ben Corbett
305d8d9b1b Adds a package for LvArray (#19221)
* RAJA and CHAI changes.

* Added LvArray package.
2020-10-29 13:52:10 -05:00
David Beckingsale
e2a720930a Patch CMake version check in Umpire (#19590)
* Patch CMake version check in Umpire

* Update version constraint for cmake_version_check patch

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

* Add maintainers to Umpire

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-29 11:32:56 -07:00
Jen Herting
518124c14a [py-torch-nvidia-apex] added version 201019 and added dependency on p… (#19548)
* [py-torch-nvidia-apex] added version 201019 and added dependency on py-pybind11

* [py-torch-nvidia-apex] changed versioning format

* [py-torch-nvidia-apex] removed redundent version condition

* [py-torch-nvidia-apex] removed condition on dependency
2020-10-29 11:20:18 -05:00
Jen Herting
0fc79293c6 New package: py-cupy (#19468)
* [py-cupy] created template

* [py-cupy] added dependencies

* [py-cupy] switched to git based download for submodules

* [py-cupy] added dependencies

* [py-cupy] added homepage and description. removed fixmes

* [py-cupy] updated to tarball from pypi
2020-10-29 11:17:14 -05:00
h-denpo
c2e6610948 plplot:fix: add: depends_on('libsm', type='link') (#19594) 2020-10-29 11:10:57 -05:00
Rémi Lacroix
a4a64e1fbd Gromacs: Remove a dependency that could never be enabled. (#19599)
The `fft` variant was removed but not the associated dependency.
2020-10-29 11:08:13 -05:00
Greg Becker
71cb46afde clingo+python extends python (#19585) 2020-10-29 10:38:17 -05:00
AMD Toolchain Support
09b63ae3d1 Adding AOCC support for M4 (#19572)
* Adding AOCC support for M4

* combining 4 if-statements into a single if-statement with or conditions

* keeping parentheses around the or expressions

* fixing flake8 test failures

Co-authored-by: mohan babu <mohbabul@amd.com>
2020-10-29 10:13:30 -05:00
G-Ragghianti
0bed9a1990 SLATE package: New versions of slate, blaspp, and lapackpp with CMake build support (#19587)
* New versions of slate, blaspp, and lapackpp with CMake build support

* Fixing formatting
2020-10-29 10:13:02 -05:00
t-nojiri
ad87eece17 launchmon: Fix for aarch64 (#19562) 2020-10-28 21:11:36 -05:00
Seth R. Johnson
ef9c80de23 qt: Silence build and force xmlpatterns library on for Qt4 (#19591)
For some mysterious reason Qt4 stopped building the xmlpatterns
component, needed by some downstream packages. With this patch, the
component successfully builds with
```
qt@4.8.7~dbus~debug~examples~framework~gtk~opengl~phonon+shared~sql~ssl~tools~webkit freetype=none arch=linux-rhel7-haswell %gcc@10.2.0
```
2020-10-28 20:47:16 -05:00
manifest
f7269ffd0a pest suit + (#19458)
* pestpp +

* build -f default
2020-10-28 20:46:04 -05:00
manifest
b4a0a43d98 PopLDdecay package + (#17802)
* poplddecay bio

* flake8 debug

* bin PATH correction

* build step opt

* BUILD_PATH fix

* retro implementation + style fix
2020-10-28 20:45:24 -05:00
manifest
3243e904a8 Pbbam debug (#17803)
* pbbam path fix

* pbbam flake8 fix

* sys var build_directory sub

* pbbam flake8 fix
2020-10-28 20:44:38 -05:00