Skip to content

Commit

Permalink
fix: remaining refs to clang15
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad0 committed Sep 6, 2023
1 parent 28a877b commit e151e52
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion circuits/cpp/barretenberg/barretenberg.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
},
"cmake.configureArgs": [
"--preset clang15",
"--preset clang16",
"-G Ninja",
"-g"
],
Expand Down
2 changes: 1 addition & 1 deletion circuits/cpp/barretenberg/cpp/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [ "$OS" == "macos" ]; then
PRESET=default
else
if [ "$(which clang++-15)" != "" ]; then
PRESET=clang15
PRESET=clang16
else
PRESET=default
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ FROM alpine:3.17
RUN apk update \
&& apk upgrade \
&& apk add --no-cache \
bash \
build-base \
clang15 \
openmp \
openmp-dev \
cmake \
ninja \
git \
curl \
perl
bash \
build-base \
clang16 \
openmp \
openmp-dev \
cmake \
ninja \
git \
curl \
perl

WORKDIR /usr/src/barretenberg/cpp

Expand Down
20 changes: 10 additions & 10 deletions circuits/cpp/barretenberg/sol/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM alpine:3.17
RUN apk update \
&& apk upgrade \
&& apk add --no-cache \
build-base \
clang15 \
openmp-dev \
cmake \
ninja \
git \
curl \
perl
&& apk upgrade \
&& apk add --no-cache \
build-base \
clang16 \
openmp-dev \
cmake \
ninja \
git \
curl \
perl

WORKDIR /usr/src/barretenberg/cpp

Expand Down
4 changes: 2 additions & 2 deletions circuits/cpp/barretenberg/sol/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ cd ../../sol

echo "Building c++ binaries..."
cd ../cpp
cmake --preset clang15
cmake --build --preset clang15 --target solidity_key_gen solidity_proof_gen
cmake --preset clang16
cmake --build --preset clang16 --target solidity_key_gen solidity_proof_gen
cd ../sol

echo "Generating keys..."
Expand Down
2 changes: 1 addition & 1 deletion circuits/cpp/barretenberg/sol/lib/openzeppelin-contracts
2 changes: 1 addition & 1 deletion l1-contracts/lib/openzeppelin-contracts

0 comments on commit e151e52

Please sign in to comment.