Lines Matching +full:download +full:- +full:url
4 It currently makes use of musl and not glibc because the pre-compiled libraries from the latter
5 have absolute paths baked in and this makes linking difficult. The pre-compiled musl library
8 As inputs, it takes external URLs from which to download the clang binaries/libraries/includes
9 as well as the musl headers and pre-compiled binaries. Those files are downloaded and put
10 into one folder, with a little bit of re-arrangement so clang can find files (like the C runtime).
16 # https://docs.bazel.build/versions/main/skylark/lib/repository_ctx.html#download
17 download_info = ctx.download(
18 url = deb,
24 # This uses the extracted llvm-ar that comes with clang.
25 ctx.execute(["bin/llvm-ar", "x", "deb.ar"])
40 # Download the clang toolchain (the extraction can take a while)
41 # https://docs.bazel.build/versions/main/skylark/lib/repository_ctx.html#download
43 url = ctx.attr.clang_url,
49 # This puts the musl include files in ${PWD}/usr/include/x86_64-linux-musl
50 # and the runtime files and lib.a files in ${PWD}/usr/lib/x86_64-linux-musl
58 # kjlubick@ cannot figure out how to get clang to look in ${PWD}/usr/lib/x86_64-linux-musl
61 ctx.execute(["cp", "usr/lib/x86_64-linux-musl/" + file, "usr/lib/"])