summaryrefslogtreecommitdiff
path: root/sci-libs/xkaapi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/xkaapi
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/xkaapi')
-rw-r--r--sci-libs/xkaapi/Manifest12
-rw-r--r--sci-libs/xkaapi/files/xkaapi-2.1-ffi.patch24
-rw-r--r--sci-libs/xkaapi/files/xkaapi-2.1-flags.patch39
-rw-r--r--sci-libs/xkaapi/files/xkaapi-3.0.3-flags.patch31
-rw-r--r--sci-libs/xkaapi/metadata.xml12
-rw-r--r--sci-libs/xkaapi/xkaapi-2.1.ebuild57
-rw-r--r--sci-libs/xkaapi/xkaapi-2.2.ebuild57
-rw-r--r--sci-libs/xkaapi/xkaapi-3.0.3.ebuild51
8 files changed, 283 insertions, 0 deletions
diff --git a/sci-libs/xkaapi/Manifest b/sci-libs/xkaapi/Manifest
new file mode 100644
index 000000000000..ebef6c670718
--- /dev/null
+++ b/sci-libs/xkaapi/Manifest
@@ -0,0 +1,12 @@
+AUX xkaapi-2.1-ffi.patch 794 SHA256 2b06dd7aa0abb307c706cc3d61af19595ab8dd05a9512210bdb6674a3edcbf13 SHA512 7e99e72fa025659b5598583c4cad556888ca5424b3f41409b07aa1b4268a33cc379748f3181788ff9695433af16c21d69dca6dfddc15fb6071321f21bc80b9eb WHIRLPOOL a73409f9c8fe07c0efc3b4758bd74eb1ee4a0cbefcf4b20a0486322d909001a9e23801742b496d2f9db8041ebcde72282607097473316e171dc5f23debd4ce1c
+AUX xkaapi-2.1-flags.patch 1324 SHA256 968793a742cd0170622275cff9a6892b8aec1564791fa29df9977550437691d0 SHA512 cc812130893bcf39e9c20f641e7744be7caa6e6918d195ca5d3b69b10d2a518e6b30e969e4cf6e8b6735e033858b33fc6fb1bbd347c67b87cd436980a0dead0f WHIRLPOOL 8bed475699273c3b287e42fdb68c1710d21d152347f3040d813eda1e031eb73cbaca0b87f6cc412fa67d61d72aa3978d725a854c66acbc409aa5959368ef84f5
+AUX xkaapi-3.0.3-flags.patch 1141 SHA256 cf7f14a11269a46cf0e9b43f345fd70f22bbacb4eba471006d4c01cdc5544641 SHA512 8e516bd96c9f59856d3f2e7e8e4c7703cbe4281e37b57ce2b5ace9e62175c7837fb6ae140fdb760f0b89f13c9469ba201c674f38c2b51691ee1a66f0d2c5defc WHIRLPOOL 33b3750ae51f3289331812d59ce77090bf4f020397955937fd7094f9c843bfc71cacaa6b6b6105aa0d021483c7b40932b8e3127af6724947c0d9756726c43fcc
+DIST xkaapi-2.1.tar.gz 2916405 SHA256 76e6cdb0ce3746bf00a93d45a9bb1843700b52e85ff1f74ecc0bfc838a9ba42e SHA512 5d4db7576d449b086677bcc686595da773da2c0db155aa0d0039f57fb379bfc166a35b139992416a3f44bdbccbf9f48688b3d3050eea77a258f2a395d7867b26 WHIRLPOOL 488918d2a6528e9e084fd30a42784bc8b48660369838022965408bf1838413caeb9a6c42aa5551a83ed6041badad4b08094bc9952e545e61eaf5348539a504c9
+DIST xkaapi-2.2.tar.gz 2858464 SHA256 a2f7e17abfad3a9fe4a48ff49e9f88ca6c995924bdccddc085f6fdb7a289a578 SHA512 1be98c4e3c50cf198ec3522c7ccbe7757464889b32fb39e53447548fc2975e727fb2b68b25ae99c367b155588b1ab2181e3280d099ceb991929aa2f0e9c83f0c WHIRLPOOL 737c05986cc0c2139e3ecb9763edfe39084416f44db5579e8047d4a9134dc45fdeae134885cd88077299d180bdba111197baa50f7965a768aa8b6dab0a48a77c
+DIST xkaapi-3.0.3.tar.gz 1535482 SHA256 4f37264a1e1fc21249b48923a49debcb88078034364b29996f28be1cc42588e5 SHA512 28fb02a73269e55eec90b5c2c82e4ade3bfb24d55a1f61ac6bf47da4c7e2d864cfa1389772baca9ebef4f24b3373fb6971f3fe98a4d232187e9d29a88110eda1 WHIRLPOOL 0e64d51710eada51912bbc48620fdec2e242b1de5803877ae6f22d8790b3dbc2cd3cf3a27d07489a6e10737a9e35724cc6f304973c79a14d6a4082037f50f7ab
+EBUILD xkaapi-2.1.ebuild 1220 SHA256 86fa979fc3d4fac1f3483968759ebb6eb2bd6c6df28766daa410c5aa7bec1ac7 SHA512 7908a3968fa205434e2b3d504324c19800a39ce9e7294ae50d0e7a9f94a35bf678fa3111b451429bb2641f9444ffbe13f91700f139cd11e4bfe91fc4e1e358df WHIRLPOOL 49a0fc08065ed1446ff1a3d98ce463167ff48436e5bd6617c27f02b4de41c365c23d2b216191fcdef9d4908c3cd65dfde304e1b2bb730a60ea137bdd1bb481a1
+EBUILD xkaapi-2.2.ebuild 1228 SHA256 a2bee9a63a2d021e520080be3440a7c565d9c75a5c48fae6b1623cf90a09ca6e SHA512 b2889520f2f91275c58708c74bf5b668789e93367a377b058b5ac15c061a1073c03a44243b1b36a5d4ab3898316d6f2a767b952c9b678b6a624e4980f2383e04 WHIRLPOOL 9de9ccf0f84e729a134dd258215455f64e865244498583173c2af428d3654254e4cd35db90219be1b935951ca8b0a851afcda4a592e810bda91fa3d65262c40a
+EBUILD xkaapi-3.0.3.ebuild 1046 SHA256 3399eefa4000a1a625782c564803fd137dbe9373491337e7e60215c563032657 SHA512 934874ca878fb774e417a212a044c6d6e08937925c6c357639fed361135902eb4cdff161f0f08c40dbb7625c625e04c32b1238871b61120f13556931e4fb17ae WHIRLPOOL f81c4d884c8e2d1968b3049f3c6cd9a830294df3b0f12b866192e944164a78ebe8735e633a6f90c216506bf99cbc1e6eaaf2a05a17e6c7ea209274bd25117827
+MISC ChangeLog 2753 SHA256 22621d3bbed9ed4919ee09bec83601e8d4265f0db7319f486a3a82a2220ca550 SHA512 1a9adf7d60fc647c13e936b98541c3e67c661f323f63d52d71379666ae1e168f81d34fd1ddacb9edff8623d8989248ca5cd29578786693975f44f0c526802228 WHIRLPOOL 88a818855e0969fb8e4c999df565d910c03f911c2e3e3d33506c796ac3a98ee1e15808243e4a78bd9ef9d406b6d69d0afa62a24fb65acfe5c8c34d4a72482fd8
+MISC ChangeLog-2015 1110 SHA256 dd93d9671c59b958f6d1413181588c727b654b1f7d85ec5b75f8012c18992892 SHA512 b15aecc1e7a6939a40d99eed090afda906fd6a6fad0fc0d72026a3cfd4929e8b702fcdfd4eb0a46c6a0766b586c7a4ea2c529b17403ef962b8576bd80226e1a9 WHIRLPOOL d5ac6a31db2b6089ff94c6677ddf58de011736281cfd4a31319761ac39e011c3cf4ff98d3d7c2f8f44b5a3a6ba048fa44bc20a8f0456119d48401d3ca7efedcf
+MISC metadata.xml 393 SHA256 7e08f0d5fc9ff7d6ae0788f39601808090da50d5a3df295be256341cd8107d78 SHA512 a0fd2c3db31172b8cf83e02118bff28776e8c33dff45a46db79499f9dd57162d37e75982022618b1f505d260276ad5b3f74dbc8ed8db0be330a321ba8fe25e87 WHIRLPOOL 05b7dcfb91138c63ea23534b77d69c4076c56f84e86b27e9f204b0d48c80db2d49dd29003388924dbc95cca06585f370e81c0af62bc1496ab84ca39d530e4ab4
diff --git a/sci-libs/xkaapi/files/xkaapi-2.1-ffi.patch b/sci-libs/xkaapi/files/xkaapi-2.1-ffi.patch
new file mode 100644
index 000000000000..485b6c21a969
--- /dev/null
+++ b/sci-libs/xkaapi/files/xkaapi-2.1-ffi.patch
@@ -0,0 +1,24 @@
+ configure.ac | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 2be95ec..13e876b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1034,12 +1034,12 @@ dnl -----------------------------------------------------------------------
+
+ dnl we need to always configure imported-soft/libffi in order to be able
+ dnl to run "make dist"
+-#if test x"$use_ffi" = xinternal; then
++if test x"$use_ffi" = xinternal; then
+ mkdir -p "imported-soft/libffi"
+ AC_CONFIG_SUBDIRS([imported-soft/libffi])
+-#else
+-# AC_MSG_NOTICE([Not compiling embedded copy of libffi])
+-#fi
++else
++ AC_MSG_NOTICE([Not compiling embedded copy of libffi])
++fi
+
+ dnl -----------------------------------------------------------------------
+ dnl Dependencies between libs
diff --git a/sci-libs/xkaapi/files/xkaapi-2.1-flags.patch b/sci-libs/xkaapi/files/xkaapi-2.1-flags.patch
new file mode 100644
index 000000000000..a22cabf9e4dd
--- /dev/null
+++ b/sci-libs/xkaapi/files/xkaapi-2.1-flags.patch
@@ -0,0 +1,39 @@
+ configure.ac | 11 ++++++++++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index c3364aa..2a734fe 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -82,6 +82,9 @@ AC_PROG_F77
+ dnl ----------------------------------------------------------------
+ dnl Disable default flag for compilation
+ dnl ----------------------------------------------------------------
++CPPFLAGS_gentoo="${CPPFLAGS}"
++CFLAGS_gentoo="${CFLAGS}"
++CXXFLAGS_gentoo="${CXXFLAGS}"
+ CPPFLAGS=""
+ CFLAGS=""
+ CXXFLAGS=""
+@@ -407,7 +410,7 @@ AC_ARG_ENABLE([mode],[AS_HELP_STRING([--enable-mode],
+ [choose special compilation mode (debug, release)])],[],
+ [enable_mode=default]
+ )
+-clean_default_flags
++clean_default_flags=no
+ AS_CASE([$enable_mode],
+ [default], [dnl
+ AM_CPPFLAGS="$AM_CPPFLAGS"
+@@ -428,6 +431,12 @@ AS_CASE([$enable_mode],
+ AM_CFLAGS="$AM_CFLAGS -O3 -DNDEBUG"
+ AM_CXXFLAGS="$AM_CXXFLAGS -O3 -DNDEBUG"
+ clean_default_flags=yes
++ ], [gentoo], [dnl
++ AC_MSG_NOTICE([Using gentoo compile mode])
++ AM_CPPFLAGS="$AM_CPPFLAGS ${CPPFLAGS_gentoo}"
++ AM_CFLAGS="$AM_CFLAGS -DNDEBUG ${CFLAGS_gentoo}"
++ AM_CXXFLAGS="$AM_CXXFLAGS -DNDEBUG ${CXXFLAGS_gentoo}"
++ clean_default_flags=yes
+ ], [dnl
+ AC_MSG_ERROR([Unknown compilation mode '$enable_mode'. Aborting.])
+ ])
diff --git a/sci-libs/xkaapi/files/xkaapi-3.0.3-flags.patch b/sci-libs/xkaapi/files/xkaapi-3.0.3-flags.patch
new file mode 100644
index 000000000000..0fdad94cb9b9
--- /dev/null
+++ b/sci-libs/xkaapi/files/xkaapi-3.0.3-flags.patch
@@ -0,0 +1,31 @@
+ configure.ac | 11 ++++++++++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index c3364aa..2a734fe 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -82,6 +82,9 @@ AC_PROG_F77
+ dnl ----------------------------------------------------------------
+ dnl Disable default flag for compilation
+ dnl ----------------------------------------------------------------
++CPPFLAGS_gentoo="${CPPFLAGS}"
++CFLAGS_gentoo="${CFLAGS}"
++CXXFLAGS_gentoo="${CXXFLAGS}"
+ CPPFLAGS=""
+ CFLAGS=""
+ CXXFLAGS=""
+@@ -428,6 +431,13 @@ AS_CASE([$enable_mode],
+ AM_CXXFLAGS="$AM_CXXFLAGS -O3 -DNDEBUG"
+ clean_default_flags=yes
+ AM_CONDITIONAL([KAAPI_USE_DEBUG], [test "$enable_mode" = truc ])
++ ], [gentoo], [dnl
++ AC_MSG_NOTICE([Using gentoo compile mode])
++ AM_CPPFLAGS="$AM_CPPFLAGS ${CPPFLAGS_gentoo}"
++ AM_CFLAGS="$AM_CFLAGS -DNDEBUG ${CFLAGS_gentoo}"
++ AM_CXXFLAGS="$AM_CXXFLAGS -DNDEBUG ${CXXFLAGS_gentoo}"
++ clean_default_flags=yes
++ AM_CONDITIONAL([KAAPI_USE_DEBUG], [test "$enable_mode" = gentoo ])
+ ], [dnl
+ AC_MSG_ERROR([Unknown compilation mode '$enable_mode'. Aborting.])
+ ])
diff --git a/sci-libs/xkaapi/metadata.xml b/sci-libs/xkaapi/metadata.xml
new file mode 100644
index 000000000000..80199bef1f06
--- /dev/null
+++ b/sci-libs/xkaapi/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <use>
+ <flag name="blas">Kaapi BLAS tasks for PLASMA</flag>
+ <flag name="gpu">Build library for gpu threading</flag>
+ </use>
+</pkgmetadata>
diff --git a/sci-libs/xkaapi/xkaapi-2.1.ebuild b/sci-libs/xkaapi/xkaapi-2.1.ebuild
new file mode 100644
index 000000000000..8fda1c5d4b41
--- /dev/null
+++ b/sci-libs/xkaapi/xkaapi-2.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils fortran-2
+
+UPSTREAM_NO=32735
+
+DESCRIPTION="Kernel for Adaptative, Asynchronous Parallel and Interactive programming"
+HOMEPAGE="http://kaapi.gforge.inria.fr"
+SRC_URI="https://gforge.inria.fr/frs/download.php/${UPSTREAM_NO}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="CeCILL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="blas cxx fortran gpu openmp static-libs"
+
+RDEPEND="
+ sys-apps/hwloc
+ virtual/libffi
+"
+DEPEND="${RDEPEND}
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-flags.patch
+ "${FILESDIR}"/${P}-ffi.patch
+ )
+
+src_prepare() {
+ sed \
+ -e 's:-Werror::g' \
+ -i tests/testsuite* tests/*/*.am || die
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --enable-mode=gentoo
+ --enable-api-kaapic
+ --enable-api-quark
+ --with-ccache=no
+ --enable-hwloc
+ --with-libffi="${EPREFIX}"/usr
+ --enable-target$(usex gpu gpu mt)
+ $(use_enable fortran api-kaapif)
+ $(use_enable cxx api-kaapixx)
+ $(use_enable blas kblas)
+ $(use_enable openmp libkomp)
+# $(use_with plasma "${EPREFIX}"/usr)
+ )
+ autotools-utils_src_configure
+}
diff --git a/sci-libs/xkaapi/xkaapi-2.2.ebuild b/sci-libs/xkaapi/xkaapi-2.2.ebuild
new file mode 100644
index 000000000000..2481baec666d
--- /dev/null
+++ b/sci-libs/xkaapi/xkaapi-2.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils fortran-2
+
+UPSTREAM_NO=33666
+
+DESCRIPTION="Kernel for Adaptative, Asynchronous Parallel and Interactive programming"
+HOMEPAGE="http://kaapi.gforge.inria.fr"
+SRC_URI="https://gforge.inria.fr/frs/download.php/${UPSTREAM_NO}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="CeCILL-2"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE="blas cxx fortran gpu openmp static-libs"
+
+RDEPEND="
+ sys-apps/hwloc
+ virtual/libffi
+"
+DEPEND="${RDEPEND}
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.1-flags.patch
+ "${FILESDIR}"/${PN}-2.1-ffi.patch
+ )
+
+src_prepare() {
+ sed \
+ -e 's:-Werror::g' \
+ -i tests/testsuite* tests/*/*.am || die
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --enable-mode=gentoo
+ --enable-api-kaapic
+ --enable-api-quark
+ --with-ccache=no
+ --enable-hwloc
+ --with-libffi="${EPREFIX}"/usr
+ --enable-target$(usex gpu gpu mt)
+ $(use_enable fortran api-kaapif)
+ $(use_enable cxx api-kaapixx)
+ $(use_enable blas kblas)
+ $(use_enable openmp libkomp)
+# $(use_with plasma "${EPREFIX}"/usr)
+ )
+ autotools-utils_src_configure
+}
diff --git a/sci-libs/xkaapi/xkaapi-3.0.3.ebuild b/sci-libs/xkaapi/xkaapi-3.0.3.ebuild
new file mode 100644
index 000000000000..738863617afd
--- /dev/null
+++ b/sci-libs/xkaapi/xkaapi-3.0.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils fortran-2
+
+UPSTREAM_NO=34360
+
+DESCRIPTION="Kernel for Adaptative, Asynchronous Parallel and Interactive programming"
+HOMEPAGE="http://kaapi.gforge.inria.fr"
+SRC_URI="https://gforge.inria.fr/frs/download.php/${UPSTREAM_NO}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="CeCILL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="cxx fortran openmp static-libs"
+
+RDEPEND="
+ sys-apps/hwloc
+ virtual/libffi
+"
+DEPEND="${RDEPEND}
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-flags.patch
+ )
+
+src_prepare() {
+ sed \
+ -e 's:-Werror::g' \
+ -i tests/testsuite* tests/*/*.am || die
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --enable-mode=gentoo
+ --enable-api-quark
+ --with-ccache=no
+ $(use_enable fortran api-kaapif)
+ $(use_enable cxx api-kaapixx)
+ $(use_enable openmp libkomp)
+# $(use_with plasma "${EPREFIX}"/usr)
+ )
+ autotools-utils_src_configure
+}