Skip to content

Instantly share code, notes, and snippets.

@astleychen
Last active January 5, 2018 02:26
Show Gist options
  • Save astleychen/0fe53394999c18a1a824f98f40682c62 to your computer and use it in GitHub Desktop.
Save astleychen/0fe53394999c18a1a824f98f40682c62 to your computer and use it in GitHub Desktop.
A Firefox build profile that use icecc compiler farm
# Define where build files should go. This places them in the directory
# "obj-ff-dbg" under the current source directory
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-icecc
# -s makes builds quieter by default
# -j4 allows 4 tasks to run in parallel. Set the number to be the amount of
# cores in your machine. 4 is a good number.
mk_add_options MOZ_MAKE_FLAGS="-s -j128"
mk_add_options AUTOCLOBBER=1
# IceCC tool chain wrapper
CC=~/Mozilla/build/icecc-osx/cc
CXX=~/Mozilla/build/icecc-osx/c++
# Enable ccache
#ac_add_options --with-ccache
# Enable debug builds
ac_add_options --enable-debug
# Disable optimization
ac_add_options --disable-optimize
# Default application to be built
ac_add_options --enable-application=browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment