-
Notifications
You must be signed in to change notification settings - Fork 142
Building PhASAR with Distcc
Philipp Schubert edited this page Feb 11, 2020
·
1 revision
PhASAR supports distributed compiles using distcc
https://distcc.github.io/.
An exemplary command-line for generating a ninja
build file that supports distcc
builds is shown in the following:
$ mkdir build
$ cd build
$ CC=clang CXX=clang++ cmake -G "Ninja" -DCMAKE_C_COMPILER_LAUNCHER=distcc -DCMAKE_CXX_COMPILER_LAUNCHER=distcc -DPHASAR_BUILD_UNITTESTS=on ..
$ ninja -j200 # or whatever your compile machine is capable of
When using distcc
we highly recommend to use the ninja
https://github.com/ninja-build/ninja build system as it schedules the compile jobs much more effectively.
- Home
- Reference Material
- Getting Started:
- Building PhASAR
- Using PhASAR with Docker
- A few uses of PhASAR
- Coding Conventions
- Contributing to PhASAR
- Errors and bug reporting
- Update to Newer LLVM Versions
- OS Support