New package: libomp-7.0.1

closes #3996
This commit is contained in:
Andy Weidenbaum 2018-10-20 13:01:21 -05:00 committed by maxice8
parent 187d93df88
commit 431811062b
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 27 additions and 0 deletions

1
srcpkgs/libomp-devel Symbolic link
View File

@ -0,0 +1 @@
libomp

26
srcpkgs/libomp/template Normal file
View 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
}
}