diff options
author | Marius Brehler <marbre@linux.sungazer.de> | 2016-04-01 16:07:07 +0200 |
---|---|---|
committer | Marius Brehler <marbre@linux.sungazer.de> | 2016-04-01 16:07:07 +0200 |
commit | 751ac80e82eee6803047e30e3ff6b524726552b0 (patch) | |
tree | 0cae2495aba2a15e69cd6a079945b7d7146b47c1 | |
parent | sci-libs/armadillo: Version bump to 6.600.5 (diff) | |
download | sci-751ac80e82eee6803047e30e3ff6b524726552b0.tar.gz sci-751ac80e82eee6803047e30e3ff6b524726552b0.tar.bz2 sci-751ac80e82eee6803047e30e3ff6b524726552b0.zip |
sci-libs/clfft: Version bump
Package-Manager: portage-2.2.26
-rw-r--r-- | sci-libs/clfft/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/clfft/clfft-2.10.2.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sci-libs/clfft/Manifest b/sci-libs/clfft/Manifest index 63bf028f2..c3f6d26d2 100644 --- a/sci-libs/clfft/Manifest +++ b/sci-libs/clfft/Manifest @@ -1,3 +1,4 @@ DIST clfft-2.10.0.tar.gz 986031 SHA256 f70d8ae7b8c38f27b4f28e5e7abe55378e18c4f1c5cf8922b561dc908d36ffdc SHA512 45f023bfdaf2294dc47704371dda2531aedde49977e7a9b810998a3be972fae70c44fb0ad6285e247fb6a428e00c056ab1698443d339edebdc84a37f091e528d WHIRLPOOL 70c367bb1b77e0868c3125cd4054616418f68c3ec85805d0f0059a49e3e3f5452342d1f608c6919ba052ad1ffe1505aef2775590e9ced887a95aeeb80e5bed7a +DIST clfft-2.10.2.tar.gz 988720 SHA256 7be3a706a533e1a54f9b78e13f91d19603ce082fb32c25b48d1216f5424515d7 SHA512 4f192ddf2f578aeadc350534b28036618b15a77bd216231283597515de5cef558d8e1aead1345d8f03f76dba17e41bc001af7845f502d16effa18c093f3acffe WHIRLPOOL 94cb59852b879df74e98fb7a12bdcacac9edfdd393a5aaab405b3dfa72f5c3775169135ad84d0ca627a095fcdfb73f71c8900b0d1bc707b0ee0433a9260d5025 DIST clfft-2.6.1.tar.gz 893794 SHA256 2b5b15b903baeef4dcea6bb8efbe6aba284510148c04d20f9b151a94ae71c050 SHA512 6022ba6a2f09ae3139c3869464fb7807b0a76f26ef9b9cc856f65abc3e6278004242ebbe3d259406bc8a619684f5ccf24b2019bdbe4dfaf6c745572e0a0ae4b0 WHIRLPOOL 9a61d7c84bccf4744983a851e97cfd4d5b8cd0d7d868d8adc6a022a535b681f13d6ab687d42e5e2ca2773f560ef93403d705ee4f9caa970fa17d45ea525956dc DIST clfft-2.8.tar.gz 967253 SHA256 9964b537f0af121560e64cb5a2513b153511ca85e011f23a332c45cc66f3d60a SHA512 73a1ee5373173c33bd25d2f28f46d7744fe35c4c8d1b38bede0efadd37f8199e547881eb62b04d33d6785fcddbd09512d934f88abad662a1e6c5c6299beae5ce WHIRLPOOL 529c242d1f2bf4030da96640a57a6a8c4d807be010cfc89546f2ebd99ae4f17c5d3281f60308ec98e662c6f28947fec4aa45708a7c0f1742e76d60a567c94822 diff --git a/sci-libs/clfft/clfft-2.10.2.ebuild b/sci-libs/clfft/clfft-2.10.2.ebuild new file mode 100644 index 000000000..1776ddd5f --- /dev/null +++ b/sci-libs/clfft/clfft-2.10.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils + +MY_PN="clFFT" + +DESCRIPTION="Library containing FFT functions written in OpenCL" +HOMEPAGE="https://github.com/clMathLibraries/clFFT" +SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="callback_client +client examples test" + +RDEPEND=" + >=sys-devel/gcc-4.6:* + virtual/opencl + dev-libs/boost" +DEPEND="${RDEPEND}" +# test? ( +# dev-cpp/gtest +# sci-libs/fftw:3.0 +# )" + +# The tests only get compiled to an executable named Test, which is not recogniozed by cmake. +# Therefore src_test() won't execute any test. +RESTRICT="test" + +S="${WORKDIR}/${MY_PN}-${PV}/src" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then + die "Compilation with gcc older than 4.6 is not supported." + fi + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_build callback_client CALLBACK_CLIENT) + $(cmake-utils_use_build client CLIENT) + $(cmake-utils_use_build examples EXAMPLES) + $(cmake-utils_use_build test TEST) + -DBoost_USE_STATIC_LIBS=OFF + ) + cmake-utils_src_configure +} |