Skip to content

Commit

Permalink
Alter buildme to use multiple jobs and install on a Pi2
Browse files Browse the repository at this point in the history
  • Loading branch information
6by9 committed Apr 27, 2015
1 parent 198b9ac commit da7cab9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions buildme
@@ -1,11 +1,15 @@
#!/bin/bash

if [ "armv6l" = `arch` ]; then
if [ "armv6l" = `arch` ] || [ "armv7l" = `arch` ]; then
# Native compile on the Raspberry Pi
mkdir -p build/raspberry/release
pushd build/raspberry/release
cmake -DCMAKE_BUILD_TYPE=Release ../../..
make
if [ "armv6l" = `arch` ]; then
make
else
make -j4
fi
if [ "$1" != "" ]; then
sudo make install DESTDIR=$1
else
Expand Down

0 comments on commit da7cab9

Please sign in to comment.