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

chore: Update to LLVM 19 #214

Merged
merged 2 commits into from
Aug 13, 2024
Merged

chore: Update to LLVM 19 #214

merged 2 commits into from
Aug 13, 2024

Commits on Aug 12, 2024

  1. chore: Update to LLVM 19

    Latest Rust nightly switched to LLVM 19, so we need to update in order
    to support rustc-llvm-proxy. That includes an update of rustc-llvm-proxy
    to the version supporting LLVM 19.
    
    LLVM 19 packages don't provide shared libraries anymore, so the usage
    of `llvm-sys/force-dynamic` feature is dropped. Instead, we just let
    llvm-sys decide what kind of libraries to use.
    
    llvm-sys fails to build without libpolly being installed. Packages from
    apt.llvm.org are being built all at once, with one cmake build with
    superset of options, then different binaries and libraries are being
    included in different packages.
    
    That results in `llvm-config --libname --link-static` mentioning libpolly,
    even if it's not installed. The output of that command is being used in
    build.rs of llvm-sys, so building llvm-sys on such system is complaining about
    lack of libpolly.
    
    For now, we just install libpolly in CI, but hopefully that nightmare
    goes away once we switch to binstalls and ditch the system LLVM option.
    vadorovsky committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    215eaf8 View commit details
    Browse the repository at this point in the history
  2. ci: Use kernel 6.1.0-16

    6.1.0-15 is not available anymore.
    vadorovsky committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    bc81ec7 View commit details
    Browse the repository at this point in the history