Skip to content

Conversation

@walter-erquinigo
Copy link
Collaborator

This keeps throwing warnings whenever I cross-compile LLDB. The proper way to pass this variable is via
-DCROSS_TOOLCHAIN_FLAGS_NATIVE and not by modifying this file.

This keeps throwing warnings whenever I cross-compile LLDB.
The proper way to pass this variable is via
-DCROSS_TOOLCHAIN_FLAGS_NATIVE and not by modifying this file.
@jeffreytan81
Copy link
Collaborator

Interesting. I probably missed some context during the past months but I believe DROCM_PATH is intentionly required to be placed here so that so that ROCM_PATH constant can be passed down correctly during cross-compilation situation.

I will let @dmpots to confirm.

Copy link
Collaborator

@dmpots dmpots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I previously came to the conclusion that we don't need this change anymore for our current setup, but didn't get around to removing it.

I tested with this patch and was able to build the amdgpu plugin successfully. Thanks for the fix!

@walter-erquinigo
Copy link
Collaborator Author

Not needed, really. I'm cross-compiling a lot these days and I didn't need to touch this file.

@walter-erquinigo walter-erquinigo merged commit e6cdc03 into llvm-server-plugins Oct 10, 2025
6 checks passed
@walter-erquinigo walter-erquinigo deleted the clayborg/variables branch October 10, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants