Skip to content

Commit 385ec06

Browse files
authored
chore(backport-to-v4-next): fix: some mac install fixes (#20630) (#23486)
2 parents ec29c67 + e5b6bcc commit 385ec06

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

barretenberg/ts/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function release {
6868
}
6969

7070
function cross_copy {
71-
./scripts/copy_cross.sh
71+
./scripts/copy_cross.sh "$@"
7272
}
7373

7474
case "$cmd" in

barretenberg/ts/scripts/copy_cross.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ NO_CD=1 source $(git rev-parse --show-toplevel)/ci3/source
55

66
cd $(dirname $0)/..
77

8-
if semver check "${REF_NAME:-}" && [[ "$(arch)" == "amd64" ]]; then
8+
if [ -n "${1:-}" ]; then
9+
arch="$1"
10+
mkdir -p ./build/$arch
11+
cp ../cpp/build-zig-$arch/bin/bb ./build/$arch
12+
cp ../cpp/build-zig-$arch/lib/nodejs_module.node ./build/$arch
13+
elif semver check "${REF_NAME:-}" && [[ "$(arch)" == "amd64" ]]; then
914
# We're building a release.
1015
# We take host build for amd64-linux.
1116
mkdir -p ./build/amd64-linux

build-images/src/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ RUN apt update && \
203203
neovim \
204204
psmisc \
205205
python3-blessed \
206+
qemu-utils \
206207
redis-tools \
207208
rsync \
208209
software-properties-common \
@@ -264,7 +265,7 @@ RUN echo '%sudo ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
264265
# It can be used independently:
265266
# - The user should use the ./run.sh script to launch.
266267
# - A persistent volume will be mounted to /home/aztec-dev.
267-
# - It provides docker via the hosts docker instance, mounted at /var/lib/docker.sock.
268+
# - It provides docker-in-docker.
268269
# - It uses an entrypoint script at runtime to perform uid/gid alignment with the host and drop into user account.
269270
FROM basebox AS devbox
270271

yarn-project/aztec/scripts/aztec.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
3-
shopt -s inherit_errexit
43

54
# Re-execute using correct version if we have an .aztecrc file.
65
if [ "${AZTEC_VERSIONED:-0}" -eq 0 ] && [ -f .aztecrc ] && command -v aztec-up &>/dev/null; then

0 commit comments

Comments
 (0)