Commit graph

24121 commits

Author SHA1 Message Date
Todd Gamblin
f83e0fb81a externals: add attrs for new jsonschema
Updating `jsonschema` to 3.2.0 requires `attrs`. Add it to externals.
2021-12-19 12:55:42 -08:00
Todd Gamblin
90592b3cbe externals: add pyrsistent for new jsonschema
Updating `jsonschema` to 3.2.0 requires `pyrsistent`. Adding just the pieces of it
that are needed for `jsonschema`.
2021-12-19 12:55:42 -08:00
Todd Gamblin
04536db387 externals: add functools32 for new jsonschema
Updating `jsonschema` to 3.2.0 requires `functools32`, just for Python 2.
2021-12-19 12:55:42 -08:00
Tamara Dahlgren
e470131a77
Tests: remove test_get_stage_root_in_spack since it writes to the spack directory (#28056) 2021-12-19 11:31:38 -08:00
Wouter Deconinck
1e35d06bf0
geant4: new version 11.0.0 (preferred remains 10.7.3) (#27931)
* [geant4] new version 11.0.0

* [geant4] prefer 10.7.3 for now

* [vecgeom] new version 1.1.18

* [clhep] new version 2.4.5.1

* [g4emlow] new version 8.0

* [g4particlexs] new version 4.p

* [geant4-data] new version 11.0.0

* [geant4] @11.0.0: cxxstd=17: ^clhep@2.4.5.1: ^vecgeom@1.1.18:

* [geant4] depends_on cmake@3.16:

* [geant4-data] remove g4tendl comment

* [g4tendl] new version 1.4

* [geant4] default cxxstd=11 when @10, 17 when @11; use CMAKE_CXX_STANDARD

* [geant4] variant tbb whe @11:, depends_on tbb, sets GEANT4_USE_TBB

* [geant4] new variant vtk when @11:, depends_on vtk@8.2:

* [geant4] simplify GEANT4_USE_VTK with define_from_variant

* [geant4] remove variant cxxstd conditional again

* [geant4] flake8 space after comma
2021-12-19 10:43:59 -05:00
Adam J. Stewart
1a576e732e
Python: default to 3.9 (#27997)
Both [Anaconda](https://www.anaconda.com/products/individual) and [Homebrew](https://formulae.brew.sh/formula/python@3.9) now default to Python 3.9, so Spack should follow suit.

I also added Python 3.10 while I was at it. Confirmed that it builds successfully on macOS 10.15.7 with Apple Clang 12.0.0. I'm unable to test the Cray and Fujitsu patches.

Fixes #27921
2021-12-19 00:08:20 -08:00
Paul Spencer
30244c2c40
sbang: respect package permissive package permissions for sbang (#25764)
Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
2021-12-18 22:07:20 -08:00
Morten Kristensen
9ace418371
py-vermin: add latest version 1.3.2 (#28072)
* py-vermin: add latest version 1.3.2

* [vermin] Fixed usages of super() without arguments (v3+)
2021-12-18 11:17:02 -07:00
Stephen McDowell
87978f7989
skip googletest and googlebenchmark for header only library (#28068) 2021-12-18 10:29:05 -06:00
Larry Knox
e96b91dd37
HDF5 package: add version 1.13.0 (#28010) 2021-12-17 14:47:47 -08:00
AMD Toolchain Support
541ccd6669
What's new in AOCL 3.1 (#27988)
* What's new in AOCL 3.1

1) AMD BLIS:
    1.a) Supports Dynamic Dispatch and AOCL Dynamic feature
    1.b) Improvements in DGEMM, ZGEMM, DTRSM, DSYRK, xGEMV, and DOTV
2) AMD libFLAME:
    2.a) Supports LAPACK 3.10.0 specification
    2.b) Optimized factorization and ZGEEV routines
3) AMD FFTW:
    3.a) Features like 'AMD application optimization layer', 'Fast MPI transpose algorithm' and 'Top N planner' are added
4) AMD LibM:
    4.a) Optimized exp2, log2 (Single and Double precision) scalar and vector
    4.b) Optimized log10f (scalar and vector) and powf vector variants to support WRF4.1.2 benchmark
5) AOCL-Sparse:
    5.a) New API for sparse matrix and dense matrix multiplication
6) AMD ScaLAPACK:
    6.a) ILP64 support has been enabled
