diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2014-04-14 22:08:13 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2014-04-14 22:08:13 +0000 |
commit | 20be25cd76181510363232a6ef05e748ede80109 (patch) | |
tree | 09f791d87eda102ce5766fcb87bdf0baf23d06da /dev-libs/starpu | |
parent | version bump (diff) | |
download | gentoo-2-20be25cd76181510363232a6ef05e748ede80109.tar.gz gentoo-2-20be25cd76181510363232a6ef05e748ede80109.tar.bz2 gentoo-2-20be25cd76181510363232a6ef05e748ede80109.zip |
Version bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-libs/starpu')
-rw-r--r-- | dev-libs/starpu/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/starpu/starpu-1.1.1.ebuild | 84 |
2 files changed, 90 insertions, 1 deletions
diff --git a/dev-libs/starpu/ChangeLog b/dev-libs/starpu/ChangeLog index 2a2e3731ee53..a9ac1bbf987a 100644 --- a/dev-libs/starpu/ChangeLog +++ b/dev-libs/starpu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/starpu # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/starpu/ChangeLog,v 1.9 2014/01/07 23:03:34 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/starpu/ChangeLog,v 1.10 2014/04/14 22:08:13 bicatali Exp $ + +*starpu-1.1.1 (14 Apr 2014) + + 14 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> +starpu-1.1.1.ebuild: + Version bump *starpu-1.1.0 (07 Jan 2014) diff --git a/dev-libs/starpu/starpu-1.1.1.ebuild b/dev-libs/starpu/starpu-1.1.1.ebuild new file mode 100644 index 000000000000..5396b092ede9 --- /dev/null +++ b/dev-libs/starpu/starpu-1.1.1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/starpu/starpu-1.1.1.ebuild,v 1.1 2014/04/14 22:08:13 bicatali Exp $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils toolchain-funcs cuda + +DESCRIPTION="Unified runtime system for heterogeneous multicore architectures" +HOMEPAGE="http://runtime.bordeaux.inria.fr/StarPU/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="blas cuda debug doc examples fftw gcc-plugin mpi opencl opengl qt4 + static-libs test" + +RDEPEND=" + sys-apps/hwloc:0= + sci-mathematics/glpk: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? ( virtual/opengl ) + qt4? ( >=dev-qt/qtgui-4.7:4 + >=dev-qt/qtopengl-4.7:4 + >=dev-qt/qtsql-4.7:4 + x11-libs/qwt )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen virtual/latex-base ) + test? ( gcc-plugin? ( dev-scheme/guile ) )" + +src_prepare() { + # upstream did not want the patches so apply sed's + sed -i -e 's/-O3 $CFLAGS/$CFLAGS/' configure.ac || die + sed -i -e '/Libs.private/s/@LDFLAGS@//g' *.pc.in */*.pc.in || die + autotools-utils_src_prepare + use cuda && cuda_src_prepare +} + +src_configure() { + use blas && export BLAS_LIBS="$($(tc-getPKG_CONFIG) --libs blas)" + + local myeconfargs=( + --disable-build-examples + $(use_enable cuda) + $(use_enable debug) + $(use_enable doc build-doc) + $(use_enable fftw starpufft) + $(use_enable gcc-plugin gcc-extensions) + $(use_enable opencl) + $(use_enable opengl opengl-render) + $(use_enable qt4 starpu-top) + $(use_with mpi mpicc "$(type -P mpicc)") + $(use cuda && use_enable blas magma) + $(use mpi && use_enable test mpi-check) + ) + autotools-utils_src_configure +} + +src_test() { + autotools-utils_src_test -j1 showcheck +} + +src_install() { + autotools-utils_src_install + if use doc; then + dodoc "${BUILD_DIR}"/doc/doxygen/*.pdf + dohtml -r "${BUILD_DIR}"/doc/doxygen/html/* + fi + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r examples/* + fi +} |