Skip to content

Commit

Permalink
Use MSVC instead of clang, skip stablehlo submodule.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Oct 26, 2023
1 parent 89c1b95 commit 2daacc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
run : |
git \
-c submodule."third_party/llvm-project".update=none \
-c submodule."third_party/stablehlo".update=none \
-c submodule."third_party/torch-mlir".update=none \
submodule update --init --recursive
- name: Build sample
Expand Down Expand Up @@ -81,13 +82,12 @@ jobs:
run : |
git \
-c submodule."third_party/llvm-project".update=none \
-c submodule."third_party/stablehlo".update=none \
-c submodule."third_party/torch-mlir".update=none \
submodule update --init --recursive
- name: Build sample
run: |
cmake -B build/ -G Ninja \
-DCMAKE_C_COMPILER=clang-10 \
-DCMAKE_CXX_COMPILER=clang++-10
cmake -B build/ -G Ninja
cmake --build build/ --target hello_world
- name: Compile sample module
run: |
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ $ git submodule add https://github.com/openxla/iree.git third_party/iree/
$ git submodule update --init --recursive
```

For a faster checkout the LLVM and torch-mlir dependencies can be dropped as
this template is only compiling the runtime (only bother if optimizing build
bots):
For a faster checkout some compiler-only dependencies can be dropped as this
template is only compiling the runtime (only bother if optimizing build bots):

```sh
$ git \
-c submodule."third_party/llvm-project".update=none \
-c submodule."third_party/stablehlo".update=none \
-c submodule."third_party/torch-mlir".update=none \
submodule update --init --recursive
```
Expand Down

0 comments on commit 2daacc2

Please sign in to comment.