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

Fix Homebrew LLVM 19 #8431

Merged
merged 2 commits into from
Oct 1, 2024
Merged

Fix Homebrew LLVM 19 #8431

merged 2 commits into from
Oct 1, 2024

Conversation

alexreinking
Copy link
Member

After upgrading to Homebrew's LLVM 19.1, I encountered some build failures that necessitate the following changes to our build.

  1. LLD is now packaged separately, so I needed to brew install lld.
  2. lldWasm is built as a shared library now, and it no longer includes lldCommon, so I added that dependency.
  3. LLD's headers are installed to a different folder than the rest of LLVM's now, so I added it to the include path.

Technically, this could have happened with earlier versions of LLVM, only nobody had packaged it this way, until now.

@alexreinking
Copy link
Member Author

alexreinking commented Sep 30, 2024

Also, would that LLVM fixed their CMake targets! The include directory issue wouldn't have happened if they set up their targets correctly. Also, lldWasm should probably depend on lldCommon.

@steven-johnson
Copy link
Contributor

linuxbot4 is still semi-broken :-/

@alexreinking alexreinking merged commit c4199ad into main Oct 1, 2024
11 of 12 checks passed
@alexreinking alexreinking deleted the build/fix-homebrew-llvm branch October 1, 2024 14:01
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.

2 participants