Skip to content

[libclc] Revert the recent breaking changes from CMake from the 21.x release branch #149711

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

Open
wants to merge 5 commits into
base: release/21.x
Choose a base branch
from

Conversation

mgorny
Copy link
Member

@mgorny mgorny commented Jul 20, 2025

Revert the recent batch of changes to the CMake build of libclc that introduced significant breakage, notably:

  • standalone builds no longer working
  • broken symlinks being installed

These changes are nontrivial and were made shortly prior to the branching point, so it's better to defer them to 22.x and fix properly than attempt to apply more ad hoc fixes.

Fixes #149659
Fixes #149437

mgorny added 5 commits July 20, 2025 16:07
…lvm#148815)"

This reverts commit 8a7a648.  It broke
standalone builds since the necessary variables are now limited in scope
to `libclc/utils` while they are used in the top-level CMakeLists.
This reverts commit 81e6552. This
change caused libclc to start installing broken symlinks that contain
absolute paths to the build directory rather than relative paths
within the install directory.
This reverts commit 85d09de. This
change caused broken symlinks in the build directory, and the subsequent
commits fixing that introduced other issues.
Copy link
Collaborator

@sylvestre sylvestre left a comment

Choose a reason for hiding this comment

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

Agreed

@github-project-automation github-project-automation bot moved this from Needs Triage to Needs Merge in LLVM Release Status Jul 20, 2025
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.

LGTM. Sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Merge
Development

Successfully merging this pull request may close these issues.

4 participants