Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
# Install the ninja package (this example works on Ubuntu)
sudo apt-get install ninja-build

# Instead of ./bin/make_impala.sh ...:
./bin/make_impala.sh ... -ninja

# Instead of ./buildall.sh ...:
./buildall.sh ... -ninja

# Instead of make -j ${IMPALA_BUILD_THREADS} <targets>:
ninja -j ${IMPALA_BUILD_THREADS} <targets>

Gold Linker - speeds up linking of test executables

Update: this is now the default.

Add this to your .bashrc:

Code Block
languagebash
export USE_GOLD_LINKER=true

Using distcc

The instructions for using distcc are in bin/distcc/README.md