Skip to content

Commit

Permalink
dev-libs/intel-compute-runtime-22.*.*: Filter LTO flags
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/838241
Signed-off-by: Randall Vasquez <ran.dall@icloud.com>
Closes: #25018
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
  • Loading branch information
ran-dall authored and ConiKost committed Apr 14, 2022
1 parent a5c2461 commit 0277f8d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CMAKE_BUILD_TYPE="Release"
MY_PN="${PN/intel-/}"
MY_P="${MY_PN}-${PV}"

inherit cmake
inherit cmake flag-o-matic

DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver"
HOMEPAGE="https://github.com/intel/compute-runtime"
Expand Down Expand Up @@ -44,6 +44,9 @@ DOCS=( "README.md" "FAQ.md" )
PATCHES=( "${FILESDIR}/${PN}-22.12.22749-metrics.patch" )

src_configure() {
# See https://github.com/intel/compute-runtime/issues/531
filter-flags -flto=* -flto

local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
-DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CMAKE_BUILD_TYPE="Release"
MY_PN="${PN/intel-/}"
MY_P="${MY_PN}-${PV}"

inherit cmake
inherit cmake flag-o-matic

DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver"
HOMEPAGE="https://github.com/intel/compute-runtime"
Expand Down Expand Up @@ -42,6 +42,9 @@ BDEPEND="virtual/pkgconfig"
DOCS=( "README.md" "FAQ.md" )

src_configure() {
# See https://github.com/intel/compute-runtime/issues/531
filter-flags -flto=* -flto

local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
-DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CMAKE_BUILD_TYPE="Release"
MY_PN="${PN/intel-/}"
MY_P="${MY_PN}-${PV}"

inherit cmake
inherit cmake flag-o-matic

DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver"
HOMEPAGE="https://github.com/intel/compute-runtime"
Expand Down Expand Up @@ -42,6 +42,9 @@ BDEPEND="virtual/pkgconfig"
DOCS=( "README.md" "FAQ.md" )

src_configure() {
# See https://github.com/intel/compute-runtime/issues/531
filter-flags -flto=* -flto

local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
-DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
Expand Down

0 comments on commit 0277f8d

Please sign in to comment.