mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
37 lines
736 B
Bash
Executable File
37 lines
736 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
root_dir=$(pwd)
|
|
|
|
run() {
|
|
echo '==============================================='
|
|
if [ ! $(pwd) = ${root_dir} ]; then
|
|
printf "cd $(pwd); "
|
|
fi
|
|
echo "${@}"
|
|
echo '==============================================='
|
|
"${@}"
|
|
}
|
|
|
|
run_cmake() {
|
|
mkdir -p cmake-build
|
|
rm -rf cmake-build/*
|
|
cd cmake-build
|
|
run cmake ${@} ..
|
|
run make -j4 check
|
|
cd ..
|
|
}
|
|
|
|
run_cmake -DCMAKE_BUILD_TYPE=Debug
|
|
|
|
run make jdk-test
|
|
run make ${@} test
|
|
run make ${@} mode=debug test
|
|
run make ${@} process=interpret test
|
|
run make ${@} bootimage=true test
|
|
run make ${@} mode=debug bootimage=true test
|
|
run make ${@} openjdk=$JAVA_HOME test
|
|
run make ${@} tails=true continuations=true heapdump=true test
|
|
run make ${@} codegen-targets=all
|