mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-11 06:35:51 +00:00
This script will compile rippled, run unit tests and then delete all build artifacts in many possible configurations (in Linux). The script will automatically use all available cores to improve compile speed. All commands are chained via &&, so if any of them fail, the script will stop at the error.
7 lines
162 B
Bash
7 lines
162 B
Bash
#!/usr/bin/env bash
|
|
|
|
num_procs=$(lscpu -p | grep -v '^#' | sort -u -t, -k 2,4 | wc -l) # number of physical cores
|
|
|
|
cd ..
|
|
./Builds/Test.py -a -c -- -j${num_procs}
|