Hip wrapper#20
Conversation
|
Question: should cxxflags attribute from compiler definitions (in packages.yaml) be added when detected language is HIP? or should there be a separate Also, note that if it were processed like |
|
Did you check what CMake does? They implemented it twice, so presumably the second time they learned from mistakes from the past. See https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_FLAGS.html#variable:CMAKE_%3CLANG%3E_FLAGS and various other pages, or sources. Edit: I did that:
That makes sense cause it's a different language. This is the case for ~5 years, so I would say let's do |
Used by spack/spack-packages#4411
Pipelines there fully passed with latest commit (d6cc6b2)
2b8ef4e (additional commit after that is for cleanup)