-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathllvm-libunwind-16.yaml
71 lines (63 loc) · 1.67 KB
/
llvm-libunwind-16.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package:
name: llvm-libunwind-16
version: 16.0.6
epoch: 3
description: LLVM version of libunwind library
copyright:
- license: MIT
dependencies:
provides:
- llvm-libunwind=16
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- clang
- cmake
- gcc-12-default # needed for -nostdlib++
- llvm16
- llvm16-dev
- samurai
pipeline:
- uses: git-checkout
with:
repository: https://github.com/llvm/llvm-project
tag: llvmorg-${{package.version}}
expected-commit: 7cbf1a2591520c2491aa35339f227775f4d3adf6
- runs: |
CC=clang CXX=clang cmake -B build -G Ninja -Wno-dev -S libunwind \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCLANG_BUILT_STANDALONE=TRUE \
-DLLVM_CONFIG=/usr/lib/llvm16/bin/llvm-config \
-DCMAKE_MODULE_PATH=/home/build/cmake-src/Modules \
-DLIBUNWIND_INSTALL_HEADERS=YES
- runs: |
cmake --build build
- runs: |
DESTDIR="${{targets.destdir}}" cmake --install build
subpackages:
- name: llvm-libunwind-16-static
pipeline:
- uses: split/static
description: LLVM version of libunwind library (static library)
dependencies:
provides:
- llvm-libunwind-static=16
- name: llvm-libunwind-16-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- llvm-libunwind=16
provides:
- llvm-libunwind-dev=16
description: LLVM version of libunwind library (development files)
update:
enabled: true
github:
identifier: llvm/llvm-project
tag-filter: llvmorg-16
strip-prefix: llvmorg-