Commit graph

13809 commits

Author SHA1 Message Date
Filippo Spiga
adbbd6f28f
Adding CUDA 11.1.1 (#20289) 2020-12-09 09:47:03 -08:00
arjun-raj-kuppala
8f8f83620d
AMD ROCm Release: Bump up migraphx recipe with 3.9.0 and 3.10.0 (#20299) 2020-12-09 09:40:54 -08:00
AMD Toolchain Support
0b62b33d18
Below changes were added to lammps recipe: (#20288)
1) amdfftw library support
 2) opt added in supported packages
2020-12-09 09:36:59 -08:00
Jose E. Roman
af307d3120
New patch release SLEPc 3.14.1 (#20291) 2020-12-09 09:29:24 -08:00
Michael Kuhn
1969af2440
openssl: add 1.1.1i (#20294) 2020-12-09 07:52:15 -05:00
Tim Moon
90b3f7f259
Make sure py-protobuf package can link to libprotobuf when building (#20280) 2020-12-08 09:52:57 -06:00
lorddavidiii
15fd386a20
arpack-ng: added v3.8.0 (#20270) 2020-12-08 16:37:53 +01:00
Andrew W Elble
a90026fb89
concretizer: try hard to obtain all needed variant_possible_value()'s (#20102)
Track all the variant values mentioned when emitting constraints, validate them
and emit a fact that allows them as possible values.

This modification ensures that open-ended variants (variants accepting any string 
or any integer) are projected to the finite set of values that are relevant for this 
concretization.
2020-12-08 15:46:52 +01:00
Alexander Baumgarten
5dcd0c9076
r-vctrs: added v0.3.5 (#20267) 2020-12-08 14:09:09 +01:00
Adam J. Stewart
0344648149
py-pandas: add v1.1.5 (#20268) 2020-12-08 14:08:36 +01:00
Alexander Baumgarten
09aa1b2092
r-fansi: added v0.4.1 (#20269) 2020-12-08 14:08:11 +01:00
Dan Bonachea
1681c19d04
UPC++: added v2020.11.0 and v2020.10.0 (#20279)
2020.10.0 is the latest stable release, and the preferred version
for general use (when the user does not specify otherwise).

2020.11.0 is a prototype for the memory kinds feature that is also
available when requested.
2020-12-08 11:23:32 +01:00
Tomoki, Karatsu
46ec233a7d
ghostscript: limited fujitsu compiler's version to apply patch. (#20281) 2020-12-08 11:05:30 +01:00
vvolkl
8035a52f7b
edm4hep: added package at v0.3, updated podio at v0.13 (#20241) 2020-12-07 18:58:10 +01:00
vvolkl
ed258ca9e9
Add "spack versions --new" flag to only show new versions (#20030)
* [cmd versions] add spack versions --new flag to only fetch new versions

format

[cmd versions] rename --latest to --newest and add --remote-only

[cmd versions] add tests for --remote-only and --new

format

[cmd versions] update shell tab completion

[cmd versions] remove test for --remote-only --new which gives empty output

[cmd versions] final rename

format

* add brillig mock package

* add test for spack versions --new

* [brillig] format

* [versions] increase test coverage

* Update lib/spack/spack/cmd/versions.py

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>

* Update lib/spack/spack/cmd/versions.py

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2020-12-07 09:29:10 -06:00
ketsubouchi
b4ed4fb226
povray: model mkl dependency correctly (#20265)
Added the correct depends_on directive if the mkl variant is active.
Added conflicts for archs that don't support mkl
2020-12-07 15:45:56 +01:00
Owen Solberg
af9bf816fe
py-xopen: added v1.0.1 and v0.8.4 (#20245) 2020-12-07 10:25:53 +01:00
Robert Maynard
039d4a81be
VTK-m: update to specify correct requirements to kokkos (#20097) 2020-12-07 10:16:44 +01:00
Martin Oberzalek
a5b3a77741
krb5: added 'shared' variant and support to build static library (#20017)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2020-12-07 10:13:01 +01:00
Adam J. Stewart
401fe7179f
OpenCV: disable variants by default (#20162) 2020-12-07 10:10:28 +01:00
Jacob Merson
1f73c87157
ccls: new package at v0.20201025 (#20251) 2020-12-07 09:53:34 +01:00
Jacob Merson
89c54ff01e
spdlog: added versions up to v1.8.1 (#20252) 2020-12-07 09:49:23 +01:00
Paul R. C. Kent
ec3a506414
curl: added v7.73.0 (#20246) 2020-12-07 09:23:02 +01:00
iulian787
bb27b05b24
tempestremap: added new package at v2.0.5, updated moab to v5.2.1 (#20014) 2020-12-07 09:21:32 +01:00
h-denpo
3c2392554b
apr: add depends_on ('libuuid', type='link') (#20261) 2020-12-07 09:02:40 +01:00
Sreenivasa Murthy Kolam
0fc36844b0
atmi, rccl: added v3.10.0 (rocm-3.10.0) (#20264) 2020-12-07 08:52:33 +01:00
Massimiliano Culpo
3843f43e69
concretizer: each external version is allowed by definition (#20247)
Registering external versions among the lists of allowed ones
generates the correct rules for `version_satisfies`
2020-12-06 10:29:05 +01:00
perrymil
fbb127c46a
raxml-ng: new package at v1.0.1 (#20223) 2020-12-04 22:56:24 +01:00
Ben Morgan
0dd628d0d3
geant4, geant4-data: versions 10.6.3 and 10.7.0 (#20250)
Update geant4-data and individual datasets for Geant4 versions 10.6.3
and 10.7.0.

Update geant4 package with new versions 10.6.3 and 10.7.0. Update
dependencies on CLHEP and VecGeom with versions required for Geant4
10.7.

Add GEANT4_INSTALL_PACKAGE_CACHE=OFF to CMake args for 10.6 onwards.
Prevents install of the "package cahce" file that contains hard-coded
paths for dependencies, improving relocatability. It relies on Spack
setting CMAKE_PREFIX_PATH correctly in build/use environments that
consume the geant4 package.
2020-12-04 13:22:47 -05:00
Massimiliano Culpo
8b74b50cff
concretizer: restrict maximizing variant values to MV variants (#20194) 2020-12-04 16:27:03 +01:00
TAKAHASHI Shuuji
98517af024
postgresql: added xml variant (#20224) 2020-12-04 12:27:52 +01:00
arjun-raj-kuppala
321298b115
AMD ROCm - Bump up rocalution with 3.9.0 and 3.10.0 releases (#20243) 2020-12-04 11:23:55 +01:00
Sreenivasa Murthy Kolam
5c0ac61a95
Added v3.10.0 for miopengemm, rocm-opencl and rocm (#20235) 2020-12-04 10:21:10 +01:00
Erik Schnetter
2d3e491845
amrex: constrain cmake if using cuda 11 (#20237)
`cmake @3.17:` is necessary to handle `cuda @11:` correctly. Earlier versions of `cmake` do not know that `cuda @11:` does not support `compute_30` any more, and list that compute capability as supported. This is handled in `cmake`'s file `Modules/FindCUDA/select_compute_arch.cmake`.
2020-12-04 10:16:35 +01:00
Ethan Stam
f391b2e8e5
py-cinemasci: new package at v1.3 (#20239) 2020-12-04 10:13:45 +01:00
Howard Pritchard
61f0f840d4
libtheora: patch for png_sizeof issue (#20240)
See

https://gitlab.freedesktop.org/gstreamer/cerbero/blob/master/recipes/libtheora/0004-examples-Don-t-use-png_sizeof.patch

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2020-12-04 10:12:44 +01:00
George Hartzell
9afaaa3c25
bowtie2: fix installation prefix (#20205)
The bowtie2 Makefile uses `prefix`, not `PREFIX`, for versions before v2.4.

Credit to @tkameyama

Co-authored-by: george.hartzell <george.hartzell@sana.com>
2020-12-04 09:59:59 +01:00
Andrew W Elble
09aae616c7
concretizer: call inject_patches_variants() on the roots of the specs (#20203)
As was done in the old concretizer. Fixes an issue where conditionally
patched dependencies did not show up in spec (gdal+jasper)
2020-12-03 16:28:34 +01:00
Sreenivasa Murthy Kolam
39be60ab92
bump up version for rocm_3.10.0 rel (#20229) 2020-12-03 14:28:51 +01:00
Sreenivasa Murthy Kolam
a1b9a00a13
bumpup the version for rocm-3.10.0 release (#20227) 2020-12-03 12:40:54 +01:00
Danny Taller
e22e037e30
Add CARE package, fixes for ROCmPackage and subclasses (#20070)
* use develop version of blt with fixes for rocm

* package updates for care+rocm

* fixes for plain cpu build

* add camp dependency on raja
2020-12-02 17:07:56 -08:00
Danny Taller
f37adc71f0
fix harmen branch (#20216) 2020-12-02 22:49:24 +01:00
fcannini
007ff2a6b0
namd: added cuda support (#20143) 2020-12-02 20:22:12 +01:00
Justin S
651bd50d86
py-mikado: new package at 20201016 (#20186) 2020-12-02 20:20:27 +01:00
Desmond Orton
c65090bac1
blast-plus: added v2.11.0 (#20024)
Co-authored-by: Dan Han <las_danhan@iastate.edu>
2020-12-02 20:02:14 +01:00
Andrew W Elble
881c4e87df
pmix/openpmix: added v3.2.1 and v3.1.5 (#20087) 2020-12-02 19:36:30 +01:00
Sreenivasa Murthy Kolam
ff4c45289e
bump up version for rocm-3.10.0 release (#20214)
* bump up version for rocm-3.10.0 release

* bump up version for rocm-3.10.0

* remove duplicate version addition for 3.9.0

* bump up version for rocm-3.10.0 release

* bump up version for rocm-3.10.0 release

* bump up version for rocm-debug-agent and rocm-dbgapi

* bump up version for rocm-bandwidth-test,rocm-gdb,rocprofiler,roctracer for rocm-3.10.0
2020-12-02 12:33:40 -06:00
Justin S
6d0e8d760a
r-loo: added v2.3.1 (#20075) 2020-12-02 19:33:21 +01:00
Adam J. Stewart
80b6b768df
G2O: add new package (#20165) 2020-12-02 19:30:26 +01:00
Adam J. Stewart
898ac9f9c2
libqglviewer: build dylib instead of Framework (#20178) 2020-12-02 19:23:31 +01:00
Andrew W Elble
3c25ae5130
py-ucx-py: added new package at v0.16.0 (#20093)
Added also py-pynvml
2020-12-02 19:15:23 +01:00
mic84
5deeff89f3
amrex: added v20.12 (#20200) 2020-12-02 19:05:55 +01:00
Howard Pritchard
d84c59c9a0
libtheora: patch autogen.sh to avoid (#20008)
configure problem when spack runs the configure stage of its build/install pipeline

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2020-12-02 10:24:37 -06:00
Harmen Stoppels
b0baf42988
Fix hipcc once more (#20095) 2020-12-02 15:58:58 +01:00
Toyohisa Kameyama
e575a38d96
py-tensorlow: use mkdtemp for temporary directory. (#20212) 2020-12-02 08:45:30 -06:00
Ghorban M. Tavakoly
954a3aab62
gdbm: fix link errors with aocc (#20206) 2020-12-02 13:53:29 +01:00
ketsubouchi
d9ccce9689
py-numpy: add fj Fortran library options (#20210) 2020-12-02 13:45:03 +01:00
Massimiliano Culpo
44c1beaf3a
boost: disable find_package's config mode for boost prior to v1.70.0 (#20198) 2020-12-02 12:25:57 +01:00
ketsubouchi
47ac7da244
openexr: changed build system to autotools (#20209) 2020-12-02 11:10:47 +01:00
Nichols A. Romero
0d988700ba
QMCPACK: added v3.10.0 and updates to package recipe (#20199)
* cuda_arch value must be explictly set.

* QMCPACK LaTeX manual now converted to reStructuredText and directory no longer exists.
2020-12-02 11:07:46 +01:00
Nithin Senthil Kumar
a3005d4a7c
mvapich2: added v2.3.5 (#20211)
Co-authored-by: nithintsk <nithintsk@github.com>
2020-12-02 11:01:49 +01:00
AMD Toolchain Support
721fdddde4
namd, charmpp: patch to allow build with AMD Toolchain support (#20083)
Co-authored-by: mohan babu <mohbabul@amd.com>
2020-12-02 09:46:54 +01:00
Jieyang Chen
c0bbf5454c
Add smoke test to VTK-m package (#19816)
* add smoke test

* remove whitespaces

* fix minimum version issue

* reorder decorators & replace make with cmake build

* merge cmake build into one line

* reorganize smoke test function

Co-authored-by: Jieyang Chen <chenj3@ornl.gov>
2020-12-01 17:59:44 -06:00
MichaelLaufer
59106c4dec
Fixes compile time errors (#20006)
Co-authored-by: michael laufer <michael.laufer@toganetworks.com>
2020-12-01 16:21:19 -06:00
Seth R. Johnson
42ed6e25e1
pugixml: add 1.11 and update variants (#20175) 2020-12-01 14:26:08 -05:00
Tom Payerle
5d248a3c67
New package: py-qsymm (#19455)
* New package: py-qsymm

* py-qsymm: Convert to using tarballs from PyPi instead of git checkouts

* py-qsymm: add missing dependencies

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

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

* py-qsymm: Fix url to use pypi hidden download interface

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-12-01 13:25:12 -06:00
Harmen Stoppels
32e23f5324
mpich: fix autotools deps for mpich 3.3.x (#20176)
Issue is fixed in 3.4.x
2020-12-01 18:46:32 +01:00
Justin S
b43202f433
mummer4: add 4.0.0rc1 (#20183) 2020-12-01 17:42:15 +01:00
AMD Toolchain Support
ec1eddb6e7
AOCC-2.3.0 is now added to spack (#20089)
* AOCC-2.3.0 is now added to spack

Change-Id: I18fd9606e6fd9a288cc7dc6c6ead11ea17839a7c

* Added flag and version tests for AOCC-2.3.0

* Addressed review comments

Co-authored-by: vkallesh <Vijay-teekinavar.Kallesh@amd.com>
2020-12-01 08:07:58 -06:00
fcannini
2530d53ac6
quantum-espresso: Enables build with Environ library. (#20131) 2020-12-01 10:44:19 +01:00
Massimiliano Culpo
e2033566bf
concretizer: remove ad-hoc rule for external packages (#20193)
fixes #20040

Matching compilers among nodes has been prioritized
in #20020. Selection of default variants has been
tuned in #20182. With this setup there is no need
to have an ad-hoc rule for external packages. On
the contrary it should be removed to prefer having
default variant values over more external nodes in
the DAG.
2020-12-01 10:11:40 +01:00
Massimiliano Culpo
7fd777c3d9
concretizer: swap priority of selecting provider and default variant (#20182)
refers #20040

Before this PR optimization rules would have selected default
providers at a higher priority than default variants. Here we
swap this priority and we consider variants that are forced by
any means (root spec or spec in depends_on clause) the same as
if they were with a default value.

This prevents the solver from avoiding expected configurations
just because they contain directives like:

depends_on('pkg+foo')

and `+foo` is not the default variant value for pkg.
2020-12-01 07:45:48 +01:00
Justin S
8edc831e43
r-v8: new package at 3.4.0 (#20056)
* r-v8: new package at 3.4.0

* r-v8: remove duplicate line
2020-11-30 18:10:03 -06:00
Axel Huebl
535acdcdb1
OpenBLAS: More Precise GCC Conflicts (#20101)
* OpenBLAS: More Precise GCC Conflicts

Add more precise GCC conflicts so e.g. GCC 6 and GCC 7.5 don't fail.

* Compact syntax

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-11-30 18:09:37 -06:00
Chuck Atkins
7d79db2de7
Fix Mesa GLES conflicts (#20184) 2020-11-30 23:54:24 +01:00
Adam J. Stewart
868dbb24c1
libQGLViewer: add new package (#20164) 2020-11-30 10:25:40 -05:00
manifest
2072c93dc8
Added bedtools2 v2.29.2 and and py-bedtools versions up to v0.8.0 (#19744) 2020-11-30 15:55:49 +01:00
Adam J. Stewart
2a7a6d472b
CMake should be a build dependency (#20160) 2020-11-30 14:55:44 +01:00
Toyohisa Kameyama
87adda1bad
bowtie2: change to MakefilePackage and add simde dependency. (#20166) 2020-11-30 14:19:47 +01:00
Harmen Stoppels
8c8e9b71a7
New versions of reframe, singularity and slurm (#20119)
Adds new versions of reframe (3.2, 3.3), singularity (3.7.0) and slurm (20-11-0-1).

Co-authored-by: Robert Mijakovic <robert.mijakovic@lrz.de>
2020-11-30 14:01:19 +01:00
Chuck Atkins
80624213f4
llvm: conflict for CMake breaking change when treating ASM files as C (#20105) 2020-11-30 13:47:00 +01:00
Kai Torben Ohlhus
e1a35540ee
intel-mkl: added v2020.4.304 (#20167)
2020 Update 4, Build date: 21 Oct 2020.
2020-11-30 13:38:59 +01:00
Tim Moon
f139fff796
Hydrogen: disabling CPU half support also disables GPU half support (#20077)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2020-11-30 11:44:37 +01:00
Andrew W Elble
499ada708e
kicad: new package (#20074) 2020-11-30 10:43:45 +01:00
h-denpo
7b587bdda3
ffb: Fixed a recipe error when using the Intel compiler. (#20133) 2020-11-30 09:04:14 +01:00
h-denpo
4e3fd2687a
r-rpostgresql: update config.guess reusing logic from autotools (#18917) 2020-11-30 08:58:14 +01:00
fcannini
447ba23fac
dalton: New package. (#20130) 2020-11-30 08:57:26 +01:00
Andrew W Elble
8130ac3acb
gnuradio: add gui support (#20073) 2020-11-30 08:54:55 +01:00
Tom Payerle
1c2424ac29
New package: povray (#20071) 2020-11-30 08:54:05 +01:00
Dave Love
c15755e88d
memkind: Add versions :1.10.1 (#20122) 2020-11-30 08:47:45 +01:00
Toyohisa Kameyama
0d25a48a13
py-pyscf: add version 1.7.5. (#20135) 2020-11-30 08:46:38 +01:00
Kai Torben Ohlhus
52986f3b0c
octave: add version 6.1.0 (#20168) 2020-11-30 08:38:32 +01:00
Adam J. Stewart
aca8508056
Add libs properties to a few packages (#20163) 2020-11-30 08:34:13 +01:00
Adam J. Stewart
a2d156902b
freeglut: prevent linking to system deps (#20161) 2020-11-30 08:31:56 +01:00
Angel de Vicente
08c9a6e2b0
Qt: fix GCC (#19948)
tested only for gcc8.3.0 but should be safe for other compilers
2020-11-29 17:45:41 -05:00
Michael Kuhn
cc53ff162f
go: added v1.15.5 and v1.14.12 (#20142) 2020-11-29 20:08:31 +01:00
Geoffrey Oxberry
073e7569db
mfem: apply patches from #19452 when mfem@4.1: (#20151)
As part of pull request #19452, a patch method was added to the mfem
package to delete byte order marks from 3 mfem source files. These
files first appeared in a stable release of mfem as of version
4.1. Consequently, attempts to install mfem 3.4 or mfem 4.0 fail
because no files exist at the path arguments of the filter_file
commands used to execute this operation. Decorating the patch method
so it runs only on mfem versions 4.1 and later resolves the errors
that were thrown due to files not found.

This commit adds that decorator.
2020-11-29 20:04:16 +01:00
Michael Kuhn
b96a251c3d
librsvg: added v2.50.2 (#20150) 2020-11-29 20:02:44 +01:00
Michael Kuhn
117000f607
node-js: added v15.3.0 and v14.15.1 (#20145) 2020-11-29 20:02:15 +01:00
Michael Kuhn
c473741bea
npm: added v6.14.9 (#20146) 2020-11-29 20:01:13 +01:00
Michael Kuhn
1fc687e9f6
rust: Add 1.48.0 (#20149) 2020-11-29 11:39:11 -06:00
vvolkl
bd6b83c81e
[catch2] add versions and fix github branch (#20157) 2020-11-29 14:44:34 +01:00
Chuck Atkins
ada781cc8f
mesa: Require at least one front-end and back-end to be selected (#20144) 2020-11-29 14:37:45 +01:00
Seth R. Johnson
58babe81e1
Qt: add options to disable docs and gui (#20078)
* Qt: add options to disable docs and gui

- Add `~gui` option for minimal build
- Add `+doc` option to install docs, and attempt to disable the implicit
  llvm dependency if not
- Removes the 'freetype' option which hasn't worked reliably in qt5, as
  many of the gui components implicitly rely on freetype.
- Add and test version 5.15 (and skip qtlocation if disabling opengl)
- Refactor some of the dependency logic

I've tested this on linux with 5.15.2 and 4.8.7 in a couple of different
configurations.

* Address reviewer feedback and correctly disable llvm

* Fix qt doc generation
2020-11-29 02:10:25 +01:00
vvolkl
795611b652
Set default to range-v3~doc (#20153)
This is a more sensible default, I think, as it avoids the doxygen dependency.
2020-11-28 22:17:48 +01:00
Adam J. Stewart
7c26a10de8
py-rosinstall: add new package (#20110) 2020-11-28 11:01:33 -06:00
Adam J. Stewart
6f3bb73dd3
py-rosinstall-generator: add new package (#20109) 2020-11-28 11:01:18 -06:00
Adam J. Stewart
9daed27dc0
py-rosdep: add new package (#20107)
* py-rosdep: add new package

* setuptools needed at run-time

Co-authored-by: Andrew W Elble <aweits@rit.edu>

Co-authored-by: Andrew W Elble <aweits@rit.edu>
2020-11-28 11:01:05 -06:00
Adam J. Stewart
98460b6f47
py-rosdistro: add new package (#20108) 2020-11-27 20:37:15 -06:00
Adam J. Stewart
d49912a8a1
py-rospkg: add new package (#20111)
* py-rospkg: add new package

* setuptools needed at run-time

Co-authored-by: Andrew W Elble <aweits@rit.edu>

Co-authored-by: Andrew W Elble <aweits@rit.edu>
2020-11-27 17:01:36 -06:00
Adam J. Stewart
e2669eddb9
py-catkin-pkg: add new package (#20106)
* py-catkin-pkg: add new package

* setuptools is needed at run-time

Co-authored-by: Andrew W Elble <aweits@rit.edu>

Co-authored-by: Andrew W Elble <aweits@rit.edu>
2020-11-27 14:43:43 -06:00
Adam J. Stewart
77aca8153d
py-wstool: add new package (#20115) 2020-11-27 14:43:27 -06:00
Massimiliano Culpo
8dd3797d32
concretizer: treat target ranges in directives correctly (#19988)
fixes #19981

This commit adds support for target ranges in directives,
for instance:

conflicts('+foo', when='target=x86_64:,aarch64:')

If any target in a spec body is not a known target the
following clause will be emitted:

node_target_satisfies(Package, TargetConstraint)

when traversing the spec and a definition of
the clause will then be printed at the end similarly
to what is done for package and compiler versions.
2020-11-27 20:53:39 +01:00
Adam J. Stewart
e6641065af
py-vcstool: add new package (#20112) 2020-11-26 18:06:10 -06:00
Adam J. Stewart
d2a83b8318
py-vcstools: add new package (#20114) 2020-11-26 18:05:39 -06:00
AMD Toolchain Support
3252fb05fa
spack recipe for gromacs with aocc compiler support (#19745)
* spack recipe for gromacs with aocc compiler support

Change-Id: I364aab4a0aa2dcd44bc47eb50c81b2d94c99cfbd

* Removed arch and other associated compilers flags

Added cycle_subcounters variant

Co-authored-by: vkallesh <Vijay-teekinavar.Kallesh@amd.com>
2020-11-26 09:07:56 -06:00
Massimiliano Culpo
03ff89fee6
concretizer: prioritize matching compilers over newer versions (#20020)
fixes #20019

Before this modification having a newer version of a node came
at higher priority in the optimization than having matching
compilers. This could result in unexpected configurations for
packages with conflict directives on compilers of the type:

conflicts('%gcc@X.Y:', when='@:A.B')

where changing the compiler for just that node is preferred to
lower the node version to less than 'A.B'. Now the priority has
been switched so the solver will try to lower the version of the
nodes in question before changing their compiler.
2020-11-26 13:10:48 +01:00
Harmen Stoppels
adccaa7af5
Add cmake 3.19.1 (#20118) 2020-11-26 10:18:22 +01:00
Mark W. Krentel
7e2ce24060
llvm-amdgpu: fix the build for version 3.9.0 (#20029)
* llvm-amdgpu: fix the build for version 3.9.0

Adapt the fix-system-zlib-ncurses.patch for version 3.9.0.  Without
the patch, llvm-amdgpu builds, but then rocm-device-libs fails with
"cannot find -ltinfo."

Tighten the version requirements for cmake according to the
llvm/CMakeLists.txt file.

* Add a conflict for cmake 3.19.0.
2020-11-26 09:32:24 +01:00
Massimiliano Culpo
8991cc4632
concretizer: allow a bool to be passed as argument for tests dependencies (#20082)
refers #20079

Added docstrings to 'concretize' and 'concretized' to
document the format for tests.

Added tests for the activation of test dependencies.
2020-11-26 08:55:17 +01:00
Massimiliano Culpo
983fb11dee
concretizer: treat conditional providers correctly (#20086)
refers #20040

This modification emits rules like:

provides_virtual("netlib-lapack","blas") :- variant_value("netlib-lapack","external-blas","False").

for packages that provide virtual dependencies conditionally instead
of a fact that doesn't account for the condition.
2020-11-25 22:03:42 +01:00
Martin Aumüller
b33969598a
intel-tbb: patch for arm64 on macOS (#20039)
* intel-tbb: patch for arm64 on macOS

as submitted upstream and used in homebrew

* intel-tbb: check patchable versions

* intel-tbb: avoid patch breakage when 2021.1 is released

2021.1-beta05 would be considered newer than 2021.1
2020-11-25 10:05:50 -06:00
downloadico
8b2c7a6c65
Add the 'exciting' package. (#20060)
* Add the 'exciting' package.
Version 14 (latest available) is defined.
An as-of-yet unpublished patch (dfgather.patch) from the developers is also
included.

* fixed flake8 errors (I *thought* I had already gotten them!  OOPS!)

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

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

* fixed install method to just do the install, and no build method is needed.

* *Actually* added the lapack dependency!

* removed variant from blas dependency

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-11-25 09:59:35 -06:00
Tomoyasu Nojiri
164fc4ee95
powertop: Add depend ncurses (#20080) 2020-11-25 10:15:51 +01:00
Erik Schnetter
408824f365
h5cpp: Correct checksum and build instructions (#20053)
* h5cpp: Correct checksum and build instructions

Closes https://github.com/spack/spack/issues/20046.

* h5cpp: Update to 1.10.4-6

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

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

* h5cpp: Correct formatting

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-11-24 13:37:29 -06:00
Dr. Christian Tacke
f6549849e5
root: Add 6.22.02, remove preferred label (#20002)
Drop the preferred label from 6.20.x.
Let's just default to the latest (production) version.
2020-11-24 11:08:56 -06:00
Scott Wittenburg
348cbe143c
phist needs sbang fix for build script (#20063) 2020-11-24 07:07:34 -08:00
Ricardo Silva
87689f7cc8
sqlcipher: new package at v4.4.1 (#20009)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2020-11-24 15:54:27 +01:00
Ben Morgan
d9f6ef9df4
clhep: new version 2.4.4.0 (#20066) 2020-11-24 08:53:22 -06:00
Ben Morgan
2c0091df3f
vecgeom: new version 1.1.8 (#20067) 2020-11-24 08:32:33 -05:00
vvolkl
28a3b30c53
[root] fix rootfit/roofit variant (#20051)
* [root] fix rootfit/roofit variant

fix typo

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

Co-authored-by: Hadrien G. <knights_of_ni@gmx.com>

Co-authored-by: Hadrien G. <knights_of_ni@gmx.com>
2020-11-24 11:19:10 +00:00
vvolkl
4e35df4b61
[gaudi] clhep is not optional (#20052) 2020-11-24 11:17:28 +00:00
Justin S
c468d6bed2
r-stanheaders: add 2.21.0-6 (#20057) 2020-11-23 20:56:48 -06:00
Andrew W Elble
3f0984e5e1
py-tensorboard: force use of spack's python, force build of ijar (#20059)
(same fix for py-tensorboard-plugin-wit)
2020-11-23 20:56:33 -06:00
Martin Oberzalek
fd07decd27
Also build static library (#20016) 2020-11-23 20:46:14 -06:00
Dmitri Smirnov
aa8dd782cd
mysql: Add sasl as dependency for versions <5.7.999 (#20027) 2020-11-23 20:43:37 -06:00
Matthias Diener
617f2ac714
charmpp: fix tests (#20047) 2020-11-23 20:27:55 -06:00
Justin S
aee3b4a1e8
r-bh: add 1.72.0-3 (#20058) 2020-11-23 20:18:14 -06:00
Axel Huebl
01c9f3edc3
pybind11: 2.6.1 (#20061)
Add the latest pybind11 release.
Since release 2.6.0 was a major release with many changes in the
build system, prefer 2.5.0 for now.
2020-11-23 20:12:24 -06:00
Seth R. Johnson
5c623b03b1
flibcpp: update version and deps (#20048) 2020-11-23 10:40:57 -05:00
iulian787
cb4a08b3e0
moab: added v5.2.1, v5.2.0, v5.1.0 (#20010)
Also added maintainers for the package recipe.
2020-11-23 13:17:52 +01:00
vvolkl
fa66d683e4
delphes: updated pre-release version (#20011) 2020-11-23 13:16:14 +01:00
Martin Aumüller
b62401ec8f
ispc: external find support, added master branch version (#20033)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2020-11-23 12:28:11 +01:00
Cyrus Harrison
8a54817d4e
vtk-h: added v0.6.6 (#20026) 2020-11-23 11:21:42 +01:00
Martin Aumüller
5088d799eb
openscenegraph: remove dependency on Qt for >= 3.5.4 (#20032) 2020-11-23 11:18:41 +01:00
Michael Kuhn
c25f15b7d5
libx11: added v1.7.0 (#20035) 2020-11-23 11:13:33 +01:00
Michael Kuhn
d7db6068c5
libxcb, xcb-proto: added v1.14 versions (#20036)
At least xcb-proto 1.14.1 is only avaiable from the new URL, so change
both to be future-proof.
2020-11-23 11:13:09 +01:00
Martin Aumüller
236796577d
botan: added v2.17.0, v2.17.1 and v2.17.2 (#20037) 2020-11-23 11:11:51 +01:00
Pramod Kumbhar
92d540fde7
Add sionlib and linktest packages (#20034)
* Add sionlib and linktest packages

* fix flake8
2020-11-22 09:22:26 -06:00
Thomas Gruber
4609a126ba
Add new release 5.1.0 and change homepage (#20022) 2020-11-21 00:02:08 +01:00
Martin Oberzalek
439b329c38
openldap: enable creation of static libraries (#20013) 2020-11-20 13:51:25 +01:00
psakievich
f613e10f24
Trilinos: Add CUDA relocatable code flag (#19993)
* Add relocatable code flag to trilinos

* Make CUDA RDC and varainat

* adjust default of cuda_rdc
2020-11-19 19:24:42 -05:00
Josh Essman
f92e52cdc8
mfem: Add support for AmgX, fix to version extensions (#19990)
* fix: leading . is not needed in extension kwarg

* mfem: add support for NVIDIA AmgX

fix: proper spacing

* mfem: use conflict to indicate that AmgX is expected to depend on CUDA
2020-11-19 14:03:22 -06:00
Axel Huebl
16d5cc2c99
ADIOS2: ~dataman default (#20003)
Disable dataman by default. It pulls heavy dependencies that are
often not needed for HPC (ZMQ) and it currently does not link
with popular compilers.
2020-11-19 13:56:51 -06:00
Massimiliano Culpo
d6e44b94d6
globalarrays: added v5.8 and earlier, simplified recipe (#19999)
fixes #19966

Global arrays supports GCC 10 since version 5.7.1,
therefore a conflict has been added to avoid old
releases to error at build-time.

Removed the 'blas' and 'lapack' variant since
BLAS and LAPACK are always a dependency, and
if not specified during configure, a version
of these APIs vendored with Global Arrays is
built.

Fixed a few options in configuration.
2020-11-19 11:58:54 -06:00
Brian Van Essen
5015635506
Removed accidental command to not expand the tarball. (#20001) 2020-11-19 11:58:25 -06:00
Dr. Christian Tacke
c417827954
cmake: Add Version 3.19.0 (#19996) 2020-11-19 10:43:52 -06:00
Sreenivasa Murthy Kolam
e75b76f433
bump up version for rocm 3.9.0 (#19995) 2020-11-19 07:40:24 -06:00
Toyohisa Kameyama
1522d1fac6
simde: New package (#19992)
* simde: New package

* remove 0.5.0.
2020-11-19 07:38:50 -06:00
Nithin Senthil Kumar
5129d84304
mvapich2: extended the fabrics variant description (#19860)
The point of this variant is to give the end user an option to use system
installed fabrics such as mofed instead of upstream fabrics such as rdma-core.
This was found to avoid run time errors on some systems.

Co-authored-by: nithintsk <nithintsk@github.com>
2020-11-19 13:47:57 +01:00
Michael Kuhn
1b7a5e53a6
clang/llvm: fix version detection (#19978)
This PR fixes two problems with clang/llvm's version detection. clang's
version output looks like this:

```
clang version 11.0.0
Target: x86_64-unknown-linux-gnu
```

This caused clang's version to be misdetected as:

```
clang@11.0.0
Target:
```

This resulted in errors when trying to actually use it as a compiler.

When using `spack external find`, we couldn't determine the compiler
version, resulting in errors like this:

```
==> Warning: "llvm@11.0.0+clang+lld+lldb" has been detected on the system but will not be added to packages.yaml [reason=c compiler not found for llvm@11.0.0+clang+lld+lldb]
```

Changing the regex to only match until the end of the line fixes these
problems.

Fixes: #19473
2020-11-19 11:06:45 +01:00
Michael Kuhn
dd54cb4c7a
llvm: add missing pkgconfig dependency (#19982)
When building llvm with CUDA support, it needs to find libffi. Without
pkg-config, libffi will not be found.
2020-11-19 10:34:13 +01:00
Brian Van Essen
db9b7a509a
cuDNN Refactor to accommodate architecture and CUDA version (#19989)
* Updated the cuDNN recipe to generate the proper version names for only
the arhcitecture that you are on.  This prevents the concretizer from
selecting a source code version that is incompatible with your current
architecture.  Additionally, add constraints to ensure that the
corresponding CUDA version is properly set as well.

* Added maintainer

* Fixed renaming for darwin systems

* Fixed flake8

* Fixed flake8

* Fixed range typo

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

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

* Fixed style issues

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-11-18 22:56:39 -06:00
eugeneswalker
a2801a1384
openblas@0.3.11 conflicts with gcc less than 8.3.0 (#19975) 2020-11-18 22:52:31 -06:00
Andreas Baumbach
cb22bcf6f1
drop unnecessary tk dependency of py-git-review (#19969)
* seems to have been introduced errorously by users using gitk-based
  workflows. This should be handled by the git package
* fixes build problems on OSX bigsur
2020-11-18 22:51:47 -06:00
t-nojiri
c9aac3e221
openloops: Fix for aarch64 (#19965) 2020-11-18 22:49:04 -06:00
arjun-raj-kuppala
a680df8453
AMD ROCm 3.9.0 release: Bump up version for aomp, roctracer-dev (#19957)
* AMD ROCm 3.9.0 release: Bump up version for aomp, roctracer-dev and updates to hip/hip-rocclr

* Update package.py
2020-11-18 22:47:10 -06:00
Matthias Diener
932f128bc8
charmpp: various fixes (#19956)
* charmpp: various fixes

- change URLs to https
- address deprecated/renamed versions
- make it build with the cmake build system

* flake8

* Apply suggestions from code review

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-11-18 22:45:57 -06:00
Adam J. Stewart
95f5419502
py-ipykernel: fix bug in phase method (#19986)
* py-ipykernel: fix bug in phase method

* Fix bug in executable calling
2020-11-18 18:45:29 -08:00
Enrico Usai
bc5c475909
aws-parallelcluster: 2.10.0 release (#19976)
Updated boto3 dependency and removed useless comments.
2020-11-18 19:27:04 -06:00
Danny Taller
3b9155239b
hip support for umpire, chai, raja, camp (#19715)
* create HipPackage base class and do some refactoring

* comments and added conflict to raja for openmp with hip
2020-11-18 11:52:21 -08:00
Cyrus Harrison
676d68a979
add 0.6.0 conduit release and update for branch changes (#19696) 2020-11-18 12:34:14 -06:00
vvolkl
3069631f37
Add "hep" label to high energy physics packages (#19968)
* [hep] add hep tag to relevant packages

* [lcio] add hep label
2020-11-18 17:07:35 +00:00
Dr. Christian Tacke
eca1370abc
root: Add +spectrum variant to enable TSpectrum (#19971) 2020-11-18 16:37:37 +00:00
Axel Huebl
8b431d1774
py-ipykernel: fix install (#19617)
There is a post-install routine in `ipykernel` that needs to be
called for proper registration with jupyter.
2020-11-18 07:34:12 -06:00
Wouter Deconinck
a0a15b5cd0
qt: patch missing includes when +opengl %gcc@10: (#19963) 2020-11-18 07:51:51 -05:00
Massimiliano Culpo
532fc40e94
clingo: add master branch version (#19958)
* updated @master to point to the master branch
* also added a @spack that points to a fixed commit
2020-11-18 04:21:55 -08:00
Greg Becker
77b2e578ec
spack test (#15702)
Users can add test() methods to their packages to run smoke tests on
installations with the new `spack test` command (the old `spack test` is
now `spack unit-test`). spack test is environment-aware, so you can
`spack install` an environment and then run `spack test run` to run smoke
tests on all of its packages. Historical test logs can be perused with
`spack test results`. Generic smoke tests for MPI implementations, C,
C++, and Fortran compilers as well as specific smoke tests for 18
packages.

Inside the test method, individual tests can be run separately (and
continue to run best-effort after a test failure) using the `run_test`
method. The `run_test` method encapsulates finding test executables,
running and checking return codes, checking output, and error handling.

This handles the following trickier aspects of testing with direct
support in Spack's package API:

- [x] Caching source or intermediate build files at build time for
      use at test time.
- [x] Test dependencies,
- [x] packages that require a compiler for testing (such as library only
      packages).

See the packaging guide for more details on using Spack testing support.
Included is support for package.py files for virtual packages. This does
not change the Spack interface, but is a major change in internals.

Co-authored-by: Tamara Dahlgren <dahlgren1@llnl.gov>
Co-authored-by: wspear <wjspear@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-11-18 02:39:02 -08:00
sameershende
b81bbfb6e9
Added -level_zero -rocm -opencl flags and sha256 for TAU v2.30. (#19962)
* Added -level_zero -rocm -opencl flags and sha256 for TAU v2.30.

* Removed the depends_on clause for OpenCL and added a variant for OneAPI level_zero.

* remove depends_on rocm

* remove depends_on rocprofiler

Co-authored-by: eugeneswalker <eugenesunsetwalker@gmail.com>
2020-11-17 19:09:24 -08:00
Massimiliano Culpo
7ffad278d3 concretizer: modified weights for providers and matching for externals
This commit address the case of concretizing a root spec with a
transitive conditional dependency on a virtual package, provided
by an external. Before these modifications default variant values
for the dependency bringing in the virtual package were not
respected, and the external package providing the virtual was added
to the DAG.

The issue stems from two facts:
- Selecting a provider has higher precedence than selecting default variants
- To ensure that an external is preferred, we used a negative weight

To solve it we shift all the providers weight so that:
- External providers have a weight of 0
- Non external provider have a weight of 10 or more

Using a weight of zero for external providers is such that having
an external provider, if present, or not having a provider at all
has the same effect on the higher priority minimization.

Also fixed a few minor bugs in concretize.lp, that were causing
spurious entries in the final answer set.

Cleaned concretize.lp from leftover rules.
2020-11-17 10:04:13 -08:00
Massimiliano Culpo
9a03fd2834 concretizer: don't require a provider for virtual deps if spec is external
This commit introduces a new rule:

real_node(Package) :- not external(Package), node(Package).

that permits to distinguish between an external node and a
real node that shouldn't trim dependency. It solves the
case of concretizing ninja with an external Python.
2020-11-17 10:04:13 -08:00
Massimiliano Culpo
e0ae60edc4 Added unit tests to for regressions on open concretizer bugs 2020-11-17 10:04:13 -08:00
Massimiliano Culpo
930b05fab4 Add unit tests for dependencies being patched by parent 2020-11-17 10:04:13 -08:00
Massimiliano Culpo
e7208b1598 tests: verify to handle dependencies conditional on other dependencies 2020-11-17 10:04:13 -08:00
Massimiliano Culpo
d00e8394f8 concretizer: handle conflicts with compiler ranges correctly
As reported, conflicts with compiler ranges were not treated
correctly. This commit adds tests to verify the expected behavior
for the new concretizer.

The new rules to enforce a correct behavior involve:
- Adding a rule to prefer the compiler selected for
  the root package, if no other preference is set
- Give a strong negative weight to compiler preferences
  expressed in packages.yaml
- Maximize on compiler AND compiler version match
2020-11-17 10:04:13 -08:00
Massimiliano Culpo
d4b83daa48 concretizer: added logic for preferred variants
If preferred variants are present, they'll
set the default value of a variant. Otherwise
the default value is what is encoded
in package.py
2020-11-17 10:04:13 -08:00
Themos Tsikas
72bc6cdf61
Build 7036 of Nag Fortran Compiler (#19954)
updated sha256sum of download .tgz
2020-11-17 11:14:22 -06:00
t-nojiri
7562e53a5a
clfft: Fix for aarch64 (#19873)
* clfft: Fix for aarch64

* clfft: Changed the patch application conditions.

* clfft: Changed Patch file
2020-11-17 09:59:14 -06:00
Keita Iwabuchi
8ba0ee7a0e
Metall package: add v0.7 (#19950)
* Metall: add version 0.2

* Add Metall v0.3

* Update Metall package to v0.4 and v0.5.

* Metall package: add v0.6

* Metall package: add v0.7
2020-11-17 09:58:36 -06:00
Tamara Dahlgren
6fa6af1070
Support parallel environment builds (#18131)
As of #13100, Spack installs the dependencies of a _single_ spec in parallel.
Environments, when installed, can only get parallelism from each individual
spec, as they're installed in order.  This PR makes entire environments build
in parallel by extending Spack's package installer to accept multiple root
specs.  The install command and Environment class have been updated to use
the new parallel install method.

The specs and kwargs for each *uninstalled* package (when not force-replacing
installations) of an environment are collected, passed to the `PackageInstaller`,
and processed using a single build queue.

This introduces a `BuildRequest` class to track install arguments, and it
significantly cleans up the code used to track package ids during installation.
Package ids in the build queue are now just DAG hashes as you would expect,

Other tasks:

- [x] Finish updating the unit tests based on `PackageInstaller`'s use of
      `BuildRequest` and the associated changes
- [x] Change `environment.py`'s `install_all` to use the `PackageInstaller` directly
- [x] Change the `install` command to leverage the new installation process for multiple specs
- [x] Change install output messages for external packages, e.g.:
       `[+] /usr` -> `[+] /usr (external bzip2-1.0.8-<dag-hash>`
- [x] Fix incomplete environment install's view setup/update and not confirming all 
       packages are installed (?)
- [x] Ensure externally installed package dependencies are properly accounted for in 
       remaining build tasks
- [x] Add tests for coverage (if insufficient and can identity the appropriate, uncovered non-comment lines)
- [x] Add documentation
- [x] Resolve multi-compiler environment install issues
- [x] Fix issue with environment installation reporting (restore CDash/JUnit reports)
2020-11-17 02:41:07 -08:00
vvolkl
ee5ae14a3b
[xerces-c] add netaccessor variant, new version (#19927)
* [xerces-c] add netaccessor variant, new version

* [geant4] add xerces-c netaccessor requirement

* [xerces-c] format
2020-11-16 16:12:53 -06:00
Wouter Deconinck
8752fc5872
[pythia6] needs CFLAGS/FFLAGS=-fcommon when %gcc@10: (#19947) 2020-11-16 16:12:20 -06:00
Jordan Ogas
385f5b8c53
node-js add gcc 4.8 conflict (#19945)
* add gcc 4.8 conflict

* commit suggestion

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-11-16 16:11:26 -06:00
eugeneswalker
81a7ae2c27
llvm: add variant: llvm_dylib (LLVM_BUILD_LLVM_DYLIB:Bool) (#19701) 2020-11-16 14:10:20 -08:00
Phil Tooley
42008e532f
WRF: Add version 3.9.1.1 and improve recipe robustness (#19882)
* Add WRF 3.9.1.1 and improve recipe robustness

* Include version 3.9.1.1 as common benchmarking workload
* Fix compilation against recent glibc (detect spack installed libtirpc)
* Detect and handle failed compilation (upstream use make -i)

* WRF: PR changes round 1
fix build jobs
fix maintainers
fix pkgconfig dependency
use Executable to run compile stage
repair some overzealous autoformatting by black

* WRF: make recipe py26 compatible

* wrf: recipe review changes round 2

* more python 26 fixes
2020-11-16 15:56:39 -06:00
Dr. Christian Tacke
8d50427c45
vgm: Switch all URLs to https (#19943) 2020-11-16 13:31:53 -06:00
Hadrien G
c512d0f408
[acts] Add versions 1.2.1 and 2.0.0 (#19936) 2020-11-16 13:28:55 -06:00
Ruben Di Battista
1fb8ae42e0
texlive: Fix install of @live version (#19941)
The unattended install using the pre-compiled binaries (tl-install)
needs a .profile file or it goes in interactive mode blocking the
install process forever
2020-11-16 13:26:31 -06:00
Satish Balay
6142ab56c7
Trilinos: update 13.0.1 (#19944) 2020-11-16 13:55:48 -05:00
Andreas Baumbach
a8fccdbddd
add new version py-wavelets@1.1.1 (#19930)
* add new version py-wavelets@1.1.1

* also update dependencies

* Update package.py
2020-11-16 10:41:17 -06:00