From 6a8d0a14f674db0e7e9262f8c2c1645ce2c852a73fcdee24eeefc8ca9414a27b Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Thu, 20 Jul 2023 09:35:49 +0000 Subject: [PATCH] Accepting request 1099688 from home:Guillaume_G:branches:server:messaging - Relax _constraints for Arm targets - Disable neon on armv7 since the build of libyuv breaks with neon on armv7 and some armv7 SoC does not include neon anyway OBS-URL: https://build.opensuse.org/request/show/1099688 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=262 --- _constraints | 3 +-- telegram-desktop.changes | 7 +++++++ telegram-desktop.spec | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/_constraints b/_constraints index d1b2036..16276fa 100644 --- a/_constraints +++ b/_constraints @@ -13,11 +13,10 @@ aarch64 armv7l armv6l - i586 - 8 + 5 1024 diff --git a/telegram-desktop.changes b/telegram-desktop.changes index 4018cf2..867492a 100644 --- a/telegram-desktop.changes +++ b/telegram-desktop.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jul 20 08:07:41 UTC 2023 - Guillaume GARDET + +- Relax _constraints for Arm targets +- Disable neon on armv7 since the build of libyuv breaks with + neon on armv7 and some armv7 SoC does not include neon anyway + ------------------------------------------------------------------- Mon Jul 17 13:14:40 UTC 2023 - Илья Индиго diff --git a/telegram-desktop.spec b/telegram-desktop.spec index ec93da0..591bd49 100644 --- a/telegram-desktop.spec +++ b/telegram-desktop.spec @@ -269,6 +269,9 @@ mkdir -p out/Release cd out/Release cmake -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ +%ifarch armv7l armv7hl + -DTG_OWT_ARCH_ARMV7_USE_NEON=OFF \ +%endif -DTG_OWT_SPECIAL_TARGET=linux \ -DTG_OWT_LIBJPEG_INCLUDE_PATH=/usr/include \ -DTG_OWT_OPENSSL_INCLUDE_PATH=/usr/include/openssl \