Skip to content

Commit

Permalink
fix: revert clang check bootstrap.sh (#1734)
Browse files Browse the repository at this point in the history
this had problems on linux
  • Loading branch information
ludamad authored Aug 22, 2023
1 parent 3ad7b3a commit a931e07
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions circuits/cpp/barretenberg/cpp/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
#!/bin/bash
set -eu

# Get the clang version string
major_version=$(clang --version | grep 'version' | awk '{ for(i=1;i<=NF;i++) if ($i ~ /^[0-9]+(\.[0-9]+)*$/) print $i }' | cut -d'.' -f1)

if ! [ "$major_version" -ge 16 ]; then
echo "Error: clang version 16 or greater is required."
exit 1
fi

# Clean.
rm -rf ./build
rm -rf ./build-wasm
Expand Down

0 comments on commit a931e07

Please sign in to comment.