30 lines
949 B
YAML
30 lines
949 B
YAML
id: "com.vscodium.codium.tool.LLVM"
|
|
build-extension: true
|
|
branch: "21.08"
|
|
|
|
runtime: com.vscodium.codium
|
|
sdk: org.freedesktop.Sdk//21.08
|
|
runtime-version: stable
|
|
|
|
separate-locales: false
|
|
build-options:
|
|
prefix: /app/tools/LLVM
|
|
env:
|
|
- SOURCE_DATE_EPOCH=1
|
|
|
|
modules:
|
|
- name: llvm
|
|
sources:
|
|
- type: archive
|
|
url: https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-13.0.0.tar.gz
|
|
sha256: a1131358f1f9f819df73fa6bff505f2c49d176e9eef0a3aedd1fdbce3b4630e8
|
|
buildsystem: cmake-ninja
|
|
config-opts:
|
|
- -DCMAKE_BUILD_TYPE=MinSizeRel
|
|
- -DCMAKE_INSTALL_PREFIX=/app/tools/LLVM
|
|
- -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;flang;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;polly;pstl"
|
|
build-options:
|
|
cflags: -flto -Os
|
|
cxxflags: -flto -Os
|
|
ldflags: -flto -Os
|