summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-03-13 10:37:34 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-03-13 10:38:52 +0100
commit7c2862bc1fb88c122b306ff91fd8bc0edd47e783 (patch)
tree00b9d96f27c7842de541a9b4c9c6a595c1e9c841 /media-libs/glm
parentsys-cluster/zookeeper-bin: drop 3.8.0, 3.8.1, 3.8.2, 3.8.3, 3.9.0, 3.9.1 (diff)
downloadgentoo-7c2862bc1fb88c122b306ff91fd8bc0edd47e783.tar.gz
gentoo-7c2862bc1fb88c122b306ff91fd8bc0edd47e783.tar.bz2
gentoo-7c2862bc1fb88c122b306ff91fd8bc0edd47e783.zip
media-libs/glm: cmake variables changed name
Closes: https://bugs.gentoo.org/926865 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'media-libs/glm')
-rw-r--r--media-libs/glm/glm-1.0.1.ebuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/media-libs/glm/glm-1.0.1.ebuild b/media-libs/glm/glm-1.0.1.ebuild
index 81469af7284c..eaf5ae530bef 100644
--- a/media-libs/glm/glm-1.0.1.ebuild
+++ b/media-libs/glm/glm-1.0.1.ebuild
@@ -12,7 +12,9 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( HappyBunny MIT )"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
-IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx cpu_flags_x86_avx2"
+IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3
+ cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2
+ cpu_flags_x86_avx cpu_flags_x86_avx2"
RESTRICT="!test? ( test )"
PATCHES=(
@@ -37,10 +39,13 @@ src_configure() {
mycmakeargs+=(
-DGLM_TEST_ENABLE=ON
- -DGLM_TEST_ENABLE_SIMD_SSE2="$(usex cpu_flags_x86_sse2 ON OFF)"
- -DGLM_TEST_ENABLE_SIMD_SSE3="$(usex cpu_flags_x86_sse3 ON OFF)"
- -DGLM_TEST_ENABLE_SIMD_AVX="$(usex cpu_flags_x86_avx ON OFF)"
- -DGLM_TEST_ENABLE_SIMD_AVX2="$(usex cpu_flags_x86_avx2 ON OFF)"
+ -DGLM_ENABLE_SIMD_SSE2="$(usex cpu_flags_x86_sse2 ON OFF)"
+ -DGLM_ENABLE_SIMD_SSE3="$(usex cpu_flags_x86_sse3 ON OFF)"
+ -DGLM_ENABLE_SIMD_SSSE3="$(usex cpu_flags_x86_ssse3 ON OFF)"
+ -DGLM_ENABLE_SIMD_SSE4_1="$(usex cpu_flags_x86_sse4_1 ON OFF)"
+ -DGLM_ENABLE_SIMD_SSE4_2="$(usex cpu_flags_x86_sse4_2 ON OFF)"
+ -DGLM_ENABLE_SIMD_AVX="$(usex cpu_flags_x86_avx ON OFF)"
+ -DGLM_ENABLE_SIMD_AVX2="$(usex cpu_flags_x86_avx2 ON OFF)"
)
fi