blob: 7dd67ccc219fc8366833473f2671d4ffe08cc2fd [file] [log] [blame]
#!/usr/bin/env bash
set -ex
git submodule sync
git submodule update --init
# Build in debug mode
./waf --color=yes configure --debug
./waf --color=yes build -j$WAF_JOBS
# Cleanup
./waf --color=yes distclean
# Build in release mode
./waf --color=yes configure
./waf --color=yes build -j$WAF_JOBS
# Install
sudo_preserve_env PATH -- ./waf --color=yes install