[-]
[+]
|
Changed |
_service:tar_git:ImageMagick.spec
|
|
|
Deleted |
_service:tar_git:ImageMagick-7.1.1.15+obs1.1+master.20230812073434.1.g70dc962.tar.xz
^
|
|
Added |
_service:tar_git:ImageMagick-7.1.1.15+obs1.1+master.20230812081923.2.gb98bf55.tar.xz
^
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick.yaml
^
|
@@ -54,6 +54,23 @@
%if 0%{?sailfishos_version} >= 40400
BuildRequires: pkgconfig(libzstd)
%endif
+ %ifarch %{arm} %{arm64} aarch64
+ %ifarch %{arm64} aarch64
+ echo "Detected ARM64"
+ %define tune_arch=armv8
+ %else
+ echo "Detected ARM32"
+ %define tune_arch=armv7
+ %endif
+ %else
+ %ifarch %{ix86}
+ echo "detected X86"
+ %define tune_arch=silvermont # J Tablet -> Intel Atom Z3735F -> silvermont
+ %else
+ echo "Warning: no tuning for %_arch"
+ %define tune_arch=no
+ %endif
+ %endif
#Requires:
# - libfoo
PkgBR:
@@ -97,7 +114,8 @@
- --without-fftw
- --without-flif
- --without-fpx
- # --without-gcc-arch
+ # --without-gcc-arch # don't tune for the build host
+ - --with-gcc-arch=%{tune_arch} # don't tune for the build host, use a specific arch
- --without-heic
- --without-jbig
- --without-lcms
|