From 365cb130da79e23c7d7c0123725b6dfaa5f182f8 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 18 Sep 2017 10:50:27 -0400 Subject: [PATCH] README: macos instructions: simplify --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 91cc4bd69..ce4b6a7f4 100644 --- a/README.md +++ b/README.md @@ -84,8 +84,6 @@ If you have gcc or clang installed, you can find out what `ZIG_LIBC_LIB_DIR`, `ZIG_LIBC_STATIC_LIB_DIR`, and `ZIG_LIBC_INCLUDE_DIR` should be set to (example below). -For MacOS, `ZIG_LIBC_LIB_DIR` and `ZIG_LIBC_STATIC_LIB_DIR` are unused. - ``` mkdir build cd build @@ -97,12 +95,14 @@ make install #### MacOS +`ZIG_LIBC_LIB_DIR` and `ZIG_LIBC_STATIC_LIB_DIR` are unused. + ``` brew install llvm@5 brew outdated llvm@5 || brew upgrade llvm@5 mkdir build cd build -cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@5/ -DCMAKE_INSTALL_PREFIX=$(pwd) -DZIG_LIBC_INCLUDE_DIR=/usr/include +cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@5/ -DCMAKE_INSTALL_PREFIX=$(pwd) make install ```