Skip to content

Commit fb1f6fb

Browse files
Copilotwdconinc
andcommitted
refactor: move cuda_arch require into packages.yaml packages:all section
Co-authored-by: wdconinc <4656391+wdconinc@users.noreply.github.com>
1 parent 7fd36b7 commit fb1f6fb

4 files changed

Lines changed: 2 additions & 10 deletions

File tree

spack-environment/cuda/spack.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ spack:
22
include:
33
- ../concretizer.yaml
44
- ../packages.yaml
5-
- ../cuda_arch.yaml
65
- ../packages_root_with_opengl.yaml
76
- ../view.yaml
87
concretizer:

spack-environment/cuda_arch.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

spack-environment/packages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ packages:
2626
#- any_of: [+ipo, '@:']
2727
- any_of: [build_system=cmake, '@:']
2828
- any_of: [build_type=Release, '@:']
29+
- when: '+cuda'
30+
any_of: [cuda_arch=75, '@:']
2931
abseil-cpp:
3032
require:
3133
# Without constraints on abseil-cpp, we end up with cxxstd=14 branches

spack-environment/tf/spack.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ spack:
22
include:
33
- ../concretizer.yaml
44
- ../packages.yaml
5-
- ../cuda_arch.yaml
65
- ../view.yaml
76
concretizer:
87
unify: when_possible # py-numba needs a different llvm than the one provided as external

0 commit comments

Comments
 (0)