File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,8 +31,7 @@ sudo ip netns exec airgapped sudo -u "$USER" \
3131 BAZEL_BITSTREAMS_CACHE=" ${PWD} /bazel-airgapped/bitstreams-cache" \
3232 OT_AIRGAPPED=" true" \
3333 BITSTREAM=" --offline latest" \
34- " ${PWD} /bazel-airgapped/bazel" build \
35- --distdir=" ${PWD} /bazel-airgapped/bazel-distdir" \
34+ " ${PWD} /bazel-airgapped/bazel" build \
3635 --vendor_dir=" ${PWD} /bazel-airgapped/bazel-vendor" \
3736 --define DISABLE_VERILATOR_BUILD=true \
3837 //sw/device/silicon_creator/rom:mask_rom
Original file line number Diff line number Diff line change @@ -116,16 +116,6 @@ if [[ ${AIRGAPPED_DIR_CONTENTS} == "ALL" || \
116116 --output bazel
117117 chmod +x bazel
118118 popd
119-
120- # Make Bazel fetch its own dependencies to the repository cache:
121- # https://bazel.build/run/build#repository_cache_with_bazel_7_or_later
122- mkdir -p " ${BAZEL_AIRGAPPED_DIR} /empty_workspace"
123- pushd " ${BAZEL_AIRGAPPED_DIR} /empty_workspace"
124- touch MODULE.bazel
125- cp " ${REPO_TOP} /.bazelversion" .
126- ../bazel fetch --repository_cache=" ${BAZEL_CACHEDIR} "
127- popd
128- rm -rf " ${BAZEL_AIRGAPPED_DIR} /empty_workspace"
129119fi
130120
131121# ###############################################################################
You can’t perform that action at this time.
0 commit comments