* [gentoo-commits] proj/sci:master commit in: dev-libs/boost-compute/, dev-libs/boost-compute/files/
@ 2015-09-09 7:11 Justin Lecher
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher @ 2015-09-09 7:11 UTC (permalink / raw
To: gentoo-commits
commit: 5f234430a947878de282539ccd8510be4407f496
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Sep 8 10:21:50 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Sep 8 10:21:50 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5f234430
dev-libs/boost-compute: Drop 0.4-r2, bring back 0.4-r1; Drop patch to change install destination
Package-Manager: portage-2.2.20.1
dev-libs/boost-compute/ChangeLog | 9 +++++++++
...e-0.4-r2.ebuild => boost-compute-0.4-r1.ebuild} | 1 -
dev-libs/boost-compute/boost-compute-9999.ebuild | 4 ----
| 22 ----------------------
4 files changed, 9 insertions(+), 27 deletions(-)
diff --git a/dev-libs/boost-compute/ChangeLog b/dev-libs/boost-compute/ChangeLog
index e7d434f..7b05861 100644
--- a/dev-libs/boost-compute/ChangeLog
+++ b/dev-libs/boost-compute/ChangeLog
@@ -1,6 +1,15 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+*boost-compute-0.4-r1 (08 Sep 2015)
+
+ 08 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +boost-compute-0.4-r1.ebuild, -boost-compute-0.4-r2.ebuild,
+ -files/boost-compute-0.4-Fix-install-destination-of-headers.patch,
+ boost-compute-9999.ebuild:
+ dev-libs/boost-compute: Drop 0.4-r2, bring back 0.4-r1; Drop patch to change
+ install destination
+
*boost-compute-0.4-r2 (08 Sep 2015)
08 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
diff --git a/dev-libs/boost-compute/boost-compute-0.4-r2.ebuild b/dev-libs/boost-compute/boost-compute-0.4-r1.ebuild
similarity index 89%
rename from dev-libs/boost-compute/boost-compute-0.4-r2.ebuild
rename to dev-libs/boost-compute/boost-compute-0.4-r1.ebuild
index bd588d2..9d7d8f1 100644
--- a/dev-libs/boost-compute/boost-compute-0.4-r2.ebuild
+++ b/dev-libs/boost-compute/boost-compute-0.4-r1.ebuild
@@ -16,7 +16,6 @@ LICENSE="Boost-1.0"
SLOT="0"
PATCHES=(
- "${FILESDIR}/${P}"-Fix-install-destination-of-headers.patch
"${FILESDIR}/${P}"-CMakeLists.patch
)
diff --git a/dev-libs/boost-compute/boost-compute-9999.ebuild b/dev-libs/boost-compute/boost-compute-9999.ebuild
index f4c2059..c79ed92 100644
--- a/dev-libs/boost-compute/boost-compute-9999.ebuild
+++ b/dev-libs/boost-compute/boost-compute-9999.ebuild
@@ -14,10 +14,6 @@ KEYWORDS=""
LICENSE="Boost-1.0"
SLOT="0"
-PATCHES=(
- "${FILESDIR}/${PN}"-0.4-Fix-install-destination-of-headers.patch
-)
-
RDEPEND="
dev-libs/boost
virtual/opencl
diff --git a/dev-libs/boost-compute/files/boost-compute-0.4-Fix-install-destination-of-headers.patch b/dev-libs/boost-compute/files/boost-compute-0.4-Fix-install-destination-of-headers.patch
deleted file mode 100644
index c37ddd5..0000000
--- a/dev-libs/boost-compute/files/boost-compute-0.4-Fix-install-destination-of-headers.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 3df0527cad686a4e9a3cd84ead97702cf8964da3 Mon Sep 17 00:00:00 2001
-From: Marius Brehler <marius.brehler@tu-dortmund.de>
-Date: Tue, 8 Sep 2015 10:35:56 +0200
-Subject: [PATCH] Fix install destination of headers
-
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 3695681..56b47b6 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -109,4 +109,4 @@ install(
- )
-
- # install header files
--install(DIRECTORY include/boost DESTINATION include/compute)
-+install(DIRECTORY include/boost DESTINATION include)
---
-2.4.6
-
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-libs/boost-compute/, dev-libs/boost-compute/files/
@ 2020-09-25 20:56 Aisha Tammy
0 siblings, 0 replies; 2+ messages in thread
From: Aisha Tammy @ 2020-09-25 20:56 UTC (permalink / raw
To: gentoo-commits
commit: a079c3a271171977d853989ed0411941ba118521
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Sep 25 20:56:35 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Sep 25 20:56:35 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a079c3a2
dev-libs/boost-compute: fix libdir installation
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
dev-libs/boost-compute/boost-compute-0.4-r1.ebuild | 25 --------------------
dev-libs/boost-compute/boost-compute-0.5.ebuild | 23 ------------------
dev-libs/boost-compute/boost-compute-1.74.0.ebuild | 5 +++-
dev-libs/boost-compute/boost-compute-9999.ebuild | 23 ------------------
.../files/boost-compute-0.4-CMakeLists.patch | 14 -----------
.../files/boost-compute-1.74.0-libdir.patch | 13 +++++++++++
dev-libs/boost-compute/metadata.xml | 27 ++++++++++++++++------
7 files changed, 37 insertions(+), 93 deletions(-)
diff --git a/dev-libs/boost-compute/boost-compute-0.4-r1.ebuild b/dev-libs/boost-compute/boost-compute-0.4-r1.ebuild
deleted file mode 100644
index 2c52edf3c..000000000
--- a/dev-libs/boost-compute/boost-compute-0.4-r1.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils cmake-utils
-
-DESCRIPTION="A header-only C++ Computing Library for OpenCL"
-HOMEPAGE="https://github.com/boostorg/compute"
-SRC_URI="https://github.com/boostorg/compute/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Boost-1.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-RDEPEND="
- dev-libs/boost
- virtual/opencl
-"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/compute-${PV}"
-
-PATCHES=( "${FILESDIR}/${P}"-CMakeLists.patch )
diff --git a/dev-libs/boost-compute/boost-compute-0.5.ebuild b/dev-libs/boost-compute/boost-compute-0.5.ebuild
deleted file mode 100644
index 8ae88db9d..000000000
--- a/dev-libs/boost-compute/boost-compute-0.5.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils cmake-utils
-
-DESCRIPTION="A header-only C++ Computing Library for OpenCL"
-HOMEPAGE="https://github.com/boostorg/compute"
-SRC_URI="https://github.com/boostorg/compute/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Boost-1.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-RDEPEND="
- dev-libs/boost
- virtual/opencl
-"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/compute-${PV}"
diff --git a/dev-libs/boost-compute/boost-compute-1.74.0.ebuild b/dev-libs/boost-compute/boost-compute-1.74.0.ebuild
index f01c5c268..c400c83bf 100644
--- a/dev-libs/boost-compute/boost-compute-1.74.0.ebuild
+++ b/dev-libs/boost-compute/boost-compute-1.74.0.ebuild
@@ -19,7 +19,7 @@ fi
LICENSE="Boost-1.0"
SLOT="0"
-IUSE="benchmark bolt cache cuda eigen examples opencv qt tbb test threads vtk"
+IUSE="benchmark bolt cache cpp11 cuda eigen examples opencv qt tbb test threads vtk"
RDEPEND="
dev-libs/boost
@@ -27,9 +27,12 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}"/${P}-libdir.patch )
+
src_configure() {
local mycmakeargs=(
-DBOOST_COMPUTE_USE_OFFLINE_CACHE=$(usex cache)
+ -DBOOST_COMPUTE_USE_CPP11=$(usex cpp11)
-DBOOST_COMPUTE_THREAD_SAFE=$(usex threads)
-DBOOST_COMPUTE_HAVE_EIGEN=$(usex eigen)
-DBOOST_COMPUTE_HAVE_OPENCV=$(usex opencv)
diff --git a/dev-libs/boost-compute/boost-compute-9999.ebuild b/dev-libs/boost-compute/boost-compute-9999.ebuild
deleted file mode 100644
index fd7276a2d..000000000
--- a/dev-libs/boost-compute/boost-compute-9999.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils cmake-utils git-r3
-
-DESCRIPTION="A header-only C++ Computing Library for OpenCL"
-HOMEPAGE="https://github.com/boostorg/compute"
-EGIT_REPO_URI="
- https://github.com/boostorg/compute.git
- git://github.com/boostorg/compute.git"
-
-LICENSE="Boost-1.0"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-RDEPEND="
- dev-libs/boost
- virtual/opencl
-"
-DEPEND="${RDEPEND}"
diff --git a/dev-libs/boost-compute/files/boost-compute-0.4-CMakeLists.patch b/dev-libs/boost-compute/files/boost-compute-0.4-CMakeLists.patch
deleted file mode 100644
index 86d3a9e29..000000000
--- a/dev-libs/boost-compute/files/boost-compute-0.4-CMakeLists.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Install the BoostComputeConfig to /usr/lib/cmake instead of /usr/share/cmake.
-
-Patch by Marius Brehler.
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -81,7 +81,7 @@ configure_file(
- # install cmake config file
- install(
- FILES ${BoostCompute_BINARY_DIR}/BoostComputeConfig.cmake
-- DESTINATION share/cmake/BoostCompute
-+ DESTINATION lib/cmake/BoostCompute
- )
-
- # install header files
diff --git a/dev-libs/boost-compute/files/boost-compute-1.74.0-libdir.patch b/dev-libs/boost-compute/files/boost-compute-1.74.0-libdir.patch
new file mode 100644
index 000000000..9b35a5284
--- /dev/null
+++ b/dev-libs/boost-compute/files/boost-compute-1.74.0-libdir.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d0327ca..e52a62a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -122,7 +122,7 @@ configure_file(
+ # install cmake config file
+ install(
+ FILES ${BoostCompute_BINARY_DIR}/BoostComputeConfig.cmake
+- DESTINATION lib/cmake/BoostCompute
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/BoostCompute
+ )
+
+ # install header files
diff --git a/dev-libs/boost-compute/metadata.xml b/dev-libs/boost-compute/metadata.xml
index f41b18fa7..21973c648 100644
--- a/dev-libs/boost-compute/metadata.xml
+++ b/dev-libs/boost-compute/metadata.xml
@@ -2,20 +2,33 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>marbre@linux.sungazer.de</email>
- <name>Marius Brehler</name>
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
</maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<longdescription>
-Boost.Compute is a GPU/parallel-computing library for C++ based on
-OpenCL. The core library is a thin C++ wrapper over the OpenCL API
-and provides access to compute devices, contexts, command queues
-and memory buffers.
-</longdescription>
+ Boost.Compute is a GPU/parallel-computing library for C++ based on
+ OpenCL. The core library is a thin C++ wrapper over the OpenCL API
+ and provides access to compute devices, contexts, command queues
+ and memory buffers.
+ </longdescription>
<upstream>
<remote-id type="github">boostorg/compute</remote-id>
</upstream>
+ <use>
+ <flag name="benchmark">build benchmark examples</flag>
+ <flag name="bolt">build bolt examples and tests</flag>
+ <flag name="cpp11">enable C++11 features in examples and tests</flag>
+ <flag name="cache">use offline cache for opencl binaries in examples and tests</flag>
+ <flag name="cuda">build cuda examples and tests</flag>
+ <flag name="eigen">build eigen examples and tests</flag>
+ <flag name="opencv">build opencv examples and tests</flag>
+ <flag name="qt">build qt examples and tests</flag>
+ <flag name="tbb">build examples and tests using tbb backend</flag>
+ <flag name="threads">build thread safe examples and tests</flag>
+ <flag name="vtk">build vtk examples and tests</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-25 20:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09 7:11 [gentoo-commits] proj/sci:master commit in: dev-libs/boost-compute/, dev-libs/boost-compute/files/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2020-09-25 20:56 Aisha Tammy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox