From 198489438ffdb3d95b45af1268f412c59d0c1b14 Mon Sep 17 00:00:00 2001 From: Ted Fujimoto Date: Tue, 25 Nov 2014 21:42:13 -0500 Subject: [PATCH] Added OS X OpenMP instructions --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 7dfe6293b..46ccc9f94 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,18 @@ Build - Alternatively, you can upgrade your compiler to compile multi-thread version * Windows(VS 2010): see [windows](windows) folder - In principle, you put all the cpp files in the Makefile to the project, and build +* OS X: + - For users who want OpenMP support using [Homebrew](http://brew.sh/), run ```brew update``` (ensures that you install gcc-4.9 or above) and ```brew install gcc```. Once it is installed, edit [Makefile](Makefile/) and [tools/Makefile](tools/Makefile) by replacing: + ``` + export CC = gcc + export CXX = g++ + ``` + with + ``` + export CC = gcc-4.9 + export CXX = g++-4.9 + ``` + Then run ```bash build.sh``` normally. Version ======