From: "Marius Brehler" <marbre@linux.sungazer.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/
Date: Mon, 30 Nov 2015 08:13:37 +0000 (UTC) [thread overview]
Message-ID: <1448871164.e81e09a9ced382302db31f37ac55948804dab28a.marbre@gentoo> (raw)
commit: e81e09a9ced382302db31f37ac55948804dab28a
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Nov 30 08:12:44 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Nov 30 08:12:44 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e81e09a9
sci-libs/clblas: Build against CL-1.2, closes issue #543
Package-Manager: portage-2.2.20.1
sci-libs/clblas/ChangeLog | 6 ++++++
sci-libs/clblas/{clblas-2.6.ebuild => clblas-2.6-r1.ebuild} | 11 +++++++++++
sci-libs/clblas/clblas-9999.ebuild | 11 +++++++++++
3 files changed, 28 insertions(+)
diff --git a/sci-libs/clblas/ChangeLog b/sci-libs/clblas/ChangeLog
index e74dc52..217f674 100644
--- a/sci-libs/clblas/ChangeLog
+++ b/sci-libs/clblas/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+*clblas-2.6-r1 (30 Nov 2015)
+
+ 30 Nov 2015; Marius Brehler <marbre@linux.sungazer.de> +clblas-2.6-r1.ebuild,
+ -clblas-2.6.ebuild, clblas-9999.ebuild:
+ sci-libs/clblas: Build against CL-1.2, closes issue #543
+
*clblas-2.6 (12 Sep 2015)
12 Sep 2015; Marius Brehler <marbre@linux.sungazer.de> +clblas-2.6.ebuild:
diff --git a/sci-libs/clblas/clblas-2.6.ebuild b/sci-libs/clblas/clblas-2.6-r1.ebuild
similarity index 76%
rename from sci-libs/clblas/clblas-2.6.ebuild
rename to sci-libs/clblas/clblas-2.6-r1.ebuild
index d060857..15ca8d5 100644
--- a/sci-libs/clblas/clblas-2.6.ebuild
+++ b/sci-libs/clblas/clblas-2.6-r1.ebuild
@@ -45,6 +45,16 @@ pkg_pretend() {
die "Compilation with gcc older than 4.6 is not supported."
fi
fi
+
+ if [ ! -d "/usr/local/include/CL" ]; then
+ eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
+ eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
+ eerror "headers, provided by the eselect-opencl package, can be created with"
+ eerror ""
+ eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/ /usr/local/include/CL"
+ eerror ""
+ die "/usr/local/include/CL not found"
+ fi
}
src_configure() {
@@ -54,6 +64,7 @@ src_configure() {
$(cmake-utils_use_build ktest KTEST)
$(cmake-utils_use_build performance PERFORMANCE)
$(cmake-utils_use_build test TEST)
+ -DOPENCL_ROOT="/usr/local/include"
)
cmake-utils_src_configure
}
diff --git a/sci-libs/clblas/clblas-9999.ebuild b/sci-libs/clblas/clblas-9999.ebuild
index 4a25302..84404a9 100644
--- a/sci-libs/clblas/clblas-9999.ebuild
+++ b/sci-libs/clblas/clblas-9999.ebuild
@@ -45,6 +45,16 @@ pkg_pretend() {
die "Compilation with gcc older than 4.6 is not supported."
fi
fi
+
+ if [ ! -d "/usr/local/include/CL" ]; then
+ eerror "As a temporary workaround for Bug #521734, a symlink pointing to"
+ eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2"
+ eerror "headers, provided by the eselect-opencl package, can be created with"
+ eerror ""
+ eerror " ln -s /usr/lib64/OpenCL/global/include/CL-1.2/ /usr/local/include/CL"
+ eerror ""
+ die "/usr/local/include/CL not found"
+ fi
}
src_configure() {
@@ -54,6 +64,7 @@ src_configure() {
$(cmake-utils_use_build ktest KTEST)
$(cmake-utils_use_build performance PERFORMANCE)
$(cmake-utils_use_build test TEST)
+ -DOPENCL_ROOT="/usr/local/include"
)
cmake-utils_src_configure
}
next reply other threads:[~2015-11-30 8:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-30 8:13 Marius Brehler [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-09-22 12:14 [gentoo-commits] proj/sci:master commit in: sci-libs/clblas/ Aisha Tammy
2017-09-02 11:39 David Seifert
2017-01-26 19:40 Martin Mokrejs
2017-01-26 19:40 Martin Mokrejs
2016-05-21 9:32 Marius Brehler
2016-04-25 8:52 Marius Brehler
2016-01-21 8:20 Marius Brehler
2015-11-30 8:13 Marius Brehler
2015-09-13 18:34 Justin Lecher
2015-06-06 9:46 Justin Lecher
2015-06-06 9:46 Justin Lecher
2015-06-05 11:20 Justin Lecher
2015-06-05 11:20 Justin Lecher
2015-05-12 11:18 Justin Lecher
2015-05-12 11:18 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1448871164.e81e09a9ced382302db31f37ac55948804dab28a.marbre@gentoo \
--to=marbre@linux.sungazer.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox