From 2d1b20976e481cc53c3391164b58b612be4cee0b Mon Sep 17 00:00:00 2001 From: Luigi Cruz Date: Mon, 4 Oct 2021 14:38:54 -0300 Subject: [PATCH] disable X86 SIMD for uhd --- stage4/05-pisdr-uhd/00-run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stage4/05-pisdr-uhd/00-run.sh b/stage4/05-pisdr-uhd/00-run.sh index 7526a13..0a79ae5 100755 --- a/stage4/05-pisdr-uhd/00-run.sh +++ b/stage4/05-pisdr-uhd/00-run.sh @@ -11,7 +11,10 @@ fi cd uhd/host mkdir -p build cd build -cmake -GNinja -DCMAKE_BUILD_TYPE=Release ../ +cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -Wno-psabi" \ + -DCMAKE_C_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -Wno-psabi" \ + -DCMAKE_ASM_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15" \ + -GNinja -DCMAKE_BUILD_TYPE=Release ../ ninja install cp /usr/local/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/ ldconfig