parent
187d93df88
commit
431811062b
2 changed files with 27 additions and 0 deletions
1
srcpkgs/libomp-devel
Symbolic link
1
srcpkgs/libomp-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libomp
|
26
srcpkgs/libomp/template
Normal file
26
srcpkgs/libomp/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'libomp'
|
||||||
|
pkgname=libomp
|
||||||
|
version=7.0.1
|
||||||
|
revision=1
|
||||||
|
wrksrc="openmp-${version}.src"
|
||||||
|
build_style=cmake
|
||||||
|
configure_args="-DLIBOMP_ENABLE_SHARED=ON"
|
||||||
|
hostmakedepends="perl pkg-config"
|
||||||
|
makedepends="elfutils-devel libffi-devel"
|
||||||
|
short_desc="LLVM OpenMP Runtime Library"
|
||||||
|
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
|
||||||
|
license="NCSA"
|
||||||
|
homepage="https://openmp.llvm.org"
|
||||||
|
distfiles="https://releases.llvm.org/${version}/openmp-${version}.src.tar.xz"
|
||||||
|
checksum=bf16b78a678da67d68405214ec7ee59d86a15f599855806192a75dcfca9b0d0c
|
||||||
|
|
||||||
|
libomp-devel_package() {
|
||||||
|
short_desc+=" - development files"
|
||||||
|
depends="${sourcepkg}-${version}_${revision}"
|
||||||
|
# libgomp.so is also provided by libgomp-devel
|
||||||
|
conflicts="libgomp-devel"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/libgomp.so
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue