summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jordan <immoloism@gmail.com>2022-09-27 22:56:25 +0100
committerSam James <sam@gentoo.org>2022-09-27 23:21:00 +0100
commit1fa5bec5df273399c01c263bc3881f50ce0b2736 (patch)
tree650d40b0b8409436d7cc9dc5daaa5022bd4f87b8 /sys-libs/libomp
parentgames-misc/sex: fix implicit function decls (diff)
downloadgentoo-1fa5bec5df273399c01c263bc3881f50ce0b2736.tar.gz
gentoo-1fa5bec5df273399c01c263bc3881f50ce0b2736.tar.bz2
gentoo-1fa5bec5df273399c01c263bc3881f50ce0b2736.zip
sys-libs/libomp: filter LTO
Filter LTO on sys-libs/libomp as it causes strange issues on the system like Firefox not building. Closes: https://github.com/gentoo/gentoo/pull/27502 Closes: https://bugs.gentoo.org/870127 Signed-off-by: Ian Jordan <immoloism@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/libomp')
-rw-r--r--sys-libs/libomp/libomp-13.0.1.ebuild4
-rw-r--r--sys-libs/libomp/libomp-14.0.6-r1.ebuild4
-rw-r--r--sys-libs/libomp/libomp-15.0.1.ebuild4
-rw-r--r--sys-libs/libomp/libomp-15.0.2.9999.ebuild4
-rw-r--r--sys-libs/libomp/libomp-16.0.0.9999.ebuild4
-rw-r--r--sys-libs/libomp/libomp-16.0.0_pre20220918.ebuild4
6 files changed, 18 insertions, 6 deletions
diff --git a/sys-libs/libomp/libomp-13.0.1.ebuild b/sys-libs/libomp/libomp-13.0.1.ebuild
index f2638e82d45c..e4680d9b7dd3 100644
--- a/sys-libs/libomp/libomp-13.0.1.ebuild
+++ b/sys-libs/libomp/libomp-13.0.1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
-inherit cmake-multilib linux-info llvm llvm.org python-any-r1
+inherit flag-o-matic cmake-multilib linux-info llvm llvm.org python-any-r1
DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
HOMEPAGE="https://openmp.llvm.org"
@@ -75,6 +75,8 @@ pkg_setup() {
}
multilib_src_configure() {
+ filter-lto # LTO causes issues in other packages building https://bugs.gentoo.org/870127
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
diff --git a/sys-libs/libomp/libomp-14.0.6-r1.ebuild b/sys-libs/libomp/libomp-14.0.6-r1.ebuild
index 96e205375cbd..f3509fddd1fd 100644
--- a/sys-libs/libomp/libomp-14.0.6-r1.ebuild
+++ b/sys-libs/libomp/libomp-14.0.6-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
-inherit cmake-multilib linux-info llvm llvm.org python-any-r1
+inherit flag-o-matic cmake-multilib linux-info llvm llvm.org python-any-r1
DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
HOMEPAGE="https://openmp.llvm.org"
@@ -83,6 +83,8 @@ pkg_setup() {
}
multilib_src_configure() {
+ filter-lto # LTO causes issues in other packages building https://bugs.gentoo.org/870127
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
diff --git a/sys-libs/libomp/libomp-15.0.1.ebuild b/sys-libs/libomp/libomp-15.0.1.ebuild
index d991a46a2f38..f7f16bacd2ce 100644
--- a/sys-libs/libomp/libomp-15.0.1.ebuild
+++ b/sys-libs/libomp/libomp-15.0.1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
-inherit cmake-multilib linux-info llvm llvm.org python-any-r1
+inherit flag-o-matic cmake-multilib linux-info llvm llvm.org python-any-r1
DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
HOMEPAGE="https://openmp.llvm.org"
@@ -76,6 +76,8 @@ pkg_setup() {
}
multilib_src_configure() {
+ filter-lto # LTO causes issues in other packages building https://bugs.gentoo.org/870127
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
diff --git a/sys-libs/libomp/libomp-15.0.2.9999.ebuild b/sys-libs/libomp/libomp-15.0.2.9999.ebuild
index 0baa3f18fd8b..5709b5e2fd82 100644
--- a/sys-libs/libomp/libomp-15.0.2.9999.ebuild
+++ b/sys-libs/libomp/libomp-15.0.2.9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
-inherit cmake-multilib linux-info llvm llvm.org python-any-r1
+inherit flag-o-matic cmake-multilib linux-info llvm llvm.org python-any-r1
DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
HOMEPAGE="https://openmp.llvm.org"
@@ -76,6 +76,8 @@ pkg_setup() {
}
multilib_src_configure() {
+ filter-lto # LTO causes issues in other packages building https://bugs.gentoo.org/870127
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
diff --git a/sys-libs/libomp/libomp-16.0.0.9999.ebuild b/sys-libs/libomp/libomp-16.0.0.9999.ebuild
index 83d025fd921f..b5eb99130c02 100644
--- a/sys-libs/libomp/libomp-16.0.0.9999.ebuild
+++ b/sys-libs/libomp/libomp-16.0.0.9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
-inherit cmake-multilib linux-info llvm llvm.org python-any-r1
+inherit flag-o-matic cmake-multilib linux-info llvm llvm.org python-any-r1
DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
HOMEPAGE="https://openmp.llvm.org"
@@ -76,6 +76,8 @@ pkg_setup() {
}
multilib_src_configure() {
+ filter-lto # LTO causes issues in other packages building https://bugs.gentoo.org/870127
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
diff --git a/sys-libs/libomp/libomp-16.0.0_pre20220918.ebuild b/sys-libs/libomp/libomp-16.0.0_pre20220918.ebuild
index 83d025fd921f..b5eb99130c02 100644
--- a/sys-libs/libomp/libomp-16.0.0_pre20220918.ebuild
+++ b/sys-libs/libomp/libomp-16.0.0_pre20220918.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
-inherit cmake-multilib linux-info llvm llvm.org python-any-r1
+inherit flag-o-matic cmake-multilib linux-info llvm llvm.org python-any-r1
DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
HOMEPAGE="https://openmp.llvm.org"
@@ -76,6 +76,8 @@ pkg_setup() {
}
multilib_src_configure() {
+ filter-lto # LTO causes issues in other packages building https://bugs.gentoo.org/870127
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"