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 some issues with llvm source build #57792

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Zentrik
Copy link
Member

@Zentrik Zentrik commented Mar 16, 2025

  • The build fails if any runtime is enabled as LLVM_ENABLE_RUNTIMES will start with ; which it seems to interpret as a runtime whose name is the empty string.
  • When llvm links against libLLVM, this fails as some of the compilers on CI set a sysroot causing zlib to not be found, see Tools linking against libLLVM don't specify zlib path llvm/llvm-project#131119.
  • Also, fix freebsd build by compiling statically linked code with -fPIC.

Zentrik added 3 commits March 16, 2025 11:35
- The build fails if any runtime is enabled as `LLVM_ENABLE_RUNTIMES` will start with `;` which it seems to interpret as a runtime whose name is the empty string.
- When llvm links against libLLVM, this fails as some of the compilers on CI set a sysroot causing zlib to not be found, see llvm/llvm-project#131119.
- Also, fix freebsd build by compiling statically linked code with `-fPIC`.
@Zentrik Zentrik changed the title fixup llvm build Fix llvm source build Mar 16, 2025
@Zentrik Zentrik added the building Build system, or building Julia or its dependencies label Mar 16, 2025
Zentrik added 2 commits March 16, 2025 14:53
We don't use this on yggdrasil, so shouldn't be necessary.
@Zentrik Zentrik marked this pull request as ready for review March 16, 2025 14:56
@Zentrik Zentrik changed the title Fix llvm source build Fix some issues with llvm source build Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant