Update build instructions for macOS

This commit is contained in:
Aurora 2017-08-08 18:20:41 +02:00 committed by Ivan
parent 2fcd38c2bc
commit e9b020beaa

View File

@ -38,7 +38,7 @@ If you want to contribute please take a look at the [Coding Style](https://githu
### Mac OSX ### Mac OSX
Mac OSX is not supported at this moment because it doesn't meet system requirements (OpenGL 4.3) Mac OSX is not supported at this moment because it doesn't meet system requirements (OpenGL 4.3)
* Xcode 6+ (tested with Xcode 6.4) * Xcode 6+ (tested with Xcode 6.4)
* Install with Homebrew: `brew install glew` * Install with Homebrew: `brew install glew llvm qt cmake`
## Building on Windows: ## Building on Windows:
@ -66,7 +66,10 @@ To initialize the repository don't forget to execute `git submodule update --ini
4) `cmake CMakeLists.txt && make GitVersion && make` </br> 4) `cmake CMakeLists.txt && make GitVersion && make` </br>
5) Run RPCS3 with `./bin/rpcs3` </br> 5) Run RPCS3 with `./bin/rpcs3` </br>
If you are on OSX and want to build with llvm don't forget to add `-DLLVM_DIR=...` (or wherever llvm brew was installed) to cmake invocation. If you are on OSX and want to build with brew llvm and qt don't forget to add the following environment variables
* `LLVM_DIR=/usr/local/opt/llvm/` (or wherever llvm was installed).
* `Qt5_DIR=/usr/local/opt/qt/lib/cmake/Qt5` (or wherever qt was installed).
When using GDB, configure it to ignore SIGSEGV signal (`handle SIGSEGV nostop noprint`). When using GDB, configure it to ignore SIGSEGV signal (`handle SIGSEGV nostop noprint`).