Skip to content

Commit

Permalink
a few improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Jul 5, 2024
1 parent 44d444e commit a1c9135
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build_parallel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ tail -f ${build_dir}/python.log &
tail_pid=$!
wait $python_pid
echo "Python is ready"
kill $tail_pid || true > /dev/null 2>&1
kill $tail_pid
wait $tail_pid 2> /dev/null || true

cmake --build ${build_dir} --target pythia8 > ${build_dir}/pythia8.log 2>&1 &
pythia8_pid=$!
Expand All @@ -163,7 +164,8 @@ tail -f ${build_dir}/pythia8.log &
tail_pid=$!
wait $pythia8_pid
echo "Pythia8 is ready"
kill $tail_pid || true > /dev/null 2>&1
kill $tail_pid
wait $tail_pid 2> /dev/null || true


echo "Rerun combined build to ensure all dependencies are built"
Expand Down

0 comments on commit a1c9135

Please sign in to comment.