Skip to content

Commit

Permalink
bazel: add sandbox_tmpfs_path and set memory 4g (#42559)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkingrei authored Mar 24, 2023
1 parent 4bcedcc commit 63d7743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
startup --host_jvm_args=-Xmx8g
startup --host_jvm_args=-Xmx4g
startup --unlimit_coredumps

run:ci --color=yes
Expand Down
2 changes: 1 addition & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ TEST_COVERAGE_DIR := "test_coverage"

ifneq ("$(CI)", "0")
BAZEL_GLOBAL_CONFIG := --output_user_root=/home/jenkins/.tidb/tmp
BAZEL_CMD_CONFIG := --config=ci --repository_cache=/home/jenkins/.tidb/tmp
BAZEL_CMD_CONFIG := --config=ci --repository_cache=/home/jenkins/.tidb/tmp --sandbox_tmpfs_path=/tmp
endif

0 comments on commit 63d7743

Please sign in to comment.