Skip to content

Commit ed41d0c

Browse files
committed
handle hipflags (requires update in spack core to be useful, but does not break without that change)
1 parent d6cc6b2 commit ed41d0c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎cc.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,10 @@ case "$mode" in
827827
extend spack_flags_list SPACK_CXXFLAGS
828828
preextend flags_list SPACK_TARGET_ARGS_CXX
829829
;;
830+
HIP)
831+
extend spack_flags_list SPACK_ALWAYS_HIPFLAGS
832+
extend spack_flags_list SPACK_HIPFLAGS
833+
;;
830834
F)
831835
preextend flags_list SPACK_TARGET_ARGS_FORTRAN
832836
;;

0 commit comments

Comments
 (0)