From 8b4ace9c50842c5b83401ea7b179dcab940387e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Sep 2020 10:22:15 +0100 Subject: gentoo resync : 23.09.2020 --- dev-libs/starpu/Manifest | 2 +- dev-libs/starpu/starpu-1.2.6-r1.ebuild | 89 +++++++++++++++++++++++++++++++++ dev-libs/starpu/starpu-1.2.6.ebuild | 90 ---------------------------------- 3 files changed, 90 insertions(+), 91 deletions(-) create mode 100644 dev-libs/starpu/starpu-1.2.6-r1.ebuild delete mode 100644 dev-libs/starpu/starpu-1.2.6.ebuild (limited to 'dev-libs/starpu') diff --git a/dev-libs/starpu/Manifest b/dev-libs/starpu/Manifest index 6a6d2058703c..cae7e200abcb 100644 --- a/dev-libs/starpu/Manifest +++ b/dev-libs/starpu/Manifest @@ -1,3 +1,3 @@ DIST starpu-1.2.6.tar.gz 8911397 BLAKE2B a73cb3b230282b0b828fdaeb65f5491928fde1b2e5797f739a99c87318fa29511196f7121a72ff91bf0d663938b50f200d108fdce2726eb7ea8c7e997156dc13 SHA512 5971f8875dd54c73486583456bd0bc81c2865cb5b8bba6d47a5085d76fa6294c869efdd1c1d14144d08e6c14cbbea3a773474d46aa827ca24f58d9fb57ccbed7 -EBUILD starpu-1.2.6.ebuild 2262 BLAKE2B 42773abcbc02491fc31e0a39f0fa3336beb52eb3c473fd9f76dc17f9aa8334faa2237ebf77cab29b184816a81cf4bd65690d6a0e8d758d48134fd5435f016416 SHA512 eed8587eb0b65b4511c967442007c800ad14593ef8917d01bb0f4a22fdd76aa5c147dcfe18e8bf59db1ca2dcba15d40b353a31ffb2a8874adb56b5ac5cbc7eb1 +EBUILD starpu-1.2.6-r1.ebuild 2213 BLAKE2B b20a17ccca2213f77c03fb7f455a86422fa34c1f4f55e5eb3a29a1162ca21e33d5a27c7d3193bfcabc6fac6303547d39e54d6ffe9ab8cd0554ab839e7e0ad76d SHA512 0d4e34efb9ed2eac58b0de014ea8f11de63cebfe5599db91b9adb7a5c808aa43b1d89f9b543b5781145bdb35a134836aa52eb67debfda8ecafa3c52e0fe74f88 MISC metadata.xml 987 BLAKE2B 7b8a207da7c02ecbc5e1daab83666d19d8c1128c6e05376167707ea6b411b4bed2673d9f0c9840284ab5c6f684bed3a67fddb8fc6f25289799470a4e33792e11 SHA512 97e9412721fcec2cdee55d75ce4d8c6eb20af75adfc21bcd556a336a8ee57c138be47afb881fa77180cdc4c27975d000be965f2170f7f29db85056bfbb01cee9 diff --git a/dev-libs/starpu/starpu-1.2.6-r1.ebuild b/dev-libs/starpu/starpu-1.2.6-r1.ebuild new file mode 100644 index 000000000000..171c28305eb8 --- /dev/null +++ b/dev-libs/starpu/starpu-1.2.6-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +FORTRAN_STANDARD=90 +FORTRAN_NEEDED="fortran" +inherit autotools cuda fortran-2 ltprune toolchain-funcs + +DESCRIPTION="Unified runtime system for heterogeneous multicore architectures" +HOMEPAGE="http://starpu.gforge.inria.fr/" +SRC_URI="https://gforge.inria.fr/frs/download.php/file/37744/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/8" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +IUSE=" + blas cuda doc examples fftw fortran gcc-plugin mpi opencl opengl + spinlock-check static-libs test valgrind +" +RESTRICT="!test? ( test )" + +RDEPEND=" + sci-mathematics/glpk:0= + sys-apps/hwloc:0= + blas? ( virtual/blas ) + cuda? ( dev-util/nvidia-cuda-toolkit + x11-drivers/nvidia-drivers ) + fftw? ( sci-libs/fftw:3.0= ) + mpi? ( virtual/mpi ) + opencl? ( virtual/opencl ) + opengl? ( media-libs/freeglut:0= ) + valgrind? ( dev-util/valgrind ) +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen virtual/latex-base ) + test? ( gcc-plugin? ( dev-scheme/guile ) ) +" + +src_prepare() { + default + + sed -i -e '/Libs.private/s/@LDFLAGS@//g' *.pc.in */*.pc.in || die + sed -i -e 's:-O3::g;s:-D_FORTIFY_SOURCE=1::g' configure.ac || die + eautoreconf + + use cuda && cuda_src_prepare +} + +src_configure() { + use blas && export BLAS_LIBS="$($(tc-getPKG_CONFIG) --libs blas)" + + econf \ + --disable-magma \ + $(use mpi && use_enable test mpi-check) \ + $(use_enable cuda) \ + $(use_enable doc build-doc) \ + $(use_enable fftw starpufft) \ + $(use_enable fortran) \ + $(use_enable gcc-plugin gcc-extensions) \ + $(use_enable opencl) \ + $(use_enable opengl opengl-render) \ + $(use_enable spinlock-check) \ + $(use_enable static-libs static) \ + $(use_enable valgrind) \ + $(use_with mpi mpicc "$(type -P mpicc)") \ + --disable-build-examples \ + --disable-debug \ + --disable-fstack-protector-all \ + --disable-full-gdb-information \ + --disable-starpu-top +} + +src_test() { + emake -j1 showcheck +} + +src_install() { + default + use doc && dodoc -r doc/doxygen/*.pdf doc/doxygen/html + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r examples/* + fi + prune_libtool_files --all +} diff --git a/dev-libs/starpu/starpu-1.2.6.ebuild b/dev-libs/starpu/starpu-1.2.6.ebuild deleted file mode 100644 index 122963958bfa..000000000000 --- a/dev-libs/starpu/starpu-1.2.6.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -FORTRAN_STANDARD=90 -FORTRAN_NEEDED="fortran" -inherit autotools cuda fortran-2 ltprune toolchain-funcs - -DESCRIPTION="Unified runtime system for heterogeneous multicore architectures" -HOMEPAGE="http://starpu.gforge.inria.fr/" -SRC_URI="https://gforge.inria.fr/frs/download.php/file/37744/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0/8" -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" - -IUSE=" - blas cuda doc examples fftw fortran gcc-plugin mpi opencl opengl - spinlock-check static-libs test valgrind -" -RESTRICT="!test? ( test )" - -RDEPEND=" - sci-mathematics/glpk:0= - sys-apps/hwloc:0= - blas? ( virtual/blas ) - cuda? ( dev-util/nvidia-cuda-toolkit - x11-drivers/nvidia-drivers - blas? ( sci-libs/magma ) ) - fftw? ( sci-libs/fftw:3.0= ) - mpi? ( virtual/mpi ) - opencl? ( virtual/opencl ) - opengl? ( media-libs/freeglut:0= ) - valgrind? ( dev-util/valgrind ) -" - -DEPEND=" - ${RDEPEND} - virtual/pkgconfig - doc? ( app-doc/doxygen virtual/latex-base ) - test? ( gcc-plugin? ( dev-scheme/guile ) ) -" - -src_prepare() { - default - - sed -i -e '/Libs.private/s/@LDFLAGS@//g' *.pc.in */*.pc.in || die - sed -i -e 's:-O3::g;s:-D_FORTIFY_SOURCE=1::g' configure.ac || die - eautoreconf - - use cuda && cuda_src_prepare -} - -src_configure() { - use blas && export BLAS_LIBS="$($(tc-getPKG_CONFIG) --libs blas)" - - econf \ - $(use cuda && use_enable blas magma) \ - $(use mpi && use_enable test mpi-check) \ - $(use_enable cuda) \ - $(use_enable doc build-doc) \ - $(use_enable fftw starpufft) \ - $(use_enable fortran) \ - $(use_enable gcc-plugin gcc-extensions) \ - $(use_enable opencl) \ - $(use_enable opengl opengl-render) \ - $(use_enable spinlock-check) \ - $(use_enable static-libs static) \ - $(use_enable valgrind) \ - $(use_with mpi mpicc "$(type -P mpicc)") \ - --disable-build-examples \ - --disable-debug \ - --disable-fstack-protector-all \ - --disable-full-gdb-information \ - --disable-starpu-top -} - -src_test() { - emake -j1 showcheck -} - -src_install() { - default - use doc && dodoc -r doc/doxygen/*.pdf doc/doxygen/html - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins -r examples/* - fi - prune_libtool_files --all -} -- cgit v1.2.3