summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-06 13:45:25 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-06 13:45:25 +0000
commit93641a0ad9f042f1101efa99ea9bf2b74bb708a9 (patch)
treedbc1786dbabd1b0b9e9f269037b806885a02cfbf /dev-cpp
parentb74d043299d518b43845295f480864e35e79fb98 (diff)
downloadbaldeagleos-repo-93641a0ad9f042f1101efa99ea9bf2b74bb708a9.tar.gz
baldeagleos-repo-93641a0ad9f042f1101efa99ea9bf2b74bb708a9.tar.xz
baldeagleos-repo-93641a0ad9f042f1101efa99ea9bf2b74bb708a9.zip
Adding metadata
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/glog/glog-0.5.0.ebuild2
-rw-r--r--dev-cpp/highway/files/highway-0.16.0-fix-AVX512-detection-on-IceLakeClient.patch17
-rw-r--r--dev-cpp/highway/highway-0.16.0-r1.ebuild (renamed from dev-cpp/highway/highway-0.16.0.ebuild)4
3 files changed, 22 insertions, 1 deletions
diff --git a/dev-cpp/glog/glog-0.5.0.ebuild b/dev-cpp/glog/glog-0.5.0.ebuild
index fe2ba7a63245..88123b2be536 100644
--- a/dev-cpp/glog/glog-0.5.0.ebuild
+++ b/dev-cpp/glog/glog-0.5.0.ebuild
@@ -21,7 +21,7 @@ fi
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux"
IUSE="gflags +libunwind llvm-libunwind test"
RESTRICT="!test? ( test )"
diff --git a/dev-cpp/highway/files/highway-0.16.0-fix-AVX512-detection-on-IceLakeClient.patch b/dev-cpp/highway/files/highway-0.16.0-fix-AVX512-detection-on-IceLakeClient.patch
new file mode 100644
index 000000000000..de157925c6ef
--- /dev/null
+++ b/dev-cpp/highway/files/highway-0.16.0-fix-AVX512-detection-on-IceLakeClient.patch
@@ -0,0 +1,17 @@
+https://github.com/google/highway/commit/daf441c78191b3433410498d27a5bfdfdf93a142
+
+diff --git a/hwy/targets.cc b/hwy/targets.cc
+index 2a0ab4ef..7e7e2d79 100644
+--- a/hwy/targets.cc
++++ b/hwy/targets.cc
+@@ -328,8 +328,8 @@ uint32_t SupportedTargets() {
+ if (!IsBitSet(xcr0, 2)) {
+ bits &= ~uint32_t(HWY_AVX2 | HWY_AVX3 | HWY_AVX3_DL);
+ }
+- // ZMM + opmask
+- if ((xcr0 & 0x70) != 0x70) {
++ // opmask, ZMM lo/hi
++ if (!IsBitSet(xcr0, 5) || !IsBitSet(xcr0, 6) || !IsBitSet(xcr0, 7)) {
+ bits &= ~uint32_t(HWY_AVX3 | HWY_AVX3_DL);
+ }
+ }
diff --git a/dev-cpp/highway/highway-0.16.0.ebuild b/dev-cpp/highway/highway-0.16.0-r1.ebuild
index 89b07a85a587..52fb0b16d961 100644
--- a/dev-cpp/highway/highway-0.16.0.ebuild
+++ b/dev-cpp/highway/highway-0.16.0-r1.ebuild
@@ -25,6 +25,10 @@ DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
RESTRICT="!test? ( test )"
+PATCHES=(
+ "${FILESDIR}"/${P}-fix-AVX512-detection-on-IceLakeClient.patch
+)
+
multilib_src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)