forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D24229 --HG-- extra : moz-landing-system : lando
- Loading branch information
Showing
8 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
set -x -e -v | ||
|
||
# This script is for building mar and mbsdiff | ||
|
||
WORKSPACE=$HOME/workspace | ||
UPLOAD_DIR=$HOME/artifacts | ||
COMPRESS_EXT=xz | ||
|
||
cd $WORKSPACE/build/src | ||
|
||
. taskcluster/scripts/misc/tooltool-download.sh | ||
|
||
export MOZ_OBJDIR=obj-mar | ||
|
||
echo ac_add_options --enable-project=tools/update-packaging > .mozconfig | ||
|
||
TOOLCHAINS="binutils clang" | ||
|
||
for t in $TOOLCHAINS; do | ||
PATH="$WORKSPACE/build/src/$t/bin:$PATH" | ||
done | ||
|
||
./mach build -v | ||
|
||
mkdir mar-tools | ||
cp $MOZ_OBJDIR/dist/host/bin/{mar,mbsdiff} mar-tools/ | ||
|
||
tar -acf mar-tools.tar.$COMPRESS_EXT mar-tools/ | ||
mkdir -p $UPLOAD_DIR | ||
cp mar-tools.tar.$COMPRESS_EXT $UPLOAD_DIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
DIRS += [ | ||
'/modules/libmar/src', | ||
'/modules/libmar/tool', | ||
'/other-licenses/bsdiff', | ||
] |
Empty file.