From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/, sci-libs/arrayfire/files/
Date: Sun, 8 Mar 2015 18:08:57 +0000 (UTC) [thread overview]
Message-ID: <1425808184.96db6869f3a26f1d8449086e21272ac7ba64d334.jlec@gentoo> (raw)
commit: 96db6869f3a26f1d8449086e21272ac7ba64d334
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Mar 8 09:49:44 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Mar 8 09:49:44 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=96db6869
sci-libs/arrayfire: Update patches
Package-Manager: portage-2.2.14
sci-libs/arrayfire/ChangeLog | 8 ++++++++
sci-libs/arrayfire/arrayfire-9999.ebuild | 7 +++++--
...es.patch => arrayfire-0.9999-CMakeLists_examples.patch} | 0
...uild_gtest.patch => arrayfire-0.9999-build_gtest.patch} | 0
.../files/arrayfire-9999-CMakeLists_examples.patch | 14 ++++++++++++++
5 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 18acb43..8f534c6 100644
--- a/sci-libs/arrayfire/ChangeLog
+++ b/sci-libs/arrayfire/ChangeLog
@@ -1,6 +1,14 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 08 Mar 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +files/arrayfire-0.9999-CMakeLists_examples.patch,
+ +files/arrayfire-0.9999-build_gtest.patch,
+ +files/arrayfire-9999-CMakeLists_examples.patch,
+ -files/CMakeLists_examples.patch, -files/build_gtest.patch,
+ arrayfire-9999.ebuild:
+ Update patches
+
19 Feb 2015; Marius Brehler <marbre@linux.sungazer.de> arrayfire-9999.ebuild:
Fix SLOT operators
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 5df0538..91c16ac 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -40,10 +40,13 @@ CMAKE_BUILD_TYPE=Release
PATCHES=(
"${FILESDIR}"/FindCBLAS.patch
- "${FILESDIR}"/CMakeLists_examples.patch
- "${FILESDIR}"/build_gtest.patch
+ "${FILESDIR}/${P}"-CMakeLists_examples.patch
)
+if [[ ${PV} == "0.9999" ]] ; then
+ PATCHES+=("${FILESDIR}/${P}"-build_gtest.patch)
+fi
+
# We need write acccess /dev/nvidiactl, /dev/nvidia0 and /dev/nvidia-uvm and the portage
# user is (usually) not in the video group
RESTRICT="userpriv"
diff --git a/sci-libs/arrayfire/files/CMakeLists_examples.patch b/sci-libs/arrayfire/files/arrayfire-0.9999-CMakeLists_examples.patch
similarity index 100%
rename from sci-libs/arrayfire/files/CMakeLists_examples.patch
rename to sci-libs/arrayfire/files/arrayfire-0.9999-CMakeLists_examples.patch
diff --git a/sci-libs/arrayfire/files/build_gtest.patch b/sci-libs/arrayfire/files/arrayfire-0.9999-build_gtest.patch
similarity index 100%
rename from sci-libs/arrayfire/files/build_gtest.patch
rename to sci-libs/arrayfire/files/arrayfire-0.9999-build_gtest.patch
diff --git a/sci-libs/arrayfire/files/arrayfire-9999-CMakeLists_examples.patch b/sci-libs/arrayfire/files/arrayfire-9999-CMakeLists_examples.patch
new file mode 100644
index 0000000..56885cb1
--- /dev/null
+++ b/sci-libs/arrayfire/files/arrayfire-9999-CMakeLists_examples.patch
@@ -0,0 +1,14 @@
+Adjust installation path of examples.
+
+Patch by Marius Brehler.
+
+--- examples/CMakeLists.txt
++++ examples/CMakeLists.txt_new
+@@ -18,6 +18,7 @@ MACRO(CREATE_EXAMPLES BACKEND)
+ COMPILE_FLAGS -DAF_${DEF_NAME}
+ OUTPUT_NAME ${EXAMPLE}_${BACKEND}
+ RUNTIME_OUTPUT_DIRECTORY ${DIR_NAME})
++ INSTALL(TARGETS ${EXAMPLE_NAME} DESTINATION share/arrayfire/examples)
+ ENDFOREACH()
+ ENDMACRO(CREATE_EXAMPLES)
+
next reply other threads:[~2015-03-08 18:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-08 18:08 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-04-11 14:52 [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/, sci-libs/arrayfire/files/ Marius Brehler
2016-12-01 9:00 Marius Brehler
2016-05-19 7:14 Marius Brehler
2015-09-19 12:51 Justin Lecher
2015-09-15 13:34 Justin Lecher
2015-01-10 18:03 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=1425808184.96db6869f3a26f1d8449086e21272ac7ba64d334.jlec@gentoo \
--to=jlec@gentoo.org \
--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