-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys-libs/libomp: Bump v.11.0.0 (new package)
- Loading branch information
Daniele Rondina
committed
May 6, 2023
1 parent
c702f7d
commit 5c27080
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
env: | ||
- JOBS={{ ( index .Values.labels "jobs" ) | default "3" }} | ||
- LUET_PORTAGE_CACHE_PACKAGES="/var/cache/portage/packages" | ||
- LUET_PORTAGE_IGNORE_TAR_WARNING=1 | ||
- LUET_PORTAGE_PKGMETA=1 | ||
- LUET_PORTAGE_PKGFILES=1 | ||
- FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox" | ||
prelude: | ||
- | | ||
eval 'mkdir -p /var/cache/portage/distfiles || true' && \ | ||
chown portage:portage -R /var/cache/portage/ && \ | ||
{{- if .Values.use_flags }} | ||
USE="{{ join " " .Values.use_flags }}" emerge {{ ( index .Values.labels "emerge.packages" ) }} -pv -t | ||
{{- else }} | ||
emerge -j ${JOBS} {{ ( index .Values.labels "emerge.packages" ) }} -pv -t | ||
{{- end }} | ||
- | | ||
{{- if .Values.use_flags }} | ||
USE="{{ join " " .Values.use_flags }}" emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} | ||
{{- else }} | ||
emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} | ||
{{- end }} | ||
- eval 'rm -rf /pkgdir/ || true' && mkdir -p /pkgdir/{{ .Values.name }} && luet-portage | ||
--dir /pkgdir/{{ .Values.name }} {{ ( index .Values.labels "emerge.packages" ) }} | ||
- rm -v /var/cache/distfiles/* ${LUET_PORTAGE_CACHE_PACKAGES}/* || true | ||
package_dir: /pkgdir/{{ .Values.name }} | ||
excludes: | ||
- ^/var/cache/portage/ | ||
- ^/var/git/ | ||
requires: | ||
- name: hwloc | ||
version: '>=0' | ||
category: sys-apps |
47 changes: 47 additions & 0 deletions
47
packages/atoms-extra/tools/sys-libs/libomp/definition.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: libomp | ||
version: 11.0.0 | ||
category: sys-libs | ||
use_flags: | ||
- -cuda | ||
- -test | ||
- hwloc | ||
- offload | ||
requires: | ||
- name: libffi | ||
version: '>=0' | ||
category: dev-libs | ||
- name: hwloc | ||
version: '>=0' | ||
category: sys-apps | ||
- name: libelf | ||
version: '>=0' | ||
category: virtual | ||
annotations: | ||
subsets: | ||
rules: | ||
devel: | ||
- ^/usr/include/ | ||
portage: | ||
- ^/var/db/pkg/ | ||
description: OpenMP runtime library for LLVM/clang compiler | ||
uri: | ||
- https://openmp.llvm.org | ||
license: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) | ||
labels: | ||
BDEPEND: dev-lang/perl offload? ( virtual/pkgconfig ) test? ( || ( ( dev-lang/python:3.10 | ||
dev-python/lit[python_targets_python3_10(-),python_single_target_python3_10(+)] | ||
) ( dev-lang/python:3.8 dev-python/lit[python_targets_python3_8(-),python_single_target_python3_8(+)] | ||
) ( dev-lang/python:3.9 dev-python/lit[python_targets_python3_9(-),python_single_target_python3_9(+)] | ||
) ( dev-lang/python:3.7 dev-python/lit[python_targets_python3_7(-),python_single_target_python3_7(+)] | ||
) ) >=sys-devel/clang-6 ) dev-util/ninja dev-util/cmake | ||
DEPEND: hwloc? ( sys-apps/hwloc:0=[-mgorny(-)] ) offload? ( virtual/libelf:=[-mgorny(-)] | ||
dev-libs/libffi:=[-mgorny(-)] cuda? ( dev-util/nvidia-cuda-toolkit:= ) ) | ||
IUSE: cuda hwloc kernel_linux offload ompt test abi_x86_32 abi_x86_64 abi_x86_x32 | ||
abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_s390_32 abi_s390_64 kernel_linux | ||
RDEPEND: hwloc? ( sys-apps/hwloc:0=[-mgorny(-)] ) offload? ( virtual/libelf:=[-mgorny(-)] | ||
dev-libs/libffi:=[-mgorny(-)] cuda? ( dev-util/nvidia-cuda-toolkit:= ) ) | ||
emerge.packages: sys-libs/libomp | ||
kit: llvm-kit | ||
original.package.name: sys-libs/libomp | ||
original.package.slot: "0" | ||
original.package.version: 11.0.0 |