Commit graph

25609 commits

Author SHA1 Message Date
psakievich
7d534f38d6
Don't allow replacement of root develop specs with --reuse (#28605)
* Fix to concretize.lp

do not allow dev specs to be reused

Co-authored-by: Gregory Becker <becker33@llnl.gov>
2022-04-12 10:37:24 -07:00
Peter Scheibel
2aec5b65f3
Git commit versions bugfix: Environments and Concretization (#29717)
Spack added support in #24639 for ad-hoc Git-commit-hash-based
versions: A user can install a package x@hash, where X is a package
that stores its source code in a Git repository, and the hash refers
to a commit in that repository which is not recorded as an explicit
version in the package.py file for X.

A couple issues were found relating to this:

* If an environment defines an alternative package repo (i.e. with
  repos.yaml), and spack.yaml contains user Specs with ad-hoc
  Git-commit-hash-based versions for packages in that repo,
  then as part of retrieving the data needed for version comparisons
  it will attempt to retrieve the package before the environment's
  configuration is instantiated.
* The bookkeeping information added to compare ad-hoc git versions was
  being stripped from Specs during concretization (such that user
  Specs which succeeded before concretizing would then fail after)

This addresses the issues:

* The first issue is resolved by deferring access to the associated
  Package until the versions are actually compared to one another.
* The second issue is resolved by ensuring that the Git bookkeeping
  information is explicitly applied to Specs after they are concretized.

This also:

* Resolves an ambiguity in the mock_git_version_info fixture used to
  create a tree of Git commits and provide a list where each index
  maps to a known commit.
* Isolates the cache used for Git repositories in tests using the
  mock_git_version_info fixture
* Adds a TODO which points out that if the remote Git repository
  overwrites tags, that Spack will then fail when using
  ad-hoc Git-commit-hash-based versions
2022-04-12 09:58:26 -07:00
Mikael Simberg
17e2fb0ef6
Add missing Boost dependencies to pika+generic_coroutines variant (#30026)
Co-authored-by: Mikael Simberg <mikael.simberg@iki.if>
2022-04-12 12:36:14 +02:00
Carlos Bederián
ce09b42cdd
curl: nss deprecated since 7.82 (#30020)
* curl: nss deprecated since 7.82
2022-04-12 03:30:24 -06:00
Brian Van Essen
433d404a93
lbann (and related stack): avoid bug in cmake 3.23.0 (#30019) 2022-04-12 08:56:48 +02:00
Massimiliano Culpo
8d56728984 vmd: remove custom phases 2022-04-12 08:39:15 +02:00
Massimiliano Culpo
39b58abd9c siesta: remove custom phases 2022-04-12 08:39:15 +02:00
Massimiliano Culpo
d7a6cb3e53 qbank: remove custom phases 2022-04-12 08:39:15 +02:00
Massimiliano Culpo
fd724fb38d py-sip: remove custom phases 2022-04-12 08:39:15 +02:00
Massimiliano Culpo
2bb9eeac28 py-gosam: remove custom phases 2022-04-12 08:39:15 +02:00
Massimiliano Culpo
b7ce6a5ec1 openmx: remove custom phases 2022-04-12 08:39:15 +02:00
Massimiliano Culpo
1999135cab ntl: remove custom phases 2022-04-12 08:39:15 +02:00
Massimiliano Culpo
a708844e87 nsimd: remove custom phases, refactor variants 2022-04-12 08:39:15 +02:00
Massimiliano Culpo
4dd5bcb3ef npb: remove custom phases 2022-04-12 08:39:15 +02:00
liuyangzhuan
dc44642bfb
bump py-statsmodels versions to 0.13.2 for gptune (#29972) 2022-04-11 17:10:28 -06:00
Doug Jacobsen
a9b4f33f23
Update gpg publish to work with mirror arguments (#28740)
This commit updates the `gpg publish` command to work with the mirror
arguments, when trying to push keys to a mirror.

- [x] update `gpg publish command
- [x] add test for publishing GPG keys and rebuilding the key index within a mirror
2022-04-11 14:48:08 -07:00
Sergey Kosukhin
6e5cba7b82
cray platform: unload cray-mpich (#29898) 2022-04-11 14:34:09 -07:00
Ken Raffenetti
b45e734b59
mpich: add v4.0.2 (#30012) 2022-04-11 15:22:34 -06:00
marcosmazz
624077e629
Fix typo in package wrf (#30014) 2022-04-11 14:11:19 -07:00
iarspider
da0a7836f3
ROOT: allow c++20, default to c++14 (#30006) 2022-04-11 12:39:11 -07:00
Massimiliano Culpo
271f0c024a
libceed: remove custom phases, slight refactor of variants (#29970) 2022-04-11 20:20:25 +02:00
Harmen Stoppels
8deb50fea5
zstd: bring back libs=shared,static and compression=zlib,lz4,lzma variants (#29995)
* zstd: bring back libs=shared,static and compression=zlib,lz4,lzma variants

Should make building `gcc+binutils ^zstd libs=static` a bit easier (this
is the case where we don't control the compiler wrappers of gcc because
of bootstrapping, nor of ld because of how gcc invokes the linker).
2022-04-11 09:30:30 -06:00
Cory Bloor
b71661eaa6
rocmlibs: cleanup amdgpu_target variant behaviour (#28907)
* Use auto_or_any_combination_of for AMD GPU architecture variant

* Make consistent rocmlibs amdgpu_target variants

* Propagate amdgpu_target variant

* Fix amdgpu_target=auto

* Fix amdgpu_target=auto setting HCC_AMDGPU_TARGET

* Tighten HIP CMake requirements

Co-authored-by: Teodor Nikolov <teodor.nikolov22@gmail.com>
2022-04-11 15:08:28 +02:00
Massimiliano Culpo
f110d0848a
nasm: remove custom phases (#29986) 2022-04-11 15:07:15 +02:00
Massimiliano Culpo
b033dbbbd0 minigmg: remove custom phases 2022-04-11 11:42:45 +02:00
Massimiliano Culpo
1a999d6e2d minigmg: remove custom phases 2022-04-11 11:42:45 +02:00
Massimiliano Culpo
9740c3b300 mg: remove custom phases, turn it into a Makefile package 2022-04-11 11:42:45 +02:00
Massimiliano Culpo
b9d12df7a9 memkind: remove custom phases, add v1.13.0 2022-04-11 11:42:45 +02:00
Massimiliano Culpo
a9a7ac71fa madgraph5amc: remove custom phases 2022-04-11 11:42:45 +02:00
Massimiliano Culpo
c8f37797a4 matlab: remove custom phases 2022-04-11 11:42:45 +02:00
Massimiliano Culpo
6bdd9db594 libplist: remove custom phases, make it an Autotools package 2022-04-11 11:42:45 +02:00
Massimiliano Culpo
92531ca773 libimagequant: remove custom phases, make it a Makefile package 2022-04-11 11:42:45 +02:00
Massimiliano Culpo
495dd61218 libgridxc: remove custom phases, make it a Makefile package 2022-04-11 11:42:45 +02:00
Massimiliano Culpo
d0ad644ea6
Remove custom phases in packages (1/n) (#29968)
* abi-dumper: remove custom phases

* apktool: remove custom phases, add v2.6.1

* aragorn: remove custom phases

* ascent: remove custom phases

* astral: remove custom phases, add v5.7.1

* bigdft: remove redundant phase definitions

* bazel: remove custom phases phase definitions

* blasr: remove custom phases phase definitions

* bmake: remove custom phases phase definitions, add v20220330

* botan: remove custom phases phase definitions

* breakdancer: remove custom phases phase definitions

* dnstracer: remove custom phases phase definitions

* conduit: remove custom phases phase definitions

* eclipse-gcj-parser: remove custom phases phase definitions

* eem: remove custom phases phase definitions

* fasttree: remove custom phases phase definitions

* fleur: remove custom phases phase definitions

* fpm: remove custom phases phase definitions

* genie: remove custom phases phase definitions

* gluegen: remove custom phases phase definitions

* gnat: remove custom phases phase definitions

* hpgmg: remove custom phases phase definitions

* karma: remove custom phases phase definitions

* libc: remove custom phases phase definitions
2022-04-11 11:39:50 +02:00
Sebastian Pipping
c2f470f4a6
expat: Deprecate 2.4.6 (#29973)
* expat: Deprecate 2.4.6

* expat: Increase detail on deprecation of 2.4.5
2022-04-11 03:22:32 -06:00
Adam J. Stewart
831346a3fb
py-pyupgrade: add new package (#29747) 2022-04-11 11:00:32 +02:00
AMD Toolchain Support
ae76834f3d
Python: fix build with AOCC compiler (#28708)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-04-11 02:50:29 -06:00
dependabot[bot]
714573cdbc
build(deps): bump actions/setup-python from 3.1.0 to 3.1.1 (#29956)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](9c644ca2ab...21c0493ecf)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 10:50:08 +02:00
Glenn Johnson
7d67577156
heasoft: add new package (#29841) 2022-04-11 10:47:38 +02:00
Wouter Deconinck
7dc569ceeb
intel-oneapi-compilers package: add rpath for lib/ directory (#29931) 2022-04-11 02:22:34 -06:00
Sajid Ali
7475eba798
cereal: add v1.3.1, v1.3.2 (#29385)
Restrict lbann to use v1.3.0 of this package

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2022-04-11 10:19:48 +02:00
Harmen Stoppels
25ae8c526b
openmpi: ucx >= 1.9.0 for 4.0.x, 4.1.x and 5.x (#29971) 2022-04-11 10:13:50 +02:00
Peter Brady
c364a04a42
chaco: fix build on macOS with Apple Clang 12 or greater (#29975) 2022-04-11 10:11:34 +02:00
Peter Brady
f229f746db
scorpio: fix build on macOS with Apple Clang 12 or greater (#29977) 2022-04-11 10:10:47 +02:00
dependabot[bot]
7385ea5f01
build(deps): bump actions/upload-artifact from 2 to 3 (#29981)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 09:56:04 +02:00
dependabot[bot]
8e177a45d2
build(deps): bump actions/download-artifact from 2 to 3 (#29982)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 09:55:32 +02:00
Joseph Wang
b1b9ed298d
davix: add v0.8.0, v0.8.1 (#29991) 2022-04-11 09:37:52 +02:00
Wouter Deconinck
70f6496f08
vecmem: add versions up to v0.12.0 (#29989) 2022-04-11 09:34:01 +02:00
Harmen Stoppels
9bc5b0cad5
gmp,mpc,mpfr: libs=static,shared variant (#29996) 2022-04-11 09:33:15 +02:00
Seth R. Johnson
1ea05cd456
macos: fewer calls to sw_vers (#29997)
In a typical call to spack, the OperatingSystem gets instantiated
multiple times. For macOS, each one requires a call to `sw_vers`, which
is done through the Executable helper class. Memoizing
reduces the call count from "spac spec" from three to one.
2022-04-11 09:31:24 +02:00