-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathlibtbb.yaml
62 lines (54 loc) · 1.4 KB
/
libtbb.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
package:
name: libtbb
version: 2021.11.0
epoch: 0
description: "oneAPI Threading Building Blocks"
copyright:
- license: GPL-2.0-only
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- cmake
- samurai
- wolfi-baselayout
pipeline:
- uses: fetch
with:
uri: https://github.com/oneapi-src/oneTBB/archive/v${{package.version}}.tar.gz
expected-sha256: 782ce0cab62df9ea125cdea253a50534862b563f1d85d4cda7ad4e77550ac363
- name: 'Set version and types'
runs: |
sed -e "s@#define MALLOC_UNIXLIKE_OVERLOAD_ENABLED __linux__@@" -i src/tbbmalloc_proxy/proxy.h
- name: 'Configure libtbb'
runs: |
CFLAGS="$CFLAGS -flto=auto" \
CXXFLAGS="$CXXFLAGS -flto=auto" \
cmake -B build -G Ninja \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DTBB4PY_BUILD=OFF \
-DTBB_STRICT=OFF \
-DTBB_TEST=OFF
- runs: |
cmake --build build
- runs: |
DESTDIR="${{targets.destdir}}" cmake --install build
subpackages:
- name: "libtbb-dev"
description: "headers for libtbb"
pipeline:
- uses: split/dev
dependencies:
runtime:
- libtbb
update:
enabled: true
github:
identifier: oneapi-src/oneTBB
strip-prefix: v