commit:     2318ae30753d3a6f931f4c0437507a603863e23f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 22:45:59 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 22:49:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2318ae30

dev-libs/intel-compute-runtime: pass -U_GLIBCXX_ASSERTIONS for now

Issue is known & WIP upstream.

Bug: https://github.com/intel/intel-graphics-compiler/issues/282
Closes: https://bugs.gentoo.org/893370
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../intel-compute-runtime-22.43.24595.35.ebuild                      | 3 +++
 .../intel-compute-runtime-22.49.25018.24.ebuild                      | 5 ++++-
 .../intel-compute-runtime-22.53.25242.13.ebuild                      | 5 ++++-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git 
a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24595.35.ebuild 
b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24595.35.ebuild
index cda27132f096..5a649d35a3b0 100644
--- a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24595.35.ebuild
+++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.43.24595.35.ebuild
@@ -54,6 +54,9 @@ src_configure() {
        # See https://github.com/intel/compute-runtime/issues/531
        filter-flags -flto=* -flto
 
+       # See bug #893370 and 
https://github.com/intel/intel-graphics-compiler/issues/282
+       append-flags -U_GLIBCXX_ASSERTIONS
+
        local mycmakeargs=(
                -DCCACHE_ALLOWED="OFF"
                -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"

diff --git 
a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.49.25018.24.ebuild 
b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.49.25018.24.ebuild
index 0af0d80dab75..d5f58aafd452 100644
--- a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.49.25018.24.ebuild
+++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.49.25018.24.ebuild
@@ -55,7 +55,10 @@ src_prepare() {
 
 src_configure() {
        # See https://github.com/intel/compute-runtime/issues/531
-       filter-flags -flto=* -flto
+       filter-lto
+
+       # See bug #893370 and 
https://github.com/intel/intel-graphics-compiler/issues/282
+       append-flags -U_GLIBCXX_ASSERTIONS
 
        local mycmakeargs=(
                -DCCACHE_ALLOWED="OFF"

diff --git 
a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.53.25242.13.ebuild 
b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.53.25242.13.ebuild
index 0af0d80dab75..d5f58aafd452 100644
--- a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.53.25242.13.ebuild
+++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.53.25242.13.ebuild
@@ -55,7 +55,10 @@ src_prepare() {
 
 src_configure() {
        # See https://github.com/intel/compute-runtime/issues/531
-       filter-flags -flto=* -flto
+       filter-lto
+
+       # See bug #893370 and 
https://github.com/intel/intel-graphics-compiler/issues/282
+       append-flags -U_GLIBCXX_ASSERTIONS
 
        local mycmakeargs=(
                -DCCACHE_ALLOWED="OFF"

Reply via email to