-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathllvm-libcxx-16.yaml
75 lines (66 loc) · 1.59 KB
/
llvm-libcxx-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
72
73
74
75
package:
name: llvm-libcxx-16
version: 16.0.6
epoch: 2
description: The LLVM libc++ libraries
copyright:
- license: Apache-2.0
dependencies:
provides:
- llvm-libcxx=16
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- clang
- cmake
- curl
- git
- python3
- samurai
pipeline:
- uses: git-checkout
with:
repository: https://github.com/llvm/llvm-project
tag: llvmorg-${{package.version}}
expected-commit: 7cbf1a2591520c2491aa35339f227775f4d3adf6
- runs: |
cmake -G Ninja -S runtimes -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
-DLLVM_INCLUDE_TESTS=OFF \
-DLIBCXX_INCLUDE_BENCHMARKS=OFF
- runs: |
cmake --build build
- runs: |
DESTDIR=${{targets.destdir}} cmake --install build
- uses: strip
subpackages:
- name: llvm-libcxx-16-dev
pipeline:
- uses: split/dev
dependencies:
provides:
- llvm-libcxx-dev=16
- name: llvm-libcxxabi-16
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/libc++abi.so* ${{targets.subpkgdir}}/usr/lib/
dependencies:
provides:
- llvm-libcxxabi=16
update:
enabled: true
github:
identifier: llvm/llvm-project
use-tag: true
tag-filter: llvmorg-16.
strip-prefix: llvmorg-