7) AOCL enabled MUMPS library:
    7.a) CMake based build system on Windows for AOCL enabled MUMPS sparse solver library will be available shortly on GitHub
        7.a.i)	Refer https://github.com/amd/mumps-build
    7.b) Spack-based recipe on Linux for AOCL enabled MUMPS sparse solver library will be enabled shortly

* Fix invalid version range error

* Incorporated review comments

1) Restore to previous url value
2) Instead of if else statements, used spack's enable_or_disable feature

* Incorporated following review comments:

1. Use of satisfies() for spec checks
2. Seperate conflict statements to check for minimum and maximum GCC versions
3. Used CMakePackage helpers
4. Code rearrangement to have the directives listed before methods
2021-12-17 09:28:41 -08:00
Valentin Volkl
140e8085dd
sherpa: add new package (#27592)
Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
2021-12-17 18:16:58 +01:00
AMD Toolchain Support
2597fff76b
FFTW3 library inclusion (#27936)
Co-authored-by: mohan babu <mohbabul@amd.com>
2021-12-17 18:11:59 +01:00
iarspider
225595235c
New package: py-xrootdpyfs (#28058)
* New package: py-xrootdpyfs

* Add old version of py-fs

* Replace 2to3.patch with running 2to3

* Just restriuct setuptools version

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

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-12-17 10:11:20 -07:00
Vanessasaurus
d9c4b91af3
Remove ability to run spack monitor without auth (#27888)
spack monitor now requires authentication as each build must be associated
with a user, so it does not make sense to allow the --monitor-no-auth flag
and this commit will remove it
2021-12-17 18:00:43 +01:00
Max Zeyen
ee2974869c
gpi-2: add version 1.3.3 (#27881) 2021-12-17 17:57:48 +01:00
Adeeb Arif Kor
c940e9fc7e
dolfinx: add ADIOS2 variant (#27540) 2021-12-17 17:55:30 +01:00
Tom Payerle
c3a929fdfc
suite-sparse: fix issues with tbb (#28054)
* suite-sparse: Fix check for +/- tbb variant

Changed
'tbb' in spec
to
'+tbb' in spec

The former would configure suite-sparse to use tbb if any dependency
package (e.g. intel-oneapi-mkl) depends on tbb, even if
suite-sparse~tbb was specified.

* suite-sparse: conflict when trying to use 2021.x versions of tbb

See https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/72

suite-sparse depends on task_schedule_init to control the number
of threads when e.g. interfacing with MATLAB.  However, Intel
dropped task_schedule_init in the 2021.x releases of TBB (it has
been deprecated since TBB 4.3.5).

We just raise a spack conflict when using tbb @2021.x and +tbb

Because tbb is a virtual package and is not versioned, I have
instead checked for either intel-oneapi-tbb@2021: or
intel-tbb@2021:, not the most elegant but should do the job

* suite-sparse: fix style issues
2021-12-17 09:32:59 -07:00
Manuela Kuhn
6313d84d38
r-viridislite: add 0.4.0 (#27872) 2021-12-17 17:19:42 +01:00
snehring
10ccbc9a2c
bridger: fixing issues with newer compilers (#28008) 2021-12-17 17:14:44 +01:00
Drew Whitehouse
bbe69aa725
libcxxwrap-julia: fix the git branch name master -> main (#28033) 2021-12-17 17:03:03 +01:00
Adam J. Stewart
8b3858081d
py-mypy: add v0.920 (#28034) 2021-12-17 17:02:06 +01:00
Adam J. Stewart
809d0523d9
Add py-pytorch v1.10.1 and py-pytorchvision v0.11.2 (#28055) 2021-12-17 16:14:54 +01:00
haralmha
e1f6a2e6b5
Specify dependencies to py-setuptools@:57.99 for packages using 2to3 (#27777) 2021-12-17 08:08:01 -06:00
Wouter Deconinck
956bb91cfe
[autodiff] new package for optional dependency of acts (#28028) 2021-12-17 14:22:46 +01:00
Wouter Deconinck
23cb7d761e
[vecmem] new package for optional dependency of acts (#28029) 2021-12-17 14:21:51 +01:00
Wouter Deconinck
1813a809ff
[acts] depends_on dd4hep +dddetectors (+ddg4 when +geant4) (#27861) 2021-12-17 14:17:52 +01:00
ravil-mobile
e3f0be41d4
Updated dpcpp package (#27953)
* Added installation of OpenMP as an option
* Added a softlink (dpcpp) to clang++ to
mimic the packaged version of dpcpp

Co-authored-by: ravil <ravil.dorozhinskii@tum.de>
2021-12-17 14:16:13 +01:00
iarspider
618fd04729
py-vector: add new package (#28057) 2021-12-17 14:14:38 +01:00
Harmen Stoppels
04bed42831
libtree: add v3.0.1 (#28040) 2021-12-17 10:34:24 +01:00
Massimiliano Culpo
661fd7bb67
Fix building container images (#28063)
* Fix building container images

Patchelf is bootstrapped from sources, so we cannot
disable that mechanism until a finer selection is
possible in the configuration.

* Build on changes to the Dockerfile

* Don't login to Dockerhub on PRs
2021-12-17 09:19:21 +00:00
victorusu
18615b1485
Add setdefault option to tcl module (#14686)
This commit introduces the command

spack module tcl setdefault <package>

similar to the one already available for lmod

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-12-17 10:05:32 +01:00
AMD Toolchain Support
f754ed9788
Additional flags for ROMS (#27951)
Co-authored-by: mohan babu <mohbabul@amd.com>
2021-12-16 19:47:20 -08:00
iarspider
6443086222
CMake: fix rhash detection (#27944)
* RHash: update version; create symlink librash.so

* Install headers

* Flake-8

* Update package.py

* Update package.py

* Update package.py (#19)

* Update package.py

* Update package.py

* Update var/spack/repos/builtin/packages/rhash/package.py

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

* Fix installation on macOS

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-12-16 18:02:26 -07:00
Larry Knox
556565ca0d
hdf5: add version 1.10.8 (#27613)
* Update hdf5/package.py to add HDF5 1.10.8 release and move
  preferred version from 1.10.7 to 1.10.8.
* silo: versions before 4.11 conflict with hdf5 >= 1.10.8.
* Add patch file for silo@4.11 with hdf5 1.10 >=1.10.8 and
  hdf5 1.12 >= 1.12.1.
2021-12-16 16:51:02 -08:00
Satish Balay
40886599ce
petsc: enable +rocm+kokkos (#27779)
Also fix kokkos-kernels when kokkos is built with +rocm
2021-12-16 14:47:31 -08:00
eugeneswalker
2310da0070
rocprofiler-dev package: needs numactl as link dep for tests (#27839) 2021-12-16 14:17:05 -08:00
Jen Herting
e76de4138e
New package: py-pynisher (#28052)
* [py-pynisher] created template

* [py-pynisher]

- Added homepage
- Added description
- Removed fixmes
- added dependencies
2021-12-16 14:21:45 -06:00
Howard Pritchard
43aeb4e48e
OpenMPI Package: add variant for romio (#27897)
Add option to disable the internal romio build.
2021-12-16 10:49:28 -08:00
iarspider
305f1d68d6
New package: py-scinum (#28041)
* New package: py-scinum

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

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-12-16 11:29:14 -07:00
Tracy-Pantleo
1b273ed5c9
wonton package: fix reference error (#27963) 2021-12-16 09:55:37 -08:00
iarspider
bb1d0d1900
New package: py-schema (#28039) 2021-12-16 11:54:59 -06:00
iarspider
f262693983
New package: py-shellingham (#28043) 2021-12-16 11:43:52 -06:00
iarspider
8c81469f94
New version: py-correctionlib 2.1.0 (#28051) 2021-12-16 10:36:57 -07:00
vijay kallesh
6c250640c4
aocc: add v3.2.0 (#27946)
Co-authored-by: amd-toolchain-support <toolchainsupport@amd.com>
2021-12-16 14:37:59 +01:00
Harmen Stoppels
fb93979b94
Set backup=False by default in filter_file (#28036) 2021-12-16 13:50:20 +01:00
Harmen Stoppels
6357de4e61
Fix table formatting (#28037) 2021-12-16 12:13:12 +00:00
Andrew W Elble
96535cc4f9
MANPATH needs a trailing ':' to utilize system defaults (#21682)
otherwise spack breaks using system man pages by default.

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2021-12-16 10:54:35 +00:00
Christian Goll
bd0ffa8a3c
Added opensuse/leap:15 to spack containerize (#27837)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-12-16 09:47:15 +00:00
Tamara Dahlgren
ac49ce8b3b
Provide meaningful message for empty environment installs (#28031)
* Provide a meaningful failure message for installation of an empty environment

* Allow regenerating view per offline discussion
2021-12-15 22:56:54 -08:00