blob: 2fbdb6f397044007a6d56d622787aab3767df106 [file] [log] [blame]
Geoffrey Martin-Noble1e20c602019-11-11 12:06:19 -08001# Copyright 2019 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Geoffrey Martin-Noble6dd8ba42020-07-17 09:13:29 -070015# Import the main bazelrc config. This is in a separate file so that it's
16# possible to turn off all user bazelrc options by specifying
17# `--nosystem_rc --nohome_rc --noworkspace_rc --bazelrc=build_tools/bazel/iree.bazelrc`
18try-import %workspace%/build_tools/bazel/iree.bazelrc
Stella Laurenzo3eecf142019-10-25 10:22:21 -070019
Stella Laurenzod5b91272020-05-28 17:42:06 -070020# Run the configure_bazel.py script to generate.
21try-import %workspace%/configured.bazelrc
22
Stella Laurenzo7ff35e62019-10-16 12:44:31 -070023# The user.bazelrc file is not checked in but available for local mods.
24# Always keep this at the end of the file so that user flags override.
Stella Laurenzo9fb164c2019-10-23 13:36:22 -070025try-import %workspace%/user.bazelrc