From 77ce95a83b777bf0ff93759782a3e97528682e3b Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Wed, 17 Aug 2022 09:10:47 -0700 Subject: [PATCH] [bazel] Add --config=ci To speedup builds/tests. --- utils/bazel/.bazelrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/utils/bazel/.bazelrc b/utils/bazel/.bazelrc index f1d09cc..08cb9a9 100644 --- a/utils/bazel/.bazelrc +++ b/utils/bazel/.bazelrc @@ -141,6 +141,15 @@ build:clang-cl --copt=/clang:-Wno-inconsistent-dllimport --host_copt=/clang:-Wno build:clang-cl --cxxopt=/clang:-Wno-c++11-narrowing --host_cxxopt=/clang:-Wno-c++11-narrowing ############################################################################### +# Options for continuous integration. +############################################################################### + +# -O1 tries to provide a reasonable tradeoff between compile times and runtime +# performance. However, if we start running more tests (e.g. all of +# check-clang) we may want more optimizations. +build:ci --copt=-O1 + +############################################################################### # The user.bazelrc file is not checked in but available for local mods. # Always keep this at the end of the file so that user flags override. -- 2.7.4