Skip to content

Commit

Permalink
Use new build system in tool.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
docelic committed May 26, 2020
1 parent aac2337 commit 8732a90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SOURCE_FILE="$BASE/src/bindgen.cr"
function print_clang_error {
echo " Bindgen requires a full installation of Clang, its libraries and development"
echo " headers. Please install these first, and restart this script."
echo " You can also manually run 'make' in clang/ for debugging this issue."
echo " You can also manually run 'cmake .; make -j' in clang/ for debugging this issue."
echo " Full path to clang/: $CLANG_DIR"

exit 1
Expand All @@ -19,7 +19,7 @@ function print_clang_error {
if [ ! -f "$CLANG_DIR/bindgen" ]; then
echo "** clang/bindgen not found. Building now."
cd "$CLANG_DIR"
make || print_clang_error
( cmake . && make -j ) || print_clang_error
cd -
fi

Expand Down

0 comments on commit 8732a90

Please sign in to comment.