You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash -e
-
- on_chroot << EOF
- mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
- cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
-
- if [ ! -d "volk" ]; then
- git clone --single-branch --branch v2.5.0 --depth 1 --recurse-submodules --shallow-submodules https://github.com/luigifcruz/volk.git
- fi
-
- cd volk
- git checkout m1fix
- mkdir -p build
- cd build
- 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
- ldconfig
- cd ..
- rm -fr build
- EOF
|