diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-01-02 14:59:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-02 14:59:17 +0300 |
commit | 8ceb9d93892fdc5357342c37fa3c3cc255d33c0c (patch) | |
tree | 94774d5cd2856631f8377c2272de25b9e7b55e6d /Documentation | |
parent | 6f9db274e34b203543966bd9cde4c9719c1e88fe (diff) |
Cleanup and simplify makefiles (#5179)
- Delete redundant or obsolete parts in makefiles
- Update macOS prerequisites
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/prerequisites-for-building.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Documentation/prerequisites-for-building.md b/Documentation/prerequisites-for-building.md index f4fc03d03..b8360e428 100644 --- a/Documentation/prerequisites-for-building.md +++ b/Documentation/prerequisites-for-building.md @@ -8,7 +8,7 @@ The following pre-requisites need to be installed for building the repo: PowerShell also needs to be available from the PATH environment variable (it's the default). Typically it should be %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\. -# Ubuntu (14.04) +# Ubuntu (14.04+) Install basic dependency packages: @@ -23,12 +23,10 @@ sudo apt-get update sudo apt-get install cmake clang-3.9 libicu52 libunwind8 uuid-dev ``` -# Mac OSX (10.11.5+) +# macOS (10.12+) 1. Install [Command Line Tools for XCode 8](https://developer.apple.com/xcode/download/) or higher. -2. Install [CMake](https://cmake.org/download/). Launch `/Applications/CMake.app/Contents/MacOS/CMake` GUI. Goto "OSX App Menu -> Tools -> Install For Command Line Use" and follow the steps. CMake < 3.6 has [a bug](https://cmake.org/Bug/view.php?id=16064) that can make `--install` fail. Do `sudo mkdir /usr/local/bin` to work around. -3. Install OpenSSL. Build tools have a dependency on OpenSSL. You can use [Homebrew](http://brew.sh/) to install it: with Homebrew installed, run `brew install openssl` followed by `ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/`, followed by `ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/`. -4. Install ICU (International Components for Unicode). It can be obtained via [Homebrew](http://brew.sh/): run `brew install icu4c` followed by `brew link --force icu4c` +2. Install [CMake](https://cmake.org/download/) 3.8.0 or later. Launch `/Applications/CMake.app/Contents/MacOS/CMake` GUI. Goto "OSX App Menu -> Tools -> Install For Command Line Use" and follow the steps. # Bash on Ubuntu on Windows (Windows 10 Creators Update or later) |