Commit b028ead9 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra

build: compile faster using multiple cores

parent 6baa8cc3
......@@ -19,4 +19,4 @@ include /usr/share/dpkg/default.mk
# main packaging script based on dh7 syntax
%:
dh $@ --with autotools-dev
dh $@ --with autotools-dev --parallel
#! /bin/sh
JOBS=${JOBS:-4} # run 4 commands at once
cd $(dirname $(readlink -e "$0"))
set -ex
./autogen.sh
./configure --enable-maintainer-mode
make distcheck
make -j $JOBS distcheck
tarball=$(echo etherbone-*.tar.gz)
ver=${tarball##*-}
......@@ -17,4 +19,4 @@ cd deb
tar xvzf $orig
cp -a ../debian etherbone-${ver}/
cd etherbone-${ver}
debuild
debuild -eDEB_BUILD_OPTIONS="parallel=$JOBS"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment