blob: e650425a4a50ada9c0b9169811682b0b583c7671 [file] [log] [blame]
Geoffrey Martin-Noble552d3f82021-05-25 17:56:09 -07001# Copyright 2019 The IREE Authors
Geoffrey Martin-Noble1e20c602019-11-11 12:06:19 -08002#
Geoffrey Martin-Noble552d3f82021-05-25 17:56:09 -07003# 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-Noble1e20c602019-11-11 12:06:19 -08006
Geoffrey Martin-Noble6dd8ba42020-07-17 09:13:29 -07007# Import the main bazelrc config. This is in a separate file so that it's
Geoffrey Martin-Noblef03c3c12021-02-26 10:44:03 -08008# possible to turn off some or all user and system bazelrc options by specifying
Geoffrey Martin-Noble6dd8ba42020-07-17 09:13:29 -07009# `--nosystem_rc --nohome_rc --noworkspace_rc --bazelrc=build_tools/bazel/iree.bazelrc`
Stella Laurenzo04318d72023-04-10 17:43:37 -070010import %workspace%/build_tools/bazel/iree.bazelrc
Stella Laurenzo3eecf142019-10-25 10:22:21 -070011
Stella Laurenzod5b91272020-05-28 17:42:06 -070012# Run the configure_bazel.py script to generate.
Stella Laurenzo04318d72023-04-10 17:43:37 -070013import %workspace%/configured.bazelrc
Stella Laurenzod5b91272020-05-28 17:42:06 -070014
Stella Laurenzo7ff35e62019-10-16 12:44:31 -070015# 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 Laurenzo9fb164c2019-10-23 13:36:22 -070017try-import %workspace%/user.bazelrc