Skip to content

Conversation

@llvmbot
Copy link
Member

@llvmbot llvmbot commented Mar 6, 2025

Backport a2b0576

Requested by: @frasercrmck

The libclc headers are an implementation detail and are not intended to
be used by others as OpenCL headers. The only artifacts of libclc we
want to publish are the LLVM bytecode libraries.

As the headers have been incidentally broken by recent changes, this
commit takes the step to stop installing the headers at all. Downstreams
can use clang's own OpenCL headers, and/or its -fdeclare-opencl-builtins
flag.

Fixes llvm#119967.

(cherry picked from commit a2b0576)
@llvmbot
Copy link
Member Author

llvmbot commented Mar 6, 2025

@arsenm What do you think about merging this PR to the release branch?

@arsenm
Copy link
Contributor

arsenm commented Mar 6, 2025

Given the release is already out, I don't think it makes sense to pull this from the install in the release branch

@frasercrmck
Copy link
Contributor

Given the release is already out, I don't think it makes sense to pull this from the install in the release branch

True. You could argue that anyone using the (broken) headers in LLVM 20 is well aware of how broken they are, so pulling them from the release doesn't help anything.

I'm happy to go with whatever the consensus is.

@tstellar tstellar moved this from Needs Triage to Needs Merge in LLVM Release Status Mar 11, 2025
@tstellar tstellar moved this from Needs Merge to Needs Review in LLVM Release Status Mar 11, 2025
@tstellar
Copy link
Collaborator

OK, we'll skip this one.

@tstellar tstellar closed this Apr 11, 2025
@tstellar tstellar moved this from Needs Review to Done in LLVM Release Status Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

4 participants