Skip to content

Commit

Permalink
Allow executing parallel symbol dump and compatibilty check.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho committed Sep 28, 2018
1 parent f6c520c commit 5ee02ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/generate_reports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function build_and_dump
cd "$INSTALL_FOLDER/lib"
ls *.so | sed -e "s/^libpcl_//" -e "s/.so//" \
| awk '{print "libpcl_"$1".so -o '"$ABI_DUMP_FOLDER"'/"$1".dump -lver '"$1"'"}' \
| xargs -n5 abi-dumper
| xargs -n5 -P${N_WORKERS} abi-dumper

# Restore folder
cd $PWD
Expand All @@ -133,4 +133,4 @@ NEW_ABI_DUMP_FOLDER="$ROOT_FOLDER/abi_dump/$NEW_VERSION_ESCAPED"
cd "$ROOT_FOLDER"
find $OLD_INSTALL_FOLDER/lib -name '*.so' -printf '%P\n' | sed -e "s/^libpcl_//" -e "s/.so//" \
| awk '{print "-lib "$1" -old '"$OLD_ABI_DUMP_FOLDER"'/"$1".dump -new '"$NEW_ABI_DUMP_FOLDER"'/"$1".dump"}' \
| xargs -n6 abi-compliance-checker
| xargs -n6 -P${N_WORKERS} abi-compliance-checker

0 comments on commit 5ee02ed

Please sign in to comment.