summaryrefslogtreecommitdiff
path: root/dev-libs/starpu
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/starpu')
-rw-r--r--dev-libs/starpu/Manifest4
-rw-r--r--dev-libs/starpu/starpu-1.2.6-r1.ebuild12
-rw-r--r--dev-libs/starpu/starpu-1.3.8.ebuild93
3 files changed, 102 insertions, 7 deletions
diff --git a/dev-libs/starpu/Manifest b/dev-libs/starpu/Manifest
index 60ef596f65f4..38fd0560f825 100644
--- a/dev-libs/starpu/Manifest
+++ b/dev-libs/starpu/Manifest
@@ -1,3 +1,5 @@
DIST starpu-1.2.6.tar.gz 8911397 BLAKE2B a73cb3b230282b0b828fdaeb65f5491928fde1b2e5797f739a99c87318fa29511196f7121a72ff91bf0d663938b50f200d108fdce2726eb7ea8c7e997156dc13 SHA512 5971f8875dd54c73486583456bd0bc81c2865cb5b8bba6d47a5085d76fa6294c869efdd1c1d14144d08e6c14cbbea3a773474d46aa827ca24f58d9fb57ccbed7
-EBUILD starpu-1.2.6-r1.ebuild 2219 BLAKE2B 8ecb15979996b37e5a1bb7bcfbf74cee8b18e386e1784000a85aa645f23a547efc6952f8241f0de8034bd561dfd93b0c54983755d34e0b8eb31c39a8729e6efd SHA512 43a764ff2d24978893584e0935156539fc59df453b9783a71b907ed7334a48843d28a407f0ea971c53954bb88d5c142d5959cf995e7c99254f6c56ab9885acf8
+DIST starpu-1.3.8.tar.gz 12895856 BLAKE2B f04096b03d5c035fb9cc6c193a482bfe9cd348c2245ac9e5cc22ad7595f8bd61ee71d7734c6e10db227c4185fc5719d3de804d82639ce0446b923ecb5c0c4249 SHA512 cd1a8c0246d91c6d405576329222292577282fa175201c758a9d5bd75d827ff59c7e2d9418082ffd5f14a26272fef449eed4a34778d0376d44c3594a2033849a
+EBUILD starpu-1.2.6-r1.ebuild 2235 BLAKE2B 48d84321048eb6613e0c87e2ce8405f4c30b473f35e3e111eb9ec246b0c19a2a50a00217a62664cd195c626c9e52078968f6f28f568167a121f649dd27b8917f SHA512 ebb30e1b5e50eefdcd333d30c1d9ad1eef5942550b5b9ce4434aa59b0cd389926419c59c2d4bf1bc0f6a808bbdc3d1a28e346f1f764e4cb9cc9ab8613d0ad46d
+EBUILD starpu-1.3.8.ebuild 2267 BLAKE2B 3d3f70701dfcf6ec74ab39c75b7552681e31fde47557148a80db8e76efc902a07ea842a27f7be4884c440015bc0efbdf70cd65a0c00013afeae029627d250b86 SHA512 7a70618315d6c3fbcb675ef2e5e17e4af383aa58facbba1c7566019ec148ab390a51a12e6477dd24c7d973474049588057a6889f5a69543aeeff0b16bad3fd61
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
index 8a4a7251ea18..641c60725b3a 100644
--- a/dev-libs/starpu/starpu-1.2.6-r1.ebuild
+++ b/dev-libs/starpu/starpu-1.2.6-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
FORTRAN_STANDARD=90
FORTRAN_NEEDED="fortran"
inherit autotools cuda fortran-2 toolchain-funcs
@@ -11,8 +11,8 @@ 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"
+SLOT="0/5"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="
blas cuda doc examples fftw fortran gcc-plugin mpi opencl opengl
@@ -33,8 +33,8 @@ RDEPEND="
valgrind? ( dev-util/valgrind )
"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
doc? ( app-doc/doxygen virtual/latex-base )
test? ( gcc-plugin? ( dev-scheme/guile ) )
diff --git a/dev-libs/starpu/starpu-1.3.8.ebuild b/dev-libs/starpu/starpu-1.3.8.ebuild
new file mode 100644
index 000000000000..748f3df483f0
--- /dev/null
+++ b/dev-libs/starpu/starpu-1.3.8.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+FORTRAN_NEEDED="fortran"
+FORTRAN_STANDARD=90
+
+inherit autotools cuda fortran-2 toolchain-funcs
+
+DESCRIPTION="Unified runtime system for heterogeneous multicore architectures"
+HOMEPAGE="https://starpu.gitlabpages.inria.fr/"
+SRC_URI="https://files.inria.fr/${PN}/${P}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/7"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="
+ blas cuda doc examples fftw fortran hdf5 mpi opencl opengl
+ openmp spinlock-check static-libs test valgrind
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ sci-mathematics/glpk:0=
+ >=sys-apps/hwloc-2.3.0:0=
+ blas? ( virtual/blas )
+ cuda? ( dev-util/nvidia-cuda-toolkit
+ x11-drivers/nvidia-drivers )
+ fftw? ( sci-libs/fftw:3.0= )
+ hdf5? ( sci-libs/hdf5:0= )
+ mpi? ( virtual/mpi )
+ opencl? ( virtual/opencl )
+ opengl? ( media-libs/freeglut:0= )
+ valgrind? ( dev-util/valgrind )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen virtual/latex-base )
+"
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+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 mpi && use_enable test mpi-check) \
+ $(use_enable cuda) \
+ $(use_enable doc build-doc) \
+ $(use_enable doc build-doc-pdf) \
+ $(use_enable fftw starpufft) \
+ $(use_enable fortran) \
+ $(use_enable hdf5) \
+ $(use_enable mpi) \
+ $(use_enable opencl) \
+ $(use_enable opengl opengl-render) \
+ $(use_enable openmp) \
+ $(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
+}
+
+src_test() {
+ MAKEOPTS='-j1' default
+}
+
+src_install() {
+ default
+ use doc && dodoc -r doc/doxygen/*.pdf doc/doxygen/html
+ use examples && dodoc -r examples
+ find "${ED}" -name '*.la' -delete || die
+}