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/ TMPDIR=/tmp/
fi fi
# Install clang first
yum install -y clang
# Set an md5 check file to validate input # Set an md5 check file to validate input
echo "${md5sum} *${TMPDIR}/${filename}" > $TMPDIR/hfsplus.MD5 echo "${md5sum} *${TMPDIR}/${filename}" > $TMPDIR/hfsplus.MD5
# Most-upstream is https://opensource.apple.com/source/diskdev_cmds/ # 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 wget -c -P $TMPDIR http://pkgs.fedoraproject.org/repo/pkgs/hfsplus-tools/${filename}/${md5sum}/${filename} || exit 1
md5sum -c $TMPDIR/hfsplus.MD5 || exit 1 md5sum -c $TMPDIR/hfsplus.MD5 || exit 1
mkdir hfsplus-source mkdir hfsplus-source

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

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

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

@ -9,6 +9,11 @@ UPLOAD_DIR=$WORKSPACE/artifacts
cd $HOME_DIR/src 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 build/unix/build-hfsplus/build-hfsplus.sh $HOME_DIR
# Put a tarball in the artifacts dir # Put a tarball in the artifacts dir