Commit graph

25875 commits

Author SHA1 Message Date
Todd Gamblin
d729b4e72b
bugfix: installed and installed_upstream should not assert (#30271)
Fix bug introduced in #30191. `Spec.installed` and `Spec.installed_upstream` should just return
`False` for abstract specs, as they can be called in that context.

- [x] `Spec.installed` returns `False` now instead of asserting that the `Spec`
      is concrete.
- [x] `Spec.installed_upstream` returns `False` now instead of asserting that the `Spec`
      is concrete.
- [x] `Spec.installed_upstream` no longer caches its result, as install status seems
      like a bad thing to cache -- it can easily be invalidated. Calling code should
      use transactions if there are peformance issues, as with other places in Spack.
- [x] add tests for `Spec.installed` and `Spec.installed_upstream`
2022-04-25 07:46:21 +00:00
Mark W. Krentel
35a4c2325e
hpcviewer: add version 2022.03 (#30255) 2022-04-25 09:40:43 +02:00
Diego Alvarez
6253445b13
Added nextflow 22.04.0 (#30265) 2022-04-23 14:17:41 -07:00
H. Joe Lee
dea5fe87f7
Hermes: new package (#29863) 2022-04-23 06:38:14 -06:00
QuellynSnead
6162ea95b0
trilinos: limit secas patch range for cce (#30205)
The cray_secas.patch no longer appears to be necessary
with cce 13.x. Limit its application to cce 12.14.1 - 12.99.99.
2022-04-23 07:01:13 -04:00
Erik Schnetter
44b409d696
memkind: Don't use -Werror when building (#30071) 2022-04-23 09:16:47 +02:00
Massimiliano Culpo
a9fbc0175d
Move "installed" and "installed_upstream" from PackageBase to Spec (#30191)
This PR moves the `installed` and `installed_upstream` properties from `PackageBase` to `Spec` and is a step towards being able to reuse specs for which we don't have a `package.py` available. It _should_ be sufficient to complete the concretization step and see the spec in the concretized DAG.

To fully reuse a spec without a package.py though we need a way to serialize enough data to reconstruct the results of calls to:
- `Spec.libs`, `Spec.headers` and `Spec.ommand`
- `Package.setup_dependent_*_environment` and `Package.setup_run_environment`

- [x] Add stub methods to packages with warnings
- [x] Add a missing "root=False" in cmd/fetch.py
- [x] Assert that a spec is concrete before checking installation status
2022-04-22 16:46:45 -07:00
eugeneswalker
58ee164777
hiop +rocm: add amdgpu_target for deps (#30184)
* hiop +rocm: add amdgpu_target for deps

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

Perfect! Thanks!

Co-authored-by: Asher Mancinelli <ashermancinelli@gmail.com>

* don't use f-string, not compatible with py 2

Co-authored-by: Asher Mancinelli <ashermancinelli@gmail.com>
2022-04-22 16:26:38 -07:00
Bernd Riederer
78d87c71f6
Uncrustify package: add versions up to 0.74 (#27621) 2022-04-22 21:43:44 +00:00
eugeneswalker
9633145374
exago: depend on petsc@3.16:3.16 when @1.3.0: (#30238)
* exago: depend on petsc@3.16.0:3.16.99 when @1.3.0:

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

Co-authored-by: Cameron Rutherford <cameron.rutherford@me.com>

* constrain petsc to @3.16.0:3.16

Co-authored-by: Cameron Rutherford <cameron.rutherford@me.com>
2022-04-22 14:13:22 -07:00
Harmen Stoppels
29d96633ee
openssl: enable nvhpc build by disabling asm (#30248) 2022-04-22 14:34:41 -06:00
Peter Scheibel
267da78559
Package-level submodule attribute: support explicit versions (#30085) 2022-04-22 11:02:17 -07:00
Andrea Valenzuela
013a0a04a4
Add checksum for jupyter-console@6.4.3 (#30156)
* Add checksum for jupyter-console@6.4.3

* Update py-jupyter-console dependency

* Extend jupyter-client@7.0.0 dependency to newer versions

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

Co-authored-by: aandvalenzuela <andrea.valenzuela.ramirez@cern.ch>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-04-22 16:42:49 +00:00
Ken Raffenetti
a6a7c3ce88
mpich: Add CUDA variant (#29901)
CUDA device memory is supported with the ch4 device.

Update provides to include MPI-4.0 functionality
2022-04-22 17:02:27 +02:00
haralmha
960b48b613
py-pystan: Add new package (#29772)
* py-pystan: Add new package

* Fix dependencies

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

* Add run dependency to py-setuptools

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

* Add py-httpstan@4.7.2 and py-pysimdjson@3.2.0

* Dependency

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-04-22 09:56:07 -05:00
Michael Kuhn
84bb8e316d
fix pkgconfig dependencies (#30246)
`pkgconfig` is the correct virtual dependency, `pkg-config` and
`pkgconf` are providers of it.
2022-04-22 07:34:30 -06:00
Harmen Stoppels
010068c50a
netcdf-fortran: add v4.5.4 (#30242) 2022-04-22 14:30:58 +02:00
Harmen Stoppels
a7ebdd2d10
osu-micro-benchmarks: set NVCCFLAGS (#30221) 2022-04-22 13:59:26 +02:00
Tom Scogland
62553e7521
openssl: exclude more dangerous environment variables (#30208)
* pkg/openssl: blacklist more dangerous environment variables

* fix style
2022-04-22 04:51:18 -07:00
Massimiliano Culpo
f961a11187
Update Dockerfiles and images for Spack v0.18.0 (#30216)
This PR updates the list of images we build nightly, deprecating 
Ubuntu 16.04 and CentOS 8 and adding Ubuntu 20.04, Ubuntu 22.04
and CentOS Stream. It also removes a lot of duplication by generating
the Dockerfiles during the CI workflow and uploading them as artifacts
for later inspection or reuse.
2022-04-22 08:51:26 +02:00
Ethan Stam
b00983439f
py-cinemasci: new version 1.7.0 (#30193)
* py-cinemasci: new version 1.7.0

* remove preferred version

* add py-pyyaml dependency
2022-04-21 21:34:26 -06:00
Thomas Madlener
5fe4ac2b05
lcio: install more missing files for python bindings (#29739) 2022-04-21 20:30:28 -06:00
Alex Hedges
c60ded8ccc
findutils: new version 4.9.0 (#30170) 2022-04-22 00:15:20 +02:00
Michael Kuhn
ce7c8b44d5
gcc: add 11.3.0 (#30226) 2022-04-21 23:22:52 +02:00
eugeneswalker
4817e4c80c
exago: use hipcc for +rocm builds (#30232) 2022-04-21 14:22:41 -06:00
eugeneswalker
111aeeb0ae
exago: depends on pkgconfig (#30231) 2022-04-21 13:21:16 -07:00
Erik Schnetter
3a70df9f64
fftw: Link explicitly against -lmpi (#29279)
* fftw: Link explicitly against `-lmpi`

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

* Generalize MPI flags

Co-authored-by: Dom Heinzeller <dom.heinzeller@icloud.com>

* Add platform guard

Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Co-authored-by: Dom Heinzeller <dom.heinzeller@icloud.com>
2022-04-21 13:14:21 -06:00
Scott McMillan
616a8eebcd
perl: fix issues when compiling 5.34 with nvhpc compilers (#30110)
Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
2022-04-21 11:10:46 -06:00
Harmen Stoppels
ac9bd3d72d
openssh: no pie for %nvhpc (#30189) 2022-04-21 11:21:35 +02:00
Tim Haines
7118602251
boost: add v1.79.0 (#30137) 2022-04-21 01:09:23 -05:00
marcost2
7ebce6191a
nvtop: add versions up to v2.0.1, rework package recipe (#30180) 2022-04-21 07:58:37 +02:00
Michael Kuhn
03832a0b0f
meson: add 0.62.0 and 0.61.4 (#30201) 2022-04-20 21:26:38 -06:00
Geoffrey Oxberry
b2534171be
ipopt: update urls to use github instead of coin-or.org, add version 3.14.5, add maintainer (#30207)
* ipopt: add goxberry as maintainer

This commit adds 'goxberry' (me, Geoff Oxberry) as a maintainer of the
Ipopt Spack package.

* ipopt: use github url instead of coin-or.org url

This commit changes the package URL for Ipopt from one containing
`coin-or.org` to one containing `github.com`. The rationale for
using `github.com` is as follows:

- The COIN-OR webpage now directs users interested in Ipopt source to
  GitHub.

- Ipopt used to have a COIN-OR project homepage actually hosted on
  coin-or.org using an SVN-Trac web page. A link to this project
  homepage no longer appears within the "Projects" section of
  COIN-OR's website.

- COIN-OR issued a 2021-12-15 post on the News section of its web site
  (see https://www.coin-or.org/news/) that discusses the impact that
  lack of financial support has on COIN-OR software maintenance. It
  seems reasonable to suspect that the GitHub project is likely to
  outlast the COIN-OR web site.

The sha256 hashes for ipopt@:3.12 downloaded from GitHub differ from
the corresponding COIN-OR versions, so these hashes are also updated.

* ipopt 3.14.5: add new version

This commit adds the latest version of Ipopt, 3.14.5, to the Ipopt
Spack package.
2022-04-20 19:18:55 -07:00
Tom Scogland
4905a71d6d
refactor powershell setup to make it sourceable (#29987)
* refactor powershell setup to make it sourceable

* only set editor if it is unset

* change directory to spack root in subshell

* Update share/spack/setup-env.ps1

Co-authored-by: John W. Parent <45471568+johnwparent@users.noreply.github.com>

Co-authored-by: John W. Parent <45471568+johnwparent@users.noreply.github.com>
2022-04-20 17:11:44 -07:00
eugeneswalker
0abc4564ae
hiop +rocm: use hipcc for cxx (#30182)
* hiop +rocm: use hipcc for cxx

* move CMAKE_CXX_COMPILER arg for +rocm case to existing block
2022-04-20 13:39:19 -07:00
eugeneswalker
13d05848ad
ipopt: use url_for_version to handle different urls for 3.13.4 onwards (#30197)
* ipopt: use url_for_version to handle different urls for 3.13.4 onwards

* ipopt: new versions: 3.14.1, 3.14.2, 3.14.3, 3.14.4

* fix indent
2022-04-20 13:38:21 -07:00
Giacomo Marciani
6f2f9653c5
[aws-parallelcluster] Fix maintainers (#30194) 2022-04-20 20:27:47 +02:00
Erik Schnetter
8556f83238
mpitrampoline: New version 4.0.0 (#30106) 2022-04-20 18:15:45 +02:00
haralmha
a717c5df40
py-httpstan: Add new package (#29770)
* py-httpstan: Add new package

* Fix dependencies

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

* Add run dependency to py-setuptools

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-04-20 11:07:43 -05:00
Wileam Y. Phan
3552cfac1a
fpm: add dependency on git (#30158) 2022-04-20 09:54:50 -06:00
Alex Hedges
b792e08c15
openssh: new version 9.0p1 (#30172) 2022-04-20 09:39:22 -06:00
snehring
d1d86d68f1
casper: fix compilation errors on newer compilers (#30142) 2022-04-20 17:11:05 +02:00
Harmen Stoppels
974beb4ffc
git: add 2.35.2 + deprecations (CVE-2022-24765) (#30040)
* git: add 2.35.2, explicit version(...)

git 2.35.2 fixes CVE-2022-24765 which seems to only affect Windows. But
nonetheless we should maybe set deprecated=True on older versions... The
restructure allows for that.

* deprecate over CVE-2022-24765
2022-04-20 07:22:20 -07:00
Harmen Stoppels
b7f8899d45
docs: add (config.yaml) to sections for faster lookup by config file (#30157) 2022-04-20 15:00:43 +02:00
Harmen Stoppels
e47ec07ffc
ucx: fix simd_values (#30186) 2022-04-20 10:00:45 +00:00
Axel Huebl
778eee1579
WarpX 22.04+: Fix RZ Test (#30185)
In WarpX 22.04, we introduced the openPMD `thetaMode` for fields in
RZ geometry. That means we need to name the fields differently than
the reconstructured Cartesian slice that we default to in plotfiles.
2022-04-20 02:18:46 -06:00
Ken Raffenetti
a43a633b2a
yaksa: add new package (#29877) 2022-04-20 09:56:02 +02:00
Asher Mancinelli
5e00dffe7f
Add new hiop version, add ginkgo glu version (#30178) 2022-04-20 09:51:58 +02:00
Dylan Simon
7aa1fef506
ncurses: add query parameters to select wide/nowide; readline: use wide only (#30144)
* ncurses: add wide, nowide headers, libs query parameter options

* readline: only link with libncursesw

Needed for python to detect proper ncurses library #27369
2022-04-20 09:44:34 +02:00
Giacomo Marciani
2d94624d0a
updated v2.11.6 (#30165) 2022-04-20 09:44:10 +02:00