User:Ehsan/How to build-clang: Difference between revisions
Jump to navigation
Jump to search
(Created page with "This explains how to build clang on a pristine desktop-build image: <pre> mkdir -p /home/worker/workspace/build cd /home/worker/workspace/build git clone https://github.com/m...") |
No edit summary |
||
Line 11: | Line 11: | ||
vi build-clang.py # Change the centOS6 global variable to true | vi build-clang.py # Change the centOS6 global variable to true | ||
./build-clang.py -c clang-trunk.json | ./build-clang.py -c clang-trunk.json | ||
</pre> | |||
After the refactorings, the following new tools are needed: | |||
<pre> | |||
git clone git://github.com/martine/ninja.git && cd ninja | |||
git checkout release | |||
./configure.py --bootstrap | |||
cp ninja /usr/local/bin/ninja | |||
cp ninja /usr/local/bin/ninja-build | |||
</pre> | </pre> |
Revision as of 13:45, 30 September 2015
This explains how to build clang on a pristine desktop-build image:
mkdir -p /home/worker/workspace/build cd /home/worker/workspace/build git clone https://github.com/mozilla/gecko-dev.git src git clone https://github.com/mozilla/build-tooltool.git cd src ../build-tooltool/tooltool.py -m browser/config/tooltool-manifests/linux64/releng.manifest fetch cd build/unix/build-clang vi build-clang.py # Change the centOS6 global variable to true ./build-clang.py -c clang-trunk.json
After the refactorings, the following new tools are needed:
git clone git://github.com/martine/ninja.git && cd ninja git checkout release ./configure.py --bootstrap cp ninja /usr/local/bin/ninja cp ninja /usr/local/bin/ninja-build