Devuan fork of gpsd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
515 B

  1. #!/bin/bash
  2. set -e
  3. set -x
  4. apt -y install ccache
  5. PATH=/usr/sbin:/usr/bin:/sbin:/bin
  6. export PATH="/usr/lib/ccache:$PATH"
  7. if which nproc >/dev/null; then
  8. SCONS_PARALLEL="-j $(nproc) "
  9. else
  10. SCONS_PARALLEL=""
  11. fi
  12. (
  13. scons --help | grep -B1 'default: True' | grep 'yes|no' | sed 's,:.*,=no,' | grep -v '^gpsd$'
  14. scons --help | grep -B1 'default: False' | grep 'yes|no' | sed 's,:.*,=yes,'
  15. ) | while read option; do
  16. scons --clean
  17. rm -f .sconsign.*.dblite
  18. scons ${SCONS_PARALLEL}${option} build
  19. done