summaryrefslogtreecommitdiff
path: root/dev-libs/pocl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-20 06:00:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-20 06:00:45 +0000
commite660fe12946bfa241d169ebb2467939907de75d8 (patch)
tree4b2ba6aedbeadcf69d25b78526ac31be8e432a90 /dev-libs/pocl
parentca7fcaa76aaf1f94284894a8d9a01bb153e80b11 (diff)
gentoo auto-resync : 20:01:2023 - 06:00:45
Diffstat (limited to 'dev-libs/pocl')
-rw-r--r--dev-libs/pocl/Manifest3
-rw-r--r--dev-libs/pocl/files/pocl-3.1-nodebug.patch29
-rw-r--r--dev-libs/pocl/pocl-3.1.ebuild4
3 files changed, 35 insertions, 1 deletions
diff --git a/dev-libs/pocl/Manifest b/dev-libs/pocl/Manifest
index c75fcb10f963..3e96585bcebe 100644
--- a/dev-libs/pocl/Manifest
+++ b/dev-libs/pocl/Manifest
@@ -1,8 +1,9 @@
AUX pocl-3.0-cuda.patch 1611 BLAKE2B 6baaac79d0182ac91210c0be40239f7d955b57cb2ae26bd70569d952e4f063a5949ecc88a4b1e6ef2a51fa14a62365e627d5e37b35be5d4b46442beff468243e SHA512 95326a202962cec2d3f53bf7dfdcbe1b47abdd25544444f164e1cd2aa5706766342e062045f645c3e1e0e917ca305563df414304c7161e303c3bd55cb313eb03
AUX pocl-3.0-fix-version.patch 354 BLAKE2B 8e2b4570c204dc37bb70f20b01838f0c21a6aec57c258a206eb5e82bed69fe01d65f704cfd184c102102fd3a06eb75fb092a2ccfa4d8729192451fa894afc7e9 SHA512 bfe023132ab8080c8539a783586f9c556e7ae4cb8113c3c96b33ac02bd7d4044b36bf13e1556e181af9c12acb4b0e0778af25fd66df1fe6e7ab533c2b68108c4
AUX pocl-3.0-icd.patch 5679 BLAKE2B 4f9edba1e71afb8c059da8f1adcb59f0ccca1bb33ad0c05eb2d3b27c1e7ea6bfa3a2d60f6e6c83136146275aed35a6501713883dad72011379e0ed4ae64eba74 SHA512 436b7f6e53372f00a8c70bb00229d22d05f24687ba2822f4b26590cbdffe64e8c2909d2f1ab6e0650fe18db7507c6bba9f5bcee1a09ec1fe5b42955ddcb99db7
+AUX pocl-3.1-nodebug.patch 1257 BLAKE2B f7f678d2bfc2190b03a40c1ee4c4f2441455081c9097e85249424e27873452a5bcb5b07ce4bc9b0143841c67c7fac2339ea7b3ba76b237f30290a1b82d30b8e4 SHA512 853e583fe0e8bbda6a69e1ce7d49be064a874efc5d9b2ef554df0e11adc485bca2cb6b3376c08989a111935c428a468594a5fe6a1723aa3ffbf92bcb90c5e2f1
DIST pocl-3.0.tar.gz 1722809 BLAKE2B 095d3d1dca3fa7ebdf61e6e34bf444755dd6842c4f16e0f80895337e96508056465d332309d38ee4db6d6b0031e1dfce350485750e59bfe0dea5951eba5fd3e4 SHA512 dc02bdf259792edb5cb3c80cde5c5261e1e21219b4b31420a3b537abbca1bc478ce0ca0dfc622727088b67d580217d47566309de7c6114a24553de4496a209ea
DIST pocl-3.1.tar.gz 1928607 BLAKE2B 7044a96e361426408fabd973987a0d6956693e3c9095769ee94d7dac47a8841d7489933e94acd22451a1c8a2ca83cb8e6948aebe899b23a8a6080ef1b7b37e9c SHA512 40d17e81d715f6897aa1d97fd02834d45227d9d0bd4c70e76d727f9ad4df675c25b7158a862e20e63810182fdad82a3cb1e454668c3a6422a977e59c8325fa0c
EBUILD pocl-3.0.ebuild 3696 BLAKE2B 98c59a9b97da018288012f627dff1888cce6afd86a0270cdd239df582c3f2a9903d6914b25c8016494c0fc03664cda267a3143c6dfaa0012be9e5ca335738116 SHA512 2128a4e61904b885a5bb805f9a3f60e5bafe403aaf72042e7b69f5eb0659e63f000ab130493f7f744a412e54ec8297b8a85836dbe63354bf9abfa7b8d917caab
-EBUILD pocl-3.1.ebuild 3556 BLAKE2B b897b4481d7f666d30c0073526de649478a76e4dbfa0648900060270b4bf3785946c2cf560696a87f7a1d06e0acca22ba297b1565222b70d18241f98f3e6eed9 SHA512 25eb990c7dce4ffd18c6165b942c0455a11f5eaa27e56503f947f0cb55b55eaf082d1f4015662356ddef89fb851a175ea886695f6c8faf9983594cbbddc7ea66
+EBUILD pocl-3.1.ebuild 3603 BLAKE2B 31c2c97db92837112ce7541323ae7ae1b80a37dc6e3ad2a06e9903873c72ed4c0d43a220f12ffd0c2bbfbdf50d593f0e3db7820e1e24c2d0974ca69c22a5a076 SHA512 9f744e433438771a0cba8c26f5970fd8267572cfce2ec84055bce80068f113a189ea3d8556dd82d7e2391140a82cc63df88a5ca8c3631a90d3238865c1efc1e0
MISC metadata.xml 1191 BLAKE2B 62b985abe8c99532cc20302846fe9e05c77bbc993ef38863d44bd754df2bc388e5d094917ad11d1b117e9dfda355e35f5592fc2ede5a3bc8e91939c9e6aef9e3 SHA512 a9cdbff5f2b2e2141c6299137baed08d1e8482f3b976ef494b595f58092761aab66f33e539d236d8b7f1c564d5fa2aac4855447b54bc189f1dd81faf25fc32ec
diff --git a/dev-libs/pocl/files/pocl-3.1-nodebug.patch b/dev-libs/pocl/files/pocl-3.1-nodebug.patch
new file mode 100644
index 000000000000..ea1085dc4a49
--- /dev/null
+++ b/dev-libs/pocl/files/pocl-3.1-nodebug.patch
@@ -0,0 +1,29 @@
+https://github.com/pocl/pocl/commit/a13cb332d6678d4556d7319b284b77c371c4b91e
+
+commit a13cb332d6678d4556d7319b284b77c371c4b91e
+Author: Martin Kletzander <nert.pinx@gmail.com>
+Date: Tue Jan 17 09:04:41 2023 +0100
+
+ Add stub macro POCL_MSG_PRINT_ALMAIF_MMAP without POCL_DEBUG_MESSAGES
+
+ Without this the build fails with the following error when built without
+ POCL_DEBUG_MESSAGES:
+
+ ../lib/CL/devices/almaif/MMAPRegion.cc: In constructor ‘MMAPRegion::MMAPRegion(size_t, size_t, int)’:
+ ../lib/CL/devices/almaif/MMAPRegion.cc:43:3: error: ‘POCL_MSG_PRINT_ALMAIF_MMAP’ was not declared in this scope; did you mean ‘POCL_MSG_PRINT_ALMAIF2’?
+ 43 | POCL_MSG_PRINT_ALMAIF_MMAP(
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~
+ | POCL_MSG_PRINT_ALMAIF2
+
+ and about 10 more.
+
+--- a/lib/CL/pocl_debug.h
++++ b/lib/CL/pocl_debug.h
+@@ -284,6 +284,7 @@ POCL_EXPORT
+
+ #define POCL_MSG_PRINT_ALMAIF2(...) do {} while (0)
+ #define POCL_MSG_PRINT_ALMAIF(...) do {} while (0)
++ #define POCL_MSG_PRINT_ALMAIF_MMAP(...) do {} while (0)
+ #define POCL_MSG_PRINT_PROXY2(...) do {} while (0)
+ #define POCL_MSG_PRINT_PROXY(...) do {} while (0)
+ #define POCL_MSG_PRINT_VULKAN2(...) do {} while (0)
diff --git a/dev-libs/pocl/pocl-3.1.ebuild b/dev-libs/pocl/pocl-3.1.ebuild
index 19be29e62882..f5e877a39aea 100644
--- a/dev-libs/pocl/pocl-3.1.ebuild
+++ b/dev-libs/pocl/pocl-3.1.ebuild
@@ -57,6 +57,10 @@ llvm_check_deps() {
has_version -b "sys-devel/clang:${LLVM_SLOT}${usedep}"
}
+PATCHES=(
+ "${FILESDIR}"/${P}-nodebug.patch
+)
+
pkg_setup() {
use doc && python-any-r1_pkg_setup