Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 054c0db

Browse files
MarshallOfSoundkhalwa
authored andcommitted
build: force ninja binary to the right arch after src cache restore (electron#36401)
1 parent 93f1ec4 commit 054c0db

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.circleci/config/base.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,11 @@ step-fix-sync: &step-fix-sync
495495
# Remove extra output from calling gclient getdep which always calls update_depot_tools
496496
sed -i '' "s/Updating depot_tools... //g" esbuild_ensure_file
497497
cipd ensure --root src/third_party/devtools-frontend/src/third_party/esbuild -ensure-file esbuild_ensure_file
498+
499+
# Fix ninja (wrong binary)
500+
echo 'infra/3pp/tools/ninja/${platform}' `gclient getdep --deps-file=src/DEPS -r 'src/third_party/ninja:infra/3pp/tools/ninja/${platform}'` > ninja_ensure_file
501+
sed -i '' "s/Updating depot_tools... //g" ninja_ensure_file
502+
cipd ensure --root src/third_party/ninja -ensure-file ninja_ensure_file
498503
fi
499504
500505
cd src/third_party/angle

0 commit comments

Comments
 (0)