bazel-contrib / toolchains_llvm

LLVM toolchain for bazel
Apache License 2.0
296 stars 213 forks source link

Use deb packages as binary sources #345

Open layus opened 3 months ago

layus commented 3 months ago

I wonder if there is a way to use deb packages hosted on https://apt.llvm.org/ as binary source. While binary packages are provided by volunteers hand there is uneven support for systems, the apt repo contains releases for each llvm version and several ubuntu versions.

Has someone ever tried that ? How hard would it be to redirect toolchains_llvm to a local repository_rule containting the unpacked and merged packages ?

zaucy commented 3 weeks ago

I'm also interesting in this, but I haven't tried it yet.

We could possibly use these deb packages as well http://ftp.debian.org/debian/pool/main/l/llvm-toolchain-18/

mering commented 5 days ago

Should no longer be needed with #392