Commit 4b77cee
authored
README.md: fix build instructions (#2848)
This PR resolves two issues in the build instructions and updates the
test results.
```bash
/bin/sh: 1: ccache: not found
[11/156] Building CXX object stablehlo/transforms/conversions/CMakeFiles/obj.StablehloTypeConversion.dir/TypeConversion.cpp.o
FAILED: stablehlo/transforms/conversions/CMakeFiles/obj.StablehloTypeConversion.dir/TypeConversion.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SHORT_FILE__=\"TypeConversion.cpp\" -I/root/stablehlo/llvm-project/llvm/include -I/root/stablehlo/llvm-build/include -I/root/stablehlo/llvm-project/mlir/include -I/root/stablehlo/llvm-build/tools/mlir/include -I/root/stablehlo -I/root/stablehlo/build -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=gnu++17 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -gsplit-dwarf -ggnu-pubnames -fsanitize=address -fsanitize=undefined -fsanitize=leak -fno-omit-frame-pointer -MD -MT stablehlo/transforms/conversions/CMakeFiles/obj.StablehloTypeConversion.dir/TypeConversion.cpp.o -MF stablehlo/transforms/conversions/CMakeFiles/obj.StablehloTypeConversion.dir/TypeConversion.cpp.o.d -o stablehlo/transforms/conversions/CMakeFiles/obj.StablehloTypeConversion.dir/TypeConversion.cpp.o -c /root/stablehlo/stablehlo/transforms/conversions/TypeConversion.cpp
/bin/sh: 1: ccache: not found
[20/156] Building StablehloOps.cpp.inc...
ninja: build stopped: subcommand failed.
```
### Testing Done
```
root@0-4-35-gpu-mi300x1-192gb-devcloud-atl1:~/stablehlo# (hash="$(cat ./build_tools/llvm_version.txt)"; cd llvm-project && git fetch origin "$hash" && git checkout "$hash")
From https://github.com/llvm/llvm-project
* branch 6d4a0935c850ec3ddfc70c4ba97b98adc35c676e -> FETCH_HEAD
HEAD is now at 6d4a0935c850 [lldb][test] Skip TestExprDefinitionInDylib on Windows
```
Signed-off-by: Xiaodong Ye <[email protected]>1 parent fb3d7b1 commit 4b77cee
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| |||
0 commit comments