musikcube/script/archive-rpi.sh

10 lines
253 B
Bash
Raw Normal View History

2019-01-13 19:37:02 +00:00
#!/bin/sh
SCRIPT_DIR=`dirname "$0"`
2019-01-13 19:38:09 +00:00
rm -rf bin
${SCRIPT_DIR}/clean-nix.sh
cmake -DENABLE_PCH=true -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=armhf -DDEB_PLATFORM=rpi -DDEB_DISTRO=buster -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
make -j4
2019-01-13 19:37:02 +00:00
cpack