Geoffrey Martin-Noble | 552d3f8 | 2021-05-25 17:56:09 -0700 | [diff] [blame] | 1 | # Copyright 2019 The IREE Authors |
Geoffrey Martin-Noble | 1e20c60 | 2019-11-11 12:06:19 -0800 | [diff] [blame] | 2 | # |
Geoffrey Martin-Noble | 552d3f8 | 2021-05-25 17:56:09 -0700 | [diff] [blame] | 3 | # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| 4 | # See https://llvm.org/LICENSE.txt for license information. |
| 5 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
Geoffrey Martin-Noble | 1e20c60 | 2019-11-11 12:06:19 -0800 | [diff] [blame] | 6 | |
Geoffrey Martin-Noble | 6dd8ba4 | 2020-07-17 09:13:29 -0700 | [diff] [blame] | 7 | # Import the main bazelrc config. This is in a separate file so that it's |
Geoffrey Martin-Noble | f03c3c1 | 2021-02-26 10:44:03 -0800 | [diff] [blame] | 8 | # possible to turn off some or all user and system bazelrc options by specifying |
Geoffrey Martin-Noble | 6dd8ba4 | 2020-07-17 09:13:29 -0700 | [diff] [blame] | 9 | # `--nosystem_rc --nohome_rc --noworkspace_rc --bazelrc=build_tools/bazel/iree.bazelrc` |
Stella Laurenzo | 04318d7 | 2023-04-10 17:43:37 -0700 | [diff] [blame] | 10 | import %workspace%/build_tools/bazel/iree.bazelrc |
Stella Laurenzo | 3eecf14 | 2019-10-25 10:22:21 -0700 | [diff] [blame] | 11 | |
Stella Laurenzo | d5b9127 | 2020-05-28 17:42:06 -0700 | [diff] [blame] | 12 | # Run the configure_bazel.py script to generate. |
Stella Laurenzo | 04318d7 | 2023-04-10 17:43:37 -0700 | [diff] [blame] | 13 | import %workspace%/configured.bazelrc |
Stella Laurenzo | d5b9127 | 2020-05-28 17:42:06 -0700 | [diff] [blame] | 14 | |
Stella Laurenzo | 7ff35e6 | 2019-10-16 12:44:31 -0700 | [diff] [blame] | 15 | # The user.bazelrc file is not checked in but available for local mods. |
| 16 | # 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] | 17 | try-import %workspace%/user.bazelrc |