| ... | ... | @@ -61,16 +61,16 @@ brew outdated llvm || brew upgrade llvm |
| 61 | 61 | mkdir build |
| 62 | 62 | cd build |
| 63 | 63 | cmake .. -DCMAKE_PREFIX_PATH=$(brew --prefix llvm) |
| 64 | | make -j install |
| 64 | make install |
| 65 | 65 | ``` |
| 66 | 66 | |
| 67 | 67 | You will now run into this issue: |
| 68 | 68 | [homebrew and llvm 10 packages in apt.llvm.org are broken with undefined reference to getPollyPluginInfo](https://github.com/ziglang/zig/issues/4799) |
| 69 | | or this https://github.com/ziglang/zig/issues/5055, in which case try `-DZIG_WORKAROUND_4799=ON` |
| 70 | | |
| 69 | or |
| 70 | [error: unable to create target: 'Unable to find target for this triple (no targets are registered)'](https://github.com/ziglang/zig/issues/5055), |
| 71 | in which case try `-DZIG_WORKAROUND_4799=ON` |
| 71 | 72 | |
| 72 | | Please help upstream LLVM and Homebrew solve this issue, there is nothing Zig |
| 73 | | can do about it. See that issue for a workaround you can do in the meantime. |
| 73 | Hopefully this will be fixed upstream with LLVM 10.0.1. |
| 74 | 74 | |
| 75 | 75 | ##### Windows |
| 76 | 76 | |