Skip to content

Commit

Permalink
llvm: fix libclanv_rt.builitins installation
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Feb 13, 2024
1 parent 4c65d67 commit 29403d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion LLVM.makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ $(BUILD_DIR)/compiler-rt.BUILT: $(BUILD_DIR)/llvm.BUILT
cp -R $(BUILD_DIR)/llvm/lib/clang $(FAASM_TOOLCHAIN_DIR)/lib/
# Install libclang_rt.builtins-wasm32.a
mkdir -p $(FAASM_TOOLCHAIN_DIR)/lib/clang/$(CLANG_VERSION_MAJOR)/lib/wasi
cp -R $(BUILD_DIR)/compiler-rt/lib/wasi/ $(FAASM_TOOLCHAIN_DIR)/lib/clang/$(CLANG_VERSION_MAJOR)/lib/wasi/
cp \
$(BUILD_DIR)/compiler-rt/lib/wasi/libclang_rt.builtins-wasm32.a \
$(FAASM_TOOLCHAIN_DIR)/lib/clang/$(CLANG_VERSION_MAJOR)/lib/wasi/libclang_rt.builtins-wasm32.a
touch $(BUILD_DIR)/compiler-rt.BUILT

$(BUILD_DIR)/libcxx.BUILT: $(BUILD_DIR)/llvm.BUILT ${BUILD_DIR}/wasi-libc.BUILT
Expand Down

0 comments on commit 29403d4

Please sign in to comment.