Skip to content

Commit

Permalink
Merge pull request #18571 from mesaglio/package/onetbb
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayk authored May 12, 2024
2 parents 7334c86 + db16e74 commit b6afcd8
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions onetbb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Generated from https://git.alpinelinux.org/aports/plain/community/onetbb/APKBUILD
package:
name: onetbb
version: 2021.12.0
epoch: 0
description: oneAPI Threading Building Blocks
copyright:
- license: GPL-2.0-only

environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- cmake
- hwloc-dev
- libucontext-dev
- linux-headers
- py3-setuptools
- python3-dev
- samurai
- swig

pipeline:
- uses: git-checkout
with:
expected-commit: 9afd759b72c0c233cd5ea3c3c06b0894c9da9c54
repository: https://github.com/oneapi-src/oneTBB
tag: v${{package.version}}

- uses: cmake/configure
with:
opts: |
-DTBB4PY_BUILD=ON
- uses: cmake/build

- uses: cmake/install

- uses: strip

subpackages:
- name: py3-tbb
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/python* "${{targets.subpkgdir}}"/usr/lib/
description: onetbb FIXME

- name: onetbb-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- onetbb
- linux-headers
description: onetbb dev

- name: onetbb-doc
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/share/doc/TBB
mv "${{targets.destdir}}"/usr/share/doc/TBB/README.md "${{targets.subpkgdir}}"/usr/share/doc/TBB/README.md
description: onetbb readme

update:
enabled: true
ignore-regex-patterns:
- -rc
github:
identifier: oneapi-src/oneTBB
strip-prefix: v
tag-filter: v
use-tag: true

0 comments on commit b6afcd8

Please sign in to comment.