Browse Source

Remove setarch.

pull/71/head
luigifcruz 2 years ago
parent
commit
0bf7e18500
3 changed files with 3 additions and 8 deletions
  1. +1
    -1
      scripts/common
  2. +1
    -3
      stage4/07-pisdr-limesdr/00-run.sh
  3. +1
    -4
      stage4/12-pisdr-gnuradio/00-run.sh

+ 1
- 1
scripts/common View File

@@ -94,7 +94,7 @@ on_chroot() {
mount --bind /sys "${ROOTFS_DIR}/sys" mount --bind /sys "${ROOTFS_DIR}/sys"
fi fi


setarch linux32 capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- -e "$@"
capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- -e "$@"
} }
export -f on_chroot export -f on_chroot




+ 1
- 3
stage4/07-pisdr-limesdr/00-run.sh View File

@@ -11,9 +11,7 @@ fi
cd LimeSuite cd LimeSuite
mkdir -p build mkdir -p build
cd build cd build
cmake -DCMAKE_CXX_FLAGS:STRING="-latomic -march=armv8-a -Wno-psabi" \
-DCMAKE_C_FLAGS:STRING="-latomic -march=armv8-a -Wno-psabi" \
-DENABLE_SIMD_FLAGS="foo" -GNinja -DCMAKE_BUILD_TYPE=Release ..
cmake -GNinja -DCMAKE_CXX_FLAGS=-latomic ..
ninja install ninja install
ldconfig ldconfig
cd .. cd ..


+ 1
- 4
stage4/12-pisdr-gnuradio/00-run.sh View File

@@ -11,10 +11,7 @@ fi
cd volk cd volk
mkdir -p build mkdir -p build
cd 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 -DVOLK_CPU_FEATURES=OFF -DCMAKE_BUILD_TYPE=Release ..
cmake -GNinja -DVOLK_CPU_FEATURES=OFF -DCMAKE_BUILD_TYPE=Release ..
ninja install ninja install
ldconfig ldconfig
cd .. cd ..


Loading…
Cancel
Save