Bug 793317 - Only enable the x86,x86_64 and arm targets. r=rail.
authorRafael Ávila de Espíndola <respindola@mozilla.org>
Mon, 01 Oct 2012 09:11:16 -0400
changeset 108751 4a83e0291d581cc077b9296fc6cbcf72323737d6
parent 108750 94526a90222e6c46c25723cda44d04625e8c4c2e
child 108752 447a46c78baca49cc51686aa6b2cffe2b5e2d441
push id15663
push userrespindola@mozilla.com
push dateMon, 01 Oct 2012 13:12:04 +0000
treeherdermozilla-inbound@4a83e0291d58 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrail
bugs793317
milestone18.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 793317 - Only enable the x86,x86_64 and arm targets. r=rail.
build/unix/build-clang/build-clang.py
--- a/build/unix/build-clang/build-clang.py
+++ b/build/unix/build-clang/build-clang.py
@@ -102,16 +102,17 @@ isDarwin = platform.system() == "Darwin"
 
 def build_one_stage_aux(stage_dir, is_stage_one):
     os.mkdir(stage_dir)
 
     build_dir = stage_dir + "/build"
     inst_dir = stage_dir + "/clang"
 
     configure_opts = ["--enable-optimized",
+                      "--enable-targets=x86,x86_64,arm",
                       "--disable-assertions",
                       "--prefix=%s" % inst_dir,
                       "--with-gcc-toolchain=/tools/gcc-4.5-0moz3"]
     if is_stage_one and not isDarwin:
         configure_opts.append("--with-optimize-option=-O0")
 
     build_package(llvm_source_dir, build_dir, configure_opts)