Harmen Stoppels
125206d44d
python: always use a venv ( #40773 )
...
This commit adds a layer of indirection to improve build isolation with
and without external Python, as well as usability of environment views.
It adds `python-venv` as a dependency to all packages that `extends("python")`,
which has the following advantages:
1. Build isolation: only `PYTHONPATH` is considered in builds, not
user / system packages
2. Stable install layout: fixes the problem on Debian, RHEL and Fedora where
external / system python produces `bin/local` subdirs in Spack install prefixes.
3. Environment views are Python virtual environments (and if you add
`py-pip` things like `pip list` work)
Views work whether they're symlink, hardlink or copy type.
This commit additionally makes `spec["python"].command` return
`spec["python-venv"].command`. The rationale is that packages in repos we do
not own do not pass the underlying python to the build system, which could still
result in incorrectly computed install layouts.
Other attributes like `libs`, `headers` should be on `python` anyways and need no change.
2024-05-06 16:17:35 +02:00
John W. Parent
a081b875b4
proj: patch for modern cmake ( #43780 )
2024-05-06 16:01:10 +02:00
Harmen Stoppels
a16ee3348b
Do not cache indices in Gitlab ( #44029 )
2024-05-06 15:54:21 +02:00
Massimiliano Culpo
d654d6b1f4
Remove Fedora 37 and 38, Ubuntu 18 from CI ( #44006 )
2024-05-06 15:51:45 +02:00
Harmen Stoppels
9b4ca0be40
clingo bootstrap: remove 3.12 patch and concretizer workarounds ( #44028 )
2024-05-06 15:00:41 +02:00
Harmen Stoppels
dc71dcfdc2
bootstrap: lazy bootstrapping of clingo and GnuPG ( #44026 )
...
Currently bootstrapping from source fails because clingo requires gnupg
requires clingo.
This commit stops eager bootstrapping. We don't need `patchelf` nor `gnupg`
generally. They're bootstrapped when needed.
2024-05-06 14:02:39 +02:00
Greg Becker
1f31c3374c
External package detection for compilers ( #43464 )
...
This creates shared infrastructure for compiler packages to implement the
detailed search capabilities from the `spack compiler find` command for the
`spack external find` command.
After this commit, `spack compiler find` can be replaced with
`spack external find --tag compiler`, with the exception of mixed toolchains.
2024-05-06 10:33:33 +02:00
Massimiliano Culpo
27aeb6e293
Update vendored archspec to v0.2.4 ( #44005 )
2024-05-06 10:20:56 +02:00
Harmen Stoppels
715214c1a1
spack env create <env>
: dir if dir-like (#44024 )
...
A named env cannot contain `.` and `/`.
So when a user runs `spack env create ./here` do not error but treat it
as `spack env create -d ./here`.
Also fix help string of `spack env create`, which seems to have been
copied from `activate` incorrectly.
2024-05-06 02:00:23 -06:00
dependabot[bot]
b471d62dbd
build(deps): bump black from 24.4.0 to 24.4.2 in /lib/spack/docs ( #43878 )
...
Bumps [black](https://github.com/psf/black ) from 24.4.0 to 24.4.2.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.4.0...24.4.2 )
---
updated-dependencies:
- dependency-name: black
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>
2024-05-06 09:55:43 +02:00
Massimiliano Culpo
a5f62889ca
archspec: add v0.2.4 ( #44022 )
2024-05-06 09:51:01 +02:00
Alec Scott
2a942d98e3
pkgconf: add v2.2.0 ( #44008 )
2024-05-06 09:31:41 +02:00
Alec Scott
4a4077d4ef
rust: add v1.78.0 ( #44012 )
2024-05-06 09:30:34 +02:00
Alec Scott
c0fcccc232
go: add v1.22.2 ( #44013 )
2024-05-06 09:30:13 +02:00
Alec Scott
0b2cbfefce
ncurses: add v6.5 ( #44015 )
2024-05-06 09:30:00 +02:00
Massimiliano Culpo
c499514322
libgpg-error: add v1.49 ( #44023 )
2024-05-06 09:28:31 +02:00
Alec Scott
ae392b5935
pcre2: add v10.43 ( #44020 )
2024-05-06 09:25:11 +02:00
Alec Scott
62e9bb5d51
libunistring: add v1.2 ( #44018 )
2024-05-06 09:24:12 +02:00
Alec Scott
6cd948184e
libidn2: add v2.3.7 ( #44017 )
2024-05-06 09:23:50 +02:00
Alec Scott
44ff24f558
openssl: v3.3.0 ( #44019 )
2024-05-06 09:22:15 +02:00
Alec Scott
c657dfb768
gettext: v0.22.5 ( #44014 )
2024-05-05 06:57:42 -06:00
Pranav Sivaraman
f2e410d95a
lazygit: add v0.41.0 ( #43903 )
2024-05-04 17:18:30 -06:00
dependabot[bot]
df443a38d6
build(deps): bump actions/checkout from 4.1.2 to 4.1.4 ( #43831 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.2 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](9bb56186c3...0ad4b8fada
)
---
updated-dependencies:
- dependency-name: actions/checkout
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>
2024-05-04 15:49:26 -07:00
dependabot[bot]
74fe498cb8
build(deps): bump mypy from 1.9.0 to 1.10.0 in /lib/spack/docs ( #43834 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.9.0 to 1.10.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-04 15:48:49 -07:00
Carlos Bederián
5f13a48bf2
mesa: add 23.3.6 ( #43736 )
2024-05-04 15:46:39 -07:00
Jon Rood
c4824f7fd2
ccls: add new versions ( #43923 )
2024-05-04 15:42:07 -07:00
dependabot[bot]
49a8634584
build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 ( #43945 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](84508663e9...5ecb98a3c6
)
---
updated-dependencies:
- dependency-name: codecov/codecov-action
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>
2024-05-04 15:39:42 -07:00
Seth Bromberger
eac5ea869f
tmux: add v3.4 and missing yacc build dep ( #43975 )
2024-05-04 22:33:19 +02:00
Juan Miguel Carceller
f5946c4621
pythia8: Add a gzip variant and filter some compiler wrapper paths ( #43807 )
...
* Add a gzip variant and filter some compiler wrapper paths
* Apply suggestions from code review
Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
---------
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
2024-05-04 09:33:44 -05:00
Harmen Stoppels
8564ab19c3
fix iconv from libc ( #43996 )
...
* fix iconv from libc
* fix args in glib
2024-05-04 10:30:43 +02:00
Scott Wittenburg
aae7a22d39
gitlab: release branch pipelines rebuild what changed ( #43990 )
2024-05-04 10:11:48 +02:00
eugeneswalker
09cea230b4
e4s-alc: add v1.0.2 ( #44001 )
2024-05-03 22:24:08 -06:00
wspear
a1f34ec58b
Add a gmake dependency for TAU ( #43870 )
...
We discovered a case where the system gmake can get confused by spack's build environment. Let's use a spack-provided gmake for consistent builds.
2024-05-03 20:15:40 -07:00
Auriane R
4d7cd4c0bf
Add py-flash-attn@2.4.2 ( #43960 )
2024-05-03 16:40:46 -07:00
Christopher Christofi
4adbfa3835
fix package permissions docs link for gaussian packages ( #43998 )
2024-05-03 17:35:39 -06:00
Adam J. Stewart
8a1b69c1d3
Modernize py-torch-geometric and dependencies ( #43984 )
...
* Modernize py-torch-geometric and dependencies
* Forgot one maintainer
2024-05-03 16:21:41 -07:00
Matthew Thompson
a1d69f8661
hdf package: fix building with apple-clang@15: ( #43964 )
2024-05-03 16:11:55 -07:00
Carlos Bederián
e05dbc529e
globalarrays package: add missing dependencies for armci=ofi/openib ( #43971 )
2024-05-03 16:08:29 -07:00
jdomke
99d33bf1f2
hpl: linking against fujitsu ssl2 if available ( #43978 )
...
* linking against fujitsu ssl2 if available
---------
Co-authored-by: domke <673751-domke@users.noreply.gitlab.com>
2024-05-03 16:08:12 -07:00
jdomke
bd1918cd71
adding clang compiler checks which behaves exactly like aocc ( #43976 )
...
Co-authored-by: domke <673751-domke@users.noreply.gitlab.com>
2024-05-03 16:01:14 -07:00
snehring
2a967c7df4
graphicsmagick package: add version 1.3.43 ( #43977 )
2024-05-03 15:59:10 -07:00
downloadico
7596aac958
New package: py-pylith ( #43987 )
2024-05-03 15:56:21 -07:00
Frédéric Simonis
c73ded8ed6
preCICE: increase baseline versions for next ver ( #43985 )
2024-05-03 15:55:46 -07:00
Satish Balay
df1d783035
sowing: add @master ( #43991 )
2024-05-03 15:37:39 -07:00
Massimiliano Culpo
47051c3690
Add a default provider for armci
( #43997 )
2024-05-03 23:48:58 +02:00
Owen Solberg
3fd83c637d
Add checksum for R v4.4.0 ( #43973 )
...
Co-authored-by: Owen Solberg <owen.solberg@sana.com>
2024-05-03 14:47:53 -07:00
Jon Rood
ef5afb66da
openfast: updates to package ( #43994 )
2024-05-03 15:22:12 -06:00
snehring
ecc4336bf9
r-asreml: adding new package ( #43970 )
...
Signed-off-by: Shane Nehring <snehring@iastate.edu>
2024-05-03 12:20:58 -07:00
Harmen Stoppels
d2ed217796
concretizer args: --fresh-roots == --reuse-deps ( #43988 )
...
Since reuse is the default now, `--reuse-deps` can be confusing, as it
technically does not imply roots are fresh.
So add `--fresh-roots`, which is also easier to discover when running
`spack concretize --fre<tab>`
2024-05-03 12:12:36 -07:00
Dom Heinzeller
272c7c069a
Add -fPIC to hdf-eos2 builds ( #43794 )
...
* Add -fPIC to hdf-eos2 builds
* Use self.compiler.cc_pic_flag instead of -fPIC
* Fix style in var/spack/repos/builtin/packages/hdf-eos2/package.py
2024-05-03 11:38:33 -07:00