Skip to content
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

Merged
merged 10 commits into from
Aug 22, 2023

Conversation

Orloaft
Copy link
Contributor

@Orloaft Orloaft commented Aug 22, 2023

As per #1542 clang 16 is needed so a proposed solution is to check version in bootstrap.sh

@Orloaft Orloaft changed the title update bootstrap.sh in Barretenberg to check for clang 16 chore: update bootstrap.sh in Barretenberg to check for clang 16 Aug 22, 2023
@Orloaft Orloaft changed the title chore: update bootstrap.sh in Barretenberg to check for clang 16 doc: update bootstrap.sh in Barretenberg to check for clang 16 Aug 22, 2023
@Orloaft Orloaft changed the title doc: update bootstrap.sh in Barretenberg to check for clang 16 chore: update bootstrap.sh in Barretenberg to check for clang 16 Aug 22, 2023
@ludamad
Copy link
Collaborator

ludamad commented Aug 22, 2023

LGTM

@ludamad ludamad enabled auto-merge (squash) August 22, 2023 13:36
@ludamad ludamad disabled auto-merge August 22, 2023 13:36
@ludamad
Copy link
Collaborator

ludamad commented Aug 22, 2023

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)
Copy link
Collaborator

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

Copy link
Collaborator

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

@ludamad ludamad merged commit 87815d7 into AztecProtocol:master Aug 22, 2023
2 checks passed
codygunton pushed a commit that referenced this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants