From be480696b6191a664d872831c0fe05cc581da8bf Mon Sep 17 00:00:00 2001 From: Leonardo Romor Date: Wed, 28 Feb 2024 21:18:55 +0100 Subject: [PATCH 1/2] bazel: add try-import .user.bazelrc for custom user configurations --- .bazelrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bazelrc b/.bazelrc index a007b719b..252ab4cb0 100644 --- a/.bazelrc +++ b/.bazelrc @@ -36,3 +36,5 @@ build:asan --copt -fno-omit-frame-pointer build:asan --linkopt -fsanitize=address build:create_static_linked_executables --linkopt=-fuse-ld=bfd --features=-supports_start_end_lib --//bazel:create_static_linked_executables + +try-import %workspace%/.user.bazelrc From 8c461a8afc16d957464cf6a5d38c32f3c2a5e5b5 Mon Sep 17 00:00:00 2001 From: Leonardo Romor Date: Sun, 3 Mar 2024 08:30:48 +0100 Subject: [PATCH 2/2] bazel: renamed user workspace bazelrc file --- .bazelrc | 2 +- .gitignore | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index 252ab4cb0..140d38715 100644 --- a/.bazelrc +++ b/.bazelrc @@ -37,4 +37,4 @@ build:asan --linkopt -fsanitize=address build:create_static_linked_executables --linkopt=-fuse-ld=bfd --features=-supports_start_end_lib --//bazel:create_static_linked_executables -try-import %workspace%/.user.bazelrc +try-import %workspace%/user.bazelrc diff --git a/.gitignore b/.gitignore index 330da7770..af25f25e2 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ verible_clang-tidy.out # Local user config .envrc .direnv +user.bazelrc