Age | Commit message (Collapse) | Author | Files | Lines |
|
cp2k was using the outdated and Incorrect compiler name `cray`.
|
|
We should not fail the generate stage simply due to the presence of
a broken-spec somewhere in the DAG. Only fail if the known broken
spec needs to be rebuilt.
|
|
This PR adds a context manager that permit to group the common part of a `when=` argument and add that to the context:
```python
class Gcc(AutotoolsPackage):
with when('+nvptx'):
depends_on('cuda')
conflicts('@:6', msg='NVPTX only supported in gcc 7 and above')
conflicts('languages=ada')
conflicts('languages=brig')
conflicts('languages=go')
```
The above snippet is equivalent to:
```python
class Gcc(AutotoolsPackage):
depends_on('cuda', when='+nvptx')
conflicts('@:6', when='+nvptx', msg='NVPTX only supported in gcc 7 and above')
conflicts('languages=ada', when='+nvptx')
conflicts('languages=brig', when='+nvptx')
conflicts('languages=go', when='+nvptx')
```
which needs a repetition of the `when='+nvptx'` argument. The context manager might help improving readability and permits to group together directives related to the same semantic aspect (e.g. all the directives needed to model the behavior of `gcc` when `+nvptx` is active).
Modifications:
- [x] Added a `when` context manager to be used with package directives
- [x] Add unit tests and documentation for the new feature
- [x] Modified `cp2k` and `gcc` to show the use of the context manager
|
|
(#24611)
|
|
I installed curl on my mac and it picked up a homebrew (I think?)
installation of gsasl. A later system update broke git because of the
implicitly added dependency. Explicitly disabling libraries that *might*
exist on the system is the safe approach here.
```
dyld: Library not loaded: /usr/local/opt/gsasl/lib/libgsasl.7.dylib
Referenced from: /rnsdhpc/code/spack/opt/spack/apple-clang/curl/gag5v3c/lib/libcurl.4.dylib
Reason: image not found
error: git-remote-https died of signal 6
```
|
|
|
|
|
|
Also add conflict with rocm-4.2.
|
|
fixes #24210
|
|
|
|
|
|
FFTW: prefer with OpenMP acceleration for OpenMP compute backend
|
|
|
|
|
|
* Added Perl workaround for CUDA <= 8
* Re-wrapped comment
* Proofreading corrections
* Added a reference
* Do not override Perl include path
* Retrieve shell once
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
* trilinos: add teko conflict
* trilinos: improve gotype variant
Instead of 'none' and 'long' typically being the same (but not for older
trilinos versions), add an explicit 'all' variant that only works for
older trilinos which supports multiple simultaneous tpetra
instantiations.
* trilinos: add self as maintainer
* trilinos: disable vendored gtest by default
|
|
|
|
|
|
|
|
This changes several conflicting variants to a single
multi-value variant, and uses conflicts instead of raising InstallError.
(With clingo, requesting +gui automatically selects features=huge!)
I have also rearranged the dependencies for clarity and simplified the
conifgure args.
|
|
|
|
|
|
ci: only write to broken-specs list on SpackError
Only write to the broken-specs list when `spack install` raises a SpackError,
instead of writing to this list unnecessarily when infrastructure-related problems
prevent a develop job from completing successfully.
|
|
Also fixes some style issues
|
|
|
|
|
|
* py-torch: patch no longer needed on master
* Overhaul PyTorch package
* py-torch: add v1.9.0
* Change defaults on macOS
* Submodules still needed...
* Add ONNX dependency
* System libs don't work for many submodules
* Silence CMake warning
* Add conflict for +cuda+rocm
* Add more deps
* Add more BLAS options
* Disable some broken system libs options
* Add patches to build older versions
* +mkldnn requires mkl
* Fix BLAS settings
|
|
|
|
ci: Do not allow cdash-related errors to cause pipeline failure
|
|
|
|
|
|
Co-authored-by: Robert Mijakovic <robert.mijakovic@lxp.lu>
|
|
|
|
|
|
|
|
- change the default compute backend: we just start to add OpenMP support
- FFTW: prefer with OpenMP acceleration for OpenMP compute backend
|
|
* [py-datasets] created template
* [py-datasets] added dependencies
* [py-datasets] requires py-pyarrow with +parquet
* [py-datasets] Final cleanup
- added homepage
- added description
- removed fixmes
|
|
Co-authored-by: Sid Pendelberry <sid@rit.edu>
|
|
|
|
|
|
|
|
|
|
If two Specs have the same hash (and prefix) but are not equal, Spack
originally had logic to detect this and raise an error (since both
cannot be installed in the same place). Recently this has eroded and
the check no-longer works; moreover, when defining projections (which
may truncate the hash or other distinguishing properties from the
prefix) Spack was also failing to detect collisions (in both of these
cases, Spack would overwrite the old prefix with the new Spec).
This PR maintains a list of all "taken" prefixes: if a hash is not
registered (i.e. recorded as installed in the database) but the prefix
is occupied, that is a collision. This can detect collisions created
by defining projections (specifically when they omit the hash).
The PR does not detect collisions where specs have the same hash
(and prefix) but are not equal.
|
|
Fix syntax of conflict between numpy 1.21.0 and gcc11 to that the clingo
concretizer recognizes it.
In addition the upstream master branch was renamed to main.
|
|
* [py-pyautogui] created template
* [py-pyautogui] added some unconditional dependencies
* [py-pyautogui] Final cleanup
- added homepage
- added description
- removed fixmes
* [py-pyautogui] added missing dependencies
|
|
|
|
|
|
|
|
This commit runs vermin with the --violations option
that shows details of the violations to target requirements.
|
|
* [py-huggingface-hub] created template
* [py-huggingface-hub] added dependencies
* [py-huggingface-hub] added version 0.0.8
* [py-huggingface-hub] Final cleanup
- added description
- added homepage
- removed fixmes
|