Skip to content
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

[LIBCLC] Correctly set up llvm-spirv and libclc-remangler #13743

Merged
merged 1 commit into from May 21, 2024

Conversation

jchlanda
Copy link
Contributor

@jchlanda jchlanda commented May 10, 2024

Customs dirs path was asserting on the existence of llvm-spirv and libclc-remangler, however those tools have not been set up.

Also only search for llvm-spirv if it has not been set in the custom tools path.

@jchlanda jchlanda requested a review from a team as a code owner May 10, 2024 12:13
@jchlanda jchlanda requested a review from npmiller May 10, 2024 12:13
@jchlanda
Copy link
Contributor Author

cc: @frasercrmck

Also only search for llvm-spirv if it has not been set in the custom
tools path.
@jchlanda
Copy link
Contributor Author

@frasercrmck are you ok with this going in?

Copy link
Contributor

@frasercrmck frasercrmck left a comment

Choose a reason for hiding this comment

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

Makes sense to me.

For a bit of context, when I redid the CMake stuff I noticed that the custom tools path wasn't picking up on either of these two tools even though it looked like it was wanting to import them. So I think I preserved the old behaviour to avoid any nasty surprises, rather than the intended behaviour. Adding the error message without seeing that it would always trip was my fault, sorry!

@jchlanda
Copy link
Contributor Author

@intel/llvm-gatekeepers this is ready to go. Thank you.

@ldrumm ldrumm merged commit 5baec4d into intel:sycl May 21, 2024
13 checks passed
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.

None yet

4 participants