From 22efdacf4fdd1bcc3ebaf163e2ac1147bbc34586 Mon Sep 17 00:00:00 2001 From: Marko Semet Date: Sun, 7 Nov 2021 00:01:36 +0100 Subject: [PATCH] LLVM add itermidium build --- .../com.vscodium.codium.tool.LLVM.yaml | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/com.vscodium.codium/tool.LLVM/com.vscodium.codium.tool.LLVM.yaml b/com.vscodium.codium/tool.LLVM/com.vscodium.codium.tool.LLVM.yaml index 9c08017..f4105fd 100644 --- a/com.vscodium.codium/tool.LLVM/com.vscodium.codium.tool.LLVM.yaml +++ b/com.vscodium.codium/tool.LLVM/com.vscodium.codium.tool.LLVM.yaml @@ -14,14 +14,32 @@ build-options: modules: - name: llvm - sources: + sources: &LLVM - type: archive url: https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-13.0.0.tar.gz sha256: a1131358f1f9f819df73fa6bff505f2c49d176e9eef0a3aedd1fdbce3b4630e8 buildsystem: cmake-ninja builddir: true subdir: llvm + config-opts: + - -DCMAKE_BUILD_TYPE=MinSizeRel + - -DCMAKE_INSTALL_PREFIX=/app/tools/LLVM/tmp + - -DLLVM_ENABLE_PROJECTS="clang;clang;libcxx;libcxxabi;lld;lldb" + cleanup: + - "*" + - name: llvm + sources: *LLVM + buildsystem: cmake-ninja + builddir: true + subdir: llvm config-opts: - -DCMAKE_BUILD_TYPE=MinSizeRel - -DCMAKE_INSTALL_PREFIX=/app/tools/LLVM - -DLLVM_ENABLE_PROJECTS="clang;clang;clang-tools-extra;compiler-rt;cross-project-tests;flang;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;parallel-libs;polly;pstl" + build-options: + cc: /app/tools/LLVM/tmp/bin/clang + cflags: -flto -Oz + cxx: /app/tools/LLVM/tmp/bin/clang++ + cxxflags: -flto -Oz + ld: /app/tools/LLVM/tmp/bin/lld + ldflags: -flto -Oz