This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

pull precompiled compiler-rt

+22 -27
+14
flake.lock
··· 111 111 "type": "github" 112 112 } 113 113 }, 114 + "libclang_rt": { 115 + "flake": false, 116 + "locked": { 117 + "lastModified": 1733968120, 118 + "narHash": "sha256-qnWit8eyTV8zOwA4SE5z+lTKpmP1u4/+MOqkzEp+Cww=", 119 + "type": "tarball", 120 + "url": "https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/libclang_rt.builtins-wasm32-wasi-25.0.tar.gz" 121 + }, 122 + "original": { 123 + "type": "tarball", 124 + "url": "https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/libclang_rt.builtins-wasm32-wasi-25.0.tar.gz" 125 + } 126 + }, 114 127 "linux": { 115 128 "flake": false, 116 129 "locked": { ··· 201 214 "busybox": "busybox", 202 215 "flake-parts": "flake-parts", 203 216 "git-hooks": "git-hooks", 217 + "libclang_rt": "libclang_rt", 204 218 "linux": "linux", 205 219 "llvm": "llvm", 206 220 "make-shell": "make-shell",
+4
flake.nix
··· 29 29 url = "github:tombl/busybox"; 30 30 flake = false; 31 31 }; 32 + libclang_rt = { 33 + url = "https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/libclang_rt.builtins-wasm32-wasi-25.0.tar.gz"; 34 + flake = false; 35 + }; 32 36 linux = { 33 37 url = "github:tombl/linux/args"; 34 38 flake = false;
+4 -27
packages/compiler-rt/package.nix
··· 1 1 { 2 - inputs, 3 2 run, 4 - 5 - clang, 6 - cmake, 7 - lld, 8 - llvm, 9 - ninja, 10 - python3, 3 + inputs, 11 4 }: 12 5 13 6 run 14 7 { 15 8 name = "compiler-rt"; 16 - src = inputs.llvm; 17 - path = [ 18 - clang 19 - cmake 20 - lld 21 - llvm 22 - ninja 23 - python3 24 - ]; 9 + src = inputs.libclang_rt; 25 10 } 26 11 '' 27 - cd llvm 28 - 29 - cmake -B build -G Ninja \ 30 - -DCMAKE_BUILD_TYPE=Release \ 31 - -DCMAKE_INSTALL_PREFIX=$out \ 32 - -DLLVM_ENABLE_RUNTIMES="compiler-rt" \ 33 - -DLLVM_TARGETS_TO_BUILD="WebAssembly" \ 34 - -DLLVM_USE_LINKER=lld 35 - 36 - cmake --build build --target install 12 + mkdir -p $out 13 + cp libclang_rt.builtins-wasm32.a $out/ 37 14 ''