Explorar el Código

Remove setarch.

pull/71/head
luigifcruz hace 2 años
padre
commit
0bf7e18500
Se han modificado 3 ficheros con 3 adiciones y 8 borrados
  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 Ver fichero

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

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



+ 1
- 3
stage4/07-pisdr-limesdr/00-run.sh Ver fichero

@@ -11,9 +11,7 @@ fi
cd LimeSuite
mkdir -p 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
ldconfig
cd ..


+ 1
- 4
stage4/12-pisdr-gnuradio/00-run.sh Ver fichero

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


Cargando…
Cancelar
Guardar