Browse Source

patch cpu_features for arm64

pull/71/head
luigifcruz 2 years ago
parent
commit
56d915fcf8
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      stage4/12-pisdr-gnuradio/00-run.sh

+ 6
- 2
stage4/12-pisdr-gnuradio/00-run.sh View File

@@ -5,13 +5,17 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" cd "/home/${FIRST_USER_NAME}/PiSDR/Software"


if [ ! -d "volk" ]; then if [ ! -d "volk" ]; then
git clone --single-branch --branch v2.5.0 --depth 1 --recurse-submodules --shallow-submodules https://github.com/gnuradio/volk.git
git clone --single-branch --branch v2.5.0 --depth 1 --recurse-submodules --shallow-submodules https://github.com/luigifcruz/volk.git
fi fi


cd volk cd volk
git checkout m1fix
mkdir -p build mkdir -p build
cd 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 -DCMAKE_BUILD_TYPE=Release ..
ninja install ninja install
ldconfig ldconfig
cd .. cd ..


Loading…
Cancel
Save