hamnet70-gnuradio-legacy/gr-hamnet70/make.sh

14 lines
236 B
Bash
Raw Normal View History

#!/bin/sh
set -e
mkdir -p build
cd build
2019-09-19 00:20:44 +02:00
#cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j$(ls -d1 /sys/devices/system/cpu/cpu[0-9]* | wc -l)
if [ "$1" == "install" ]; then
sudo make install
fi