Geoffrey Martin-Noble | 1e20c60 | 2019-11-11 12:06:19 -0800 | [diff] [blame] | 1 | # 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-Noble | 6dd8ba4 | 2020-07-17 09:13:29 -0700 | [diff] [blame] | 15 | # 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` |
| 18 | try-import %workspace%/build_tools/bazel/iree.bazelrc |
Stella Laurenzo | 3eecf14 | 2019-10-25 10:22:21 -0700 | [diff] [blame] | 19 | |
Stella Laurenzo | d5b9127 | 2020-05-28 17:42:06 -0700 | [diff] [blame] | 20 | # Run the configure_bazel.py script to generate. |
| 21 | try-import %workspace%/configured.bazelrc |
| 22 | |
Stella Laurenzo | 7ff35e6 | 2019-10-16 12:44:31 -0700 | [diff] [blame] | 23 | # 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 Laurenzo | 9fb164c | 2019-10-23 13:36:22 -0700 | [diff] [blame] | 25 | try-import %workspace%/user.bazelrc |