public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/pocl/
@ 2021-05-15 21:08 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2021-05-15 21:08 UTC (permalink / raw
  To: gentoo-commits

commit:     bd75c395e8358056b66511d0baedc5b60bab68a4
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat May 15 14:14:18 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat May 15 21:08:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bd75c395

dev-libs/pocl: use full path to library

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-libs/pocl/pocl-1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/pocl/pocl-1.6.ebuild b/dev-libs/pocl/pocl-1.6.ebuild
index cef334945..26082a053 100644
--- a/dev-libs/pocl/pocl-1.6.ebuild
+++ b/dev-libs/pocl/pocl-1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -51,7 +51,7 @@ src_configure() {
 		-DENABLE_ICD=ON
 		-DENABLE_POCL_BUILDING=OFF
 		-DKERNELLIB_HOST_CPU_VARIANTS=native
-		-DPOCL_ICD_ABSOLUTE_PATH=OFF
+		-DPOCL_ICD_ABSOLUTE_PATH=ON
 		-DSTATIC_LLVM=OFF
 
 		-DENABLE_ACCEL_DEVICE=$(usex accel)


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/pocl/
@ 2021-05-19 17:36 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2021-05-19 17:36 UTC (permalink / raw
  To: gentoo-commits

commit:     5da187ce74bf8a08f4c03545b7122797dd0c5be6
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May 19 08:42:08 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed May 19 17:36:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5da187ce

dev-libs/pocl: add 1.7, drop 1.6

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-libs/pocl/Manifest                             | 2 +-
 dev-libs/pocl/{pocl-1.6.ebuild => pocl-1.7.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/pocl/Manifest b/dev-libs/pocl/Manifest
index 0be7d35d8..4ac613d41 100644
--- a/dev-libs/pocl/Manifest
+++ b/dev-libs/pocl/Manifest
@@ -1 +1 @@
-DIST pocl-1.6.tar.gz 1595212 BLAKE2B ee628ec466df03c44f02235c78b516aeea0e02f82ce095cd798d6d4d4cf81773adf16493837306243ac7e0de58b2ccfbdcfb3a63ff8e287f6c83c58160811712 SHA512 ecd3a3867a62a2a555183741fa4586eeefae00514d66d15a79b9094ff0a0248b213f62ab23b3e61bdb1042e760cd34b07e546f97b304ac86c3f861a9161df1b1
+DIST pocl-1.7.tar.gz 1577676 BLAKE2B 50d4f50236b1c81f319b5559ca2b1df529209f07899acf51c487820d97cc6766c5130a55afca910517c7db63d8041ac8306062880c3a821cbc1bf9108bf13d65 SHA512 23bb82b25a222186c001b2ed413f26253e1e0e16518e98c95173f51491e15d107e6ab1b334ffd490b41199743267d9ad64882a22fea327e17ec9604f9847fc38

diff --git a/dev-libs/pocl/pocl-1.6.ebuild b/dev-libs/pocl/pocl-1.7.ebuild
similarity index 99%
rename from dev-libs/pocl/pocl-1.6.ebuild
rename to dev-libs/pocl/pocl-1.7.ebuild
index 26082a053..f1106a718 100644
--- a/dev-libs/pocl/pocl-1.6.ebuild
+++ b/dev-libs/pocl/pocl-1.7.ebuild
@@ -10,7 +10,7 @@ PYTHON_COMPAT=( python3_{7..9} )
 
 inherit cmake llvm python-any-r1 docs
 
-LLVM_MAX_SLOT=11
+LLVM_MAX_SLOT=12
 
 DESCRIPTION="Portable Computing Language (an implementation of OpenCL)"
 HOMEPAGE="


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/pocl/
@ 2021-07-03  3:40 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2021-07-03  3:40 UTC (permalink / raw
  To: gentoo-commits

commit:     a36be1970f39fd087a00dacd1405342b7d80f711
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Jul  3 02:07:21 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Jul  3 02:07:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a36be197

dev-libs/pocl: enable py3.10, pypy3 and disable py3.7

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-libs/pocl/pocl-1.7.ebuild | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/dev-libs/pocl/pocl-1.7.ebuild b/dev-libs/pocl/pocl-1.7.ebuild
index f1106a718..5da955b15 100644
--- a/dev-libs/pocl/pocl-1.7.ebuild
+++ b/dev-libs/pocl/pocl-1.7.ebuild
@@ -6,7 +6,7 @@ EAPI="7"
 DOCS_AUTODOC=0
 DOCS_BUILDER="sphinx"
 DOCS_DIR="doc/sphinx/source"
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 
 inherit cmake llvm python-any-r1 docs
 
@@ -22,7 +22,9 @@ SRC_URI="https://github.com/pocl/pocl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="accel cl20 +conformance cuda debug examples float-conversion hardening +hwloc memmanager" #hsa tce
+IUSE="accel cl20 +conformance cuda debug examples float-conversion hardening +hwloc memmanager test" #hsa tce
+
+RESTRICT="!test? ( test )"
 
 #TODO: add dependencies for cuda
 RDEPEND="
@@ -49,7 +51,7 @@ src_configure() {
 		-DBUILD_SHARED_LIBS=ON
 		-DENABLE_HSA=OFF
 		-DENABLE_ICD=ON
-		-DENABLE_POCL_BUILDING=OFF
+		-DENABLE_POCL_BUILDING=ON
 		-DKERNELLIB_HOST_CPU_VARIANTS=native
 		-DPOCL_ICD_ABSOLUTE_PATH=ON
 		-DSTATIC_LLVM=OFF
@@ -85,3 +87,9 @@ src_install() {
 		docompress -x "/usr/share/doc/${P}/examples"
 	fi
 }
+
+src_test() {
+	export POCL_BUILDING=1
+	export CTEST_OUTPUT_ON_FAILURE=1
+	cmake_src_test
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-03  3:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-19 17:36 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/pocl/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2021-07-03  3:40 Alessandro Barbieri
2021-05-15 21:08 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox