mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
- sync output recursively for make calls - add a script to get the number of cpus on mac and linux - Makefile formatting - update serialize_targets.sh to invoke the proper make binary - Add instructions to install make
19 lines
241 B
Bash
Executable File
19 lines
241 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set +e
|
|
|
|
EXIT_CODE=0
|
|
|
|
# Get the make executable
|
|
MAKE="$1"
|
|
shift
|
|
|
|
for make_target in "$@"; do
|
|
"${MAKE}" --no-print-directory "${make_target}"
|
|
if [[ "$?" != "0" ]]; then
|
|
EXIT_CODE=1
|
|
fi
|
|
done
|
|
|
|
exit "${EXIT_CODE}"
|