-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CachedCMakePackage: remove hardcoded hipcc #43644
Conversation
@white238 This is causing issues (with mixed %gcc +rocm targets) that were not detected at testing time because changes in CachedCMakePackage are not interpreted as changes in the package themselves. Now, looking at the history, I think you might have missed a tiny detail about the way it used to be:
Meaning the CMAKE_CXX_COMPILER was inserted at the top of the file! |
I found that in the commit at the root of my PR:
|
This was in multiple packages in a place that had no impact due to cache variables being immutable in CMake. It got moved into a common location but higher in the generated CMake initial cache.
This should not be hardcoded due to wanting to use
crayCC
,amdclang++
, orhipcc
as your ROCM compiler.