gcc: add missing libcilkrts-devel subpkg; correct libgomp-devel files.
This commit is contained in:
parent
5efa970972
commit
0deee5dabc
1 changed files with 18 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
pkgname=gcc
|
pkgname=gcc
|
||||||
_majorver=4.9
|
_majorver=4.9
|
||||||
version=${_majorver}.0
|
version=${_majorver}.0
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="The GNU C Compiler"
|
short_desc="The GNU C Compiler"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://gcc.gnu.org"
|
homepage="http://gcc.gnu.org"
|
||||||
|
@ -233,6 +233,19 @@ gcc-objc_package() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
libcilkrts-devel_package() {
|
||||||
|
depends="libcilkrts>=${_majorver}"
|
||||||
|
short_desc+=" - Intel(R) Cilk(TM) Plus runtime library - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/include/cilk
|
||||||
|
vmove "usr/lib/gcc/${_triplet}/${_majorver}/plugin/include/cilk*"
|
||||||
|
vmove usr/lib/libcilktrs.so
|
||||||
|
vmove usr/lib/libcilktrs.a
|
||||||
|
vmove usr/lib/libcilktrs.spec
|
||||||
|
touch ${PKGDESTDIR}/usr/share/info/dir
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
libcilkrts_package() {
|
libcilkrts_package() {
|
||||||
short_desc+=" - Intel(R) Cilk(TM) Plus runtime library"
|
short_desc+=" - Intel(R) Cilk(TM) Plus runtime library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
@ -388,7 +401,10 @@ libgomp-devel_package() {
|
||||||
depends="libgomp>=${_majorver}"
|
depends="libgomp>=${_majorver}"
|
||||||
short_desc+=" - OpenMP v4.0 library - development files"
|
short_desc+=" - OpenMP v4.0 library - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/include/omp.h
|
||||||
|
vmove usr/lib/libgomp.so
|
||||||
vmove usr/lib/libgomp.a
|
vmove usr/lib/libgomp.a
|
||||||
|
vmove usr/lib/libgomp.spec
|
||||||
vmove usr/share/info/libgomp.info
|
vmove usr/share/info/libgomp.info
|
||||||
touch ${PKGDESTDIR}/usr/share/info/dir
|
touch ${PKGDESTDIR}/usr/share/info/dir
|
||||||
}
|
}
|
||||||
|
@ -398,9 +414,7 @@ libgomp_package() {
|
||||||
short_desc+=" - OpenMP v4.0 library"
|
short_desc+=" - OpenMP v4.0 library"
|
||||||
replaces="gcc>=4.6.3<4.6.3_3"
|
replaces="gcc>=4.6.3<4.6.3_3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/gcc/${_triplet}/${_majorver}/include/omp.h
|
vmove "usr/lib/libgomp*.so.*"
|
||||||
vmove "usr/lib/libgomp*.so*"
|
|
||||||
vmove usr/lib/libgomp.spec
|
|
||||||
vinstall ${wrksrc}/COPYING.RUNTIME 644 usr/share/licenses/$pkgname RUNTIME.LIBRARY.EXCEPTION
|
vinstall ${wrksrc}/COPYING.RUNTIME 644 usr/share/licenses/$pkgname RUNTIME.LIBRARY.EXCEPTION
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue