LLVM add itermidium build
parent
56fb5ce62e
commit
22efdacf4f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue