| ... | ... | @@ -84,8 +84,6 @@ If you have gcc or clang installed, you can find out what `ZIG_LIBC_LIB_DIR`, |
| 84 | 84 | `ZIG_LIBC_STATIC_LIB_DIR`, and `ZIG_LIBC_INCLUDE_DIR` should be set to |
| 85 | 85 | (example below). |
| 86 | 86 | |
| 87 | | For MacOS, `ZIG_LIBC_LIB_DIR` and `ZIG_LIBC_STATIC_LIB_DIR` are unused. |
| 88 | | |
| 89 | 87 | ``` |
| 90 | 88 | mkdir build |
| 91 | 89 | cd build |
| ... | ... | @@ -97,12 +95,14 @@ make install |
| 97 | 95 | |
| 98 | 96 | #### MacOS |
| 99 | 97 | |
| 98 | `ZIG_LIBC_LIB_DIR` and `ZIG_LIBC_STATIC_LIB_DIR` are unused. |
| 99 | |
| 100 | 100 | ``` |
| 101 | 101 | brew install llvm@5 |
| 102 | 102 | brew outdated llvm@5 || brew upgrade llvm@5 |
| 103 | 103 | mkdir build |
| 104 | 104 | cd build |
| 105 | | cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@5/ -DCMAKE_INSTALL_PREFIX=$(pwd) -DZIG_LIBC_INCLUDE_DIR=/usr/include |
| 105 | cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@5/ -DCMAKE_INSTALL_PREFIX=$(pwd) |
| 106 | 106 | make install |
| 107 | 107 | ``` |
| 108 | 108 | |