2018-10-20 20:01:21 +02:00
|
|
|
# Template file for 'libomp'
|
|
|
|
pkgname=libomp
|
|
|
|
version=7.0.1
|
2019-02-16 07:19:02 +01:00
|
|
|
revision=2
|
2018-10-20 20:01:21 +02:00
|
|
|
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
|
|
|
|
|
2019-02-16 07:19:02 +01:00
|
|
|
post_install() {
|
|
|
|
# libgomp.so is also provided by libgomp-devel, fix conflict
|
|
|
|
rm ${PKGDESTDIR}/usr/lib/libgomp.so
|
|
|
|
}
|
|
|
|
|
2018-10-20 20:01:21 +02:00
|
|
|
libomp-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|