Skip to content

Instantly share code, notes, and snippets.

@EricRahm
Created December 30, 2016 21:14
Show Gist options
  • Save EricRahm/23d8f486f7d8bc6369a7d240df7ce572 to your computer and use it in GitHub Desktop.
Save EricRahm/23d8f486f7d8bc6369a7d240df7ce572 to your computer and use it in GitHub Desktop.
Example mozconfigs
ac_add_options --enable-debug
ac_add_options --enable-dmd
# NB: ccache disabled for comparitive build time testing.
#ac_add_options --with-ccache=/usr/bin/ccache
MOZ_MAKE_FLAGS="-j12"
export LD="/usr/bin/gold"
# For gcc-6.3.0
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@-gcc-6.3.0-debug
CC=/home/erahm/dev/tools/gcc-6.3.0-dist/bin/gcc
CXX=/home/erahm/dev/tools/gcc-6.3.0-dist/bin/g++
# For clang-3.9.0
#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@-clang-debug
#export LLVM_HOME="/home/erahm/dev/tools/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04/bin"
#export CC="$LLVM_HOME/clang"
#export CXX="$LLVM_HOME/clang++"
#export LLVM_SYMBOLIZER="$LLVM_HOME/llvm-symbolizer"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment