Added OS X OpenMP instructions
This commit is contained in:
parent
c356a0acc2
commit
198489438f
12
README.md
12
README.md
@ -43,6 +43,18 @@ Build
|
|||||||
- Alternatively, you can upgrade your compiler to compile multi-thread version
|
- Alternatively, you can upgrade your compiler to compile multi-thread version
|
||||||
* Windows(VS 2010): see [windows](windows) folder
|
* Windows(VS 2010): see [windows](windows) folder
|
||||||
- In principle, you put all the cpp files in the Makefile to the project, and build
|
- 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
|
Version
|
||||||
======
|
======
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user