You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bazel] Auto detect platform specific configs (#32)
This let's us drop the annoying `--config=clang_linux` from every bazel
build/run/test command. Also simplifies clangd compilation database
generation PR a bit (follow-on).
Copy file name to clipboardExpand all lines: README.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,12 @@ To build TCP using Bazel, follow these steps:
23
23
24
24
2. You can now build `tcp-opt` by running:
25
25
```shell
26
-
bazel build --config=clang_linux //:tcp-opt
26
+
bazel build //:tcp-opt
27
27
```
28
-
(replace `linux` with `osx` for Mac)
29
28
30
29
3. To run TCP lit and aot compile tests:
31
30
```shell
32
-
bazel test--config=clang_linux //test/...
31
+
bazel test //test/...
33
32
```
34
33
35
34
We welcome contributions to `mlir-tcp`. If you do contribute, please finalize your PR with clang-format and bazel buildifier to ensure the C++ sources and BUILD files are formatted consistently:
@@ -38,14 +37,14 @@ We welcome contributions to `mlir-tcp`. If you do contribute, please finalize yo
When bumping upstream dependencies (LLVM, Torch-MLIR, StableHLO), you may validate the set of "green commits" by running the corresponding third-party tests:
0 commit comments