Bug 1338016 - Use clang from tooltool to build hfsplus. r=mshal

--HG--
extra : rebase_source : 0c4aaad8bc04fe9ab4160e877cd4e09b3128bf94
This commit is contained in:
Mike Hommey 2017-02-09 11:37:28 +09:00
Родитель b0a01bff98
Коммит 8e89cfc337
3 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -17,15 +17,12 @@ if test -z $TMPDIR; then
TMPDIR=/tmp/
fi
# Install clang first
yum install -y clang
# Set an md5 check file to validate input
echo "${md5sum} *${TMPDIR}/${filename}" > $TMPDIR/hfsplus.MD5
# Most-upstream is https://opensource.apple.com/source/diskdev_cmds/
# Download the source of the specified version of binutils
# Download the source of the specified version of hfsplus
wget -c -P $TMPDIR http://pkgs.fedoraproject.org/repo/pkgs/hfsplus-tools/${filename}/${md5sum}/${filename} || exit 1
md5sum -c $TMPDIR/hfsplus.MD5 || exit 1
mkdir hfsplus-source

Просмотреть файл

@ -113,7 +113,7 @@ linux64-cctools-port/opt:
- 'taskcluster/taskgraph/transforms/job/toolchain.py'
linux64-hfsplus/opt:
description: "hfplus toolchain build"
description: "hfsplus toolchain build"
treeherder:
kind: build
platform: linux64/opt
@ -122,6 +122,7 @@ linux64-hfsplus/opt:
run:
using: toolchain-script
script: build-hfsplus-linux.sh
tooltool-downloads: public
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
implementation: docker-worker

Просмотреть файл

@ -9,6 +9,11 @@ UPLOAD_DIR=$WORKSPACE/artifacts
cd $HOME_DIR/src
TOOLTOOL_MANIFEST=browser/config/tooltool-manifests/linux64/clang.manifest
. taskcluster/scripts/misc/tooltool-download.sh
export PATH=$PATH:$HOME_DIR/src/clang/bin
build/unix/build-hfsplus/build-hfsplus.sh $HOME_DIR
# Put a tarball in the artifacts dir