#1775: Add Boost to ET
| Reporter: | Erik Schnetter |
| Status: | new |
| Milestone: | ET_2026_05 |
| Version: | development version |
| Type: | enhancement |
| Priority: | minor |
| Component: | EinsteinToolkit thorn |
Comment (by Roland Haas):
It is possible to interact with make's parallel build system (somewhat): https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html (note that Cactus requires GNU make).
#!/bin/bash
# fail on errors, error on unset variable reference
set -u -e
# verobse output?
if [ ${VERBOSE-no} = yes ]; then
set -x
fi
# handle -n option to make (do nothing), since make thinks we are a sub-make
set -- $MAKEFLAGS
if [[ ${#*} -ge 1 ]] && [[ $1 = *n* ]]; then # -n flag passed to make, do nothing
exit 0
fi
# parse remaining make arguments
MAX_JOBS=1
JOBSERVER_AUTH=
for o in "$@"; do
case $o
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/1775/add-boost-to-et