diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2023-02-22 10:35:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 10:35:44 +0100 |
commit | 9d6630e24530ce981378378f9a138e3dc52ad96f (patch) | |
tree | 4748406856db1a90c42e343b6070c6723d853c90 /README.md | |
parent | b8d15e816bf7388774e65ca59daf3831b4fa4180 (diff) | |
download | spack-9d6630e24530ce981378378f9a138e3dc52ad96f.tar.gz spack-9d6630e24530ce981378378f9a138e3dc52ad96f.tar.bz2 spack-9d6630e24530ce981378378f9a138e3dc52ad96f.tar.xz spack-9d6630e24530ce981378378f9a138e3dc52ad96f.zip |
spack build-env: error when deps are not installed (#35533)
Currently we attempt to setup the build environment even when
dependencies are not installed, which typically results in error while
searching for libraries or executables in a dependency's prefix.
With this change, we get a more user friendly error:
```
$ spack build-env perl
==> Error: Not all dependencies of perl are installed, cannot setup build environment:
- qpj6dw5 perl@5.36.0%apple-clang@14.0.0+cpanm+open+shared+threads build_system=generic arch=darwin-ventura-m1
- jq2plbe ^berkeley-db@18.1.40%apple-clang@14.0.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=darwin-ventura-m1
...
$ echo $?
1
```
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions