-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreproduce.sh
More file actions
executable file
·23 lines (19 loc) · 1.35 KB
/
reproduce.sh
File metadata and controls
executable file
·23 lines (19 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /usr/bin/env bash
# This works fine
bazel clean
bazel run //:uploader --disk_cache=~/.cache/bazel-disk-cache --noexperimental_check_output_files --remote_download_outputs=minimal
# This does not work if the build action is cached
bazel clean
bazel build //:uploader --disk_cache=~/.cache/bazel-disk-cache --noexperimental_check_output_files --remote_download_outputs=minimal
bazel run //:uploader --disk_cache=~/.cache/bazel-disk-cache --noexperimental_check_output_files --remote_download_outputs=minimal
# If we remove --noexperimental_check_output_files this works when the build action is cached and not cached
bazel clean
bazel build //:uploader --disk_cache=~/.cache/bazel-disk-cache --remote_download_outputs=minimal
bazel run //:uploader --disk_cache=~/.cache/bazel-disk-cache --remote_download_outputs=minimal
# If we remove --remote_download_outputs=minimal this works when the build action is cached and not cached
bazel clean
bazel build //:uploader --disk_cache=~/.cache/bazel-disk-cache --noexperimental_check_output_files bazel run //:uploader --disk_cache=~/.cache/bazel-disk-cache --noexperimental_check_output_files
# If we remove --disk_cache this works
bazel clean
bazel build //:uploader --noexperimental_check_output_files --remote_download_outputs=minimal
bazel run //:uploader --noexperimental_check_output_files --remote_download_outputs=minimal