Bug 1430030 - Enable parallelism when building wine, upx and fxc2. r=ted
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 12 Jan 2018 17:51:00 +0900
changeset 453317 767217abfb609e8728d4013c08a32c371a7b3326
parent 453316 22130a72837bef78e4f29ef856f5c163a738fae5
child 453318 538460b6e1fd0126d2ba85ecc01609c1a728d324
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1430030
milestone59.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 1430030 - Enable parallelism when building wine, upx and fxc2. r=ted
taskcluster/scripts/misc/build-mingw32-fxc2.sh
taskcluster/scripts/misc/build-upx.sh
taskcluster/scripts/misc/build-wine.sh
--- a/taskcluster/scripts/misc/build-mingw32-fxc2.sh
+++ b/taskcluster/scripts/misc/build-mingw32-fxc2.sh
@@ -15,17 +15,17 @@ export PATH="$TOOLTOOL_DIR/mingw32/bin:$
 
 cd $WORKSPACE
 
 # --------------
 
 git clone -n https://github.com/mozilla/fxc2.git fxc2-clone
 cd fxc2-clone
 git checkout 82527b81104e5e21390d3ddcd328700c67ce73d4 # Asserts integrity of the clone (right?)
-make
+make -j$(nproc)
 
 cp fxc2.exe $INSTALL_DIR/bin/
 cp d3dcompiler_47.dll $INSTALL_DIR/bin/
 cp $TOOLTOOL_DIR/mingw32/i686-w64-mingw32/bin/libwinpthread-1.dll $INSTALL_DIR/bin/
 
 # --------------
 
 cd $WORKSPACE
--- a/taskcluster/scripts/misc/build-upx.sh
+++ b/taskcluster/scripts/misc/build-upx.sh
@@ -12,29 +12,29 @@ cd $WORKSPACE
 
 # --------------
 
 wget http://www.oberhumer.com/opensource/ucl/download/ucl-1.03.tar.gz
 echo "5847003d136fbbca1334dd5de10554c76c755f7c  ucl-1.03.tar.gz" | sha1sum -c -
 tar xf ucl-1.03.tar.gz
 cd ucl-1.03
 ./configure
-make
+make -j$(nproc)
 
 # --------------
 
 cd ..
 git clone -n https://github.com/upx/upx.git upx-clone
 cd upx-clone
 git checkout d31947e1f016e87f24f88b944439bbee892f0429 # Asserts integrity of the clone (right?)
 git submodule update --init --recursive
 export UPX_UCLDIR=$WORKSPACE/ucl-1.03
 cd src
-make
+make -j$(nproc)
 cp upx.out $INSTALL_DIR/bin/upx
 
 # --------------
 
 cd $WORKSPACE
 tar caf upx.tar.xz upx
 
 mkdir -p $UPLOAD_DIR
-cp upx.tar.* $UPLOAD_DIR
\ No newline at end of file
+cp upx.tar.* $UPLOAD_DIR
--- a/taskcluster/scripts/misc/build-wine.sh
+++ b/taskcluster/scripts/misc/build-wine.sh
@@ -70,17 +70,17 @@ mOMR1xJlCiQvAQYsmqwM9FHDmGJYTQE1WbVZu4gZ
 =6vF7
 -----END PGP PUBLIC KEY BLOCK-----
 EOF
 
 download_and_check http://dl.winehq.org/wine/source/2.0/ wine-2.0.1.tar.xz.sign
 tar xaf $TMPDIR/wine-2.0.1.tar.xz
 cd wine-2.0.1
 ./configure --prefix=$INSTALL_DIR/
-make
+make -j$(nproc)
 make install
 
 # --------------
 
 cd $WORKSPACE/
 tar caf wine.tar.xz wine
 
 mkdir -p $UPLOAD_DIR