-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update bootstrap.sh in Barretenberg to check for clang 16 #1717
Conversation
LGTM |
Actually could we move this into the cpp bootstrap? I think this bootstrap isn't called by the other ones |
@@ -1,6 +1,25 @@ | |||
#!/bin/bash | |||
set -eu | |||
|
|||
# Get the clang version string | |||
clang_version_string=$(clang --version 2>/dev/null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: technically, since this script has -e, we would never hit the
# Check if clang is installed
if [ $? -ne 0 ]; then
echo "Error: clang is not installed."
exit 1
fi
case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add the set -e after this
As per #1542 clang 16 is needed so a proposed solution is to check version in bootstrap.sh