mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
darktable: disable BMI/BMI2 insns, which are only available on Intel Haswell CPUs.
This commit is contained in:
parent
a2fc96ab69
commit
fb8780ad41
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'darktable'
|
# Template file for 'darktable'
|
||||||
pkgname=darktable
|
pkgname=darktable
|
||||||
version=1.4.2
|
version=1.4.2
|
||||||
revision=10
|
revision=11
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
||||||
homepage="http://www.darktable.org/"
|
homepage="http://www.darktable.org/"
|
||||||
|
@ -19,6 +19,6 @@ only_for_archs="i686 x86_64" # too much SSE2 stuff all over
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/1.4/${pkgname}-${version}.tar.xz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/1.4/${pkgname}-${version}.tar.xz"
|
||||||
checksum="c1311a6e336007b85d21647652ebec3e26840248a968eab04ab5f0a56c2e0709"
|
checksum="c1311a6e336007b85d21647652ebec3e26840248a968eab04ab5f0a56c2e0709"
|
||||||
|
|
||||||
# Do not generate AVX instructions, which might happen with -mtune=generic on
|
# Do not generate AVX/AVX2/BMI/BMI2 instructions to make this work in
|
||||||
# Intel CPUs. This avoids the vstmxcsr instruction which is AVX specific.
|
# all x86_64 CPUs.
|
||||||
CFLAGS="-mno-avx -mno-avx2"
|
CFLAGS="-mno-avx -mno-avx2 -mno-bmi -mno-bmi2"
|
||||||
|
|
Loading…
Add table
Reference in a new issue