From 84786599083bceb076b258d21cf3d7b35b969b26 Mon Sep 17 00:00:00 2001 From: luigifcruz Date: Sat, 18 Dec 2021 01:18:43 -0300 Subject: [PATCH] turn cpu_features off --- stage4/12-pisdr-gnuradio/00-run.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/stage4/12-pisdr-gnuradio/00-run.sh b/stage4/12-pisdr-gnuradio/00-run.sh index da10f67..8fa5642 100755 --- a/stage4/12-pisdr-gnuradio/00-run.sh +++ b/stage4/12-pisdr-gnuradio/00-run.sh @@ -5,13 +5,16 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" cd "/home/${FIRST_USER_NAME}/PiSDR/Software" if [ ! -d "volk" ]; then - git clone --single-branch --depth 1 --recurse-submodules --shallow-submodules https://github.com/luigifcruz/volk.git + git clone --single-branch --branch v2.5.0 --depth 1 --recurse-submodules --shallow-submodules https://github.com/gnuradio/volk.git fi cd volk mkdir -p build cd build -cmake -GNinja -DCMAKE_BUILD_TYPE=Release .. +cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv8-a -Wno-psabi" \ + -DCMAKE_C_FLAGS:STRING="-march=armv8-a -Wno-psabi" \ + DCMAKE_ASM_FLAGS:STRING="-march=armv8-a -Wno-psabi" \ + -GNinja -DVOLK_CPU_FEATURES=OFF -DCMAKE_BUILD_TYPE=Release .. ninja install ldconfig cd ..