Bug 1356952 - Move tooltool manifests defined in toolchain build scripts to taskcluster job definitions. r=mshal

The toolchain build scripts are currently defining the tooltool
manifest they use on their own. We move the definitions to the
taskcluster job definitions to normalize on everything using that.

--HG--
extra : rebase_source : cbab2e32d78d711fcb595763d0c2600c7c0c423e
This commit is contained in:
Mike Hommey 2017-06-06 16:33:36 +09:00
Родитель 18dc0c0659
Коммит 098482a936
12 изменённых файлов: 24 добавлений и 11 удалений

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

@ -13,6 +13,8 @@ linux64-clang:
worker: worker:
docker-image: {in-tree: desktop-build} docker-image: {in-tree: desktop-build}
max-run-time: 36000 max-run-time: 36000
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/linux64/releng.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-clang-linux.sh script: build-clang-linux.sh
@ -35,6 +37,8 @@ linux64-clang-tidy:
worker: worker:
docker-image: {in-tree: desktop-build} docker-image: {in-tree: desktop-build}
max-run-time: 36000 max-run-time: 36000
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/linux64/releng.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-clang-tidy-linux.sh script: build-clang-tidy-linux.sh
@ -89,6 +93,8 @@ linux64-cctools-port:
worker: worker:
docker-image: {in-tree: desktop-build} docker-image: {in-tree: desktop-build}
max-run-time: 36000 max-run-time: 36000
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/linux64/clang.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-cctools-port.sh script: build-cctools-port.sh
@ -107,6 +113,8 @@ linux64-hfsplus:
worker: worker:
docker-image: {in-tree: desktop-build} docker-image: {in-tree: desktop-build}
max-run-time: 36000 max-run-time: 36000
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/linux64/clang.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-hfsplus-linux.sh script: build-hfsplus-linux.sh

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

@ -13,6 +13,8 @@ macosx64-clang:
worker: worker:
docker-image: {in-tree: desktop-build} docker-image: {in-tree: desktop-build}
max-run-time: 36000 max-run-time: 36000
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-clang.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-clang-macosx.sh script: build-clang-macosx.sh
@ -35,6 +37,8 @@ macosx64-clang-tidy:
worker: worker:
docker-image: {in-tree: desktop-build} docker-image: {in-tree: desktop-build}
max-run-time: 36000 max-run-time: 36000
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-clang.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-clang-tidy-macosx.sh script: build-clang-tidy-macosx.sh
@ -55,6 +59,8 @@ macosx64-cctools-port:
worker: worker:
docker-image: {in-tree: desktop-build} docker-image: {in-tree: desktop-build}
max-run-time: 36000 max-run-time: 36000
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-clang.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-cctools-port-macosx.sh script: build-cctools-port-macosx.sh

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

@ -12,6 +12,8 @@ win32-clang-cl:
worker-type: aws-provisioner-v1/gecko-{level}-b-win2012 worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
worker: worker:
max-run-time: 36000 max-run-time: 36000
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/build-clang-cl.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-clang32-windows.sh script: build-clang32-windows.sh
@ -29,6 +31,8 @@ win64-clang-cl:
worker-type: aws-provisioner-v1/gecko-{level}-b-win2012 worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
worker: worker:
max-run-time: 36000 max-run-time: 36000
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/build-clang-cl.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-clang64-windows.sh script: build-clang64-windows.sh
@ -49,6 +53,8 @@ win32-clang-tidy:
worker-type: aws-provisioner-v1/gecko-{level}-b-win2012 worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
worker: worker:
max-run-time: 36000 max-run-time: 36000
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/build-clang-cl.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-clang-tidy32-windows.sh script: build-clang-tidy32-windows.sh
@ -69,6 +75,8 @@ win64-clang-tidy:
worker-type: aws-provisioner-v1/gecko-{level}-b-win2012 worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
worker: worker:
max-run-time: 36000 max-run-time: 36000
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/build-clang-cl.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-clang-tidy64-windows.sh script: build-clang-tidy64-windows.sh

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

@ -30,7 +30,6 @@ echo "Building from commit hash `git rev-parse $CROSSTOOL_PORT_REV`..."
# Fetch clang from tooltool # Fetch clang from tooltool
cd $WORKSPACE/build/src cd $WORKSPACE/build/src
TOOLTOOL_MANIFEST=browser/config/tooltool-manifests/macosx64/cross-clang.manifest
. taskcluster/scripts/misc/tooltool-download.sh . taskcluster/scripts/misc/tooltool-download.sh
# Configure crosstools-port # Configure crosstools-port

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

@ -26,7 +26,6 @@ echo "Building from commit hash `git rev-parse $CROSSTOOL_PORT_REV`..."
# Fetch clang from tooltool # Fetch clang from tooltool
cd $WORKSPACE/build/src cd $WORKSPACE/build/src
TOOLTOOL_MANIFEST=browser/config/tooltool-manifests/linux64/clang.manifest
. taskcluster/scripts/misc/tooltool-download.sh . taskcluster/scripts/misc/tooltool-download.sh
# Configure crosstools-port # Configure crosstools-port

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

@ -9,7 +9,6 @@ UPLOAD_DIR=$WORKSPACE/artifacts
cd $HOME_DIR/src cd $HOME_DIR/src
TOOLTOOL_MANIFEST=browser/config/tooltool-manifests/linux64/releng.manifest
. taskcluster/scripts/misc/tooltool-download.sh . taskcluster/scripts/misc/tooltool-download.sh
# gets a bit too verbose here # gets a bit too verbose here

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

@ -8,7 +8,6 @@ UPLOAD_DIR=$WORKSPACE/artifacts
cd $HOME_DIR/src cd $HOME_DIR/src
TOOLTOOL_MANIFEST=browser/config/tooltool-manifests/macosx64/cross-clang.manifest
. taskcluster/scripts/misc/tooltool-download.sh . taskcluster/scripts/misc/tooltool-download.sh
# ld needs libLTO.so from llvm # ld needs libLTO.so from llvm

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

@ -9,7 +9,6 @@ UPLOAD_DIR=$WORKSPACE/artifacts
cd $HOME_DIR/src cd $HOME_DIR/src
TOOLTOOL_MANIFEST=browser/config/tooltool-manifests/linux64/releng.manifest
. taskcluster/scripts/misc/tooltool-download.sh . taskcluster/scripts/misc/tooltool-download.sh
# gets a bit too verbose here # gets a bit too verbose here

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

@ -8,7 +8,6 @@ UPLOAD_DIR=$WORKSPACE/artifacts
cd $HOME_DIR/src cd $HOME_DIR/src
TOOLTOOL_MANIFEST=browser/config/tooltool-manifests/macosx64/cross-clang.manifest
. taskcluster/scripts/misc/tooltool-download.sh . taskcluster/scripts/misc/tooltool-download.sh
# ld needs libLTO.so from llvm # ld needs libLTO.so from llvm

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

@ -13,8 +13,7 @@ if [ ! -e ${TOOLTOOL_AUTH_FILE} ]; then
exit 1 exit 1
fi fi
TOOLTOOL_MANIFEST=build/src/browser/config/tooltool-manifests/win32/build-clang-cl.manifest ./build/src/mach artifact toolchain -v --authentication-file="${TOOLTOOL_AUTH_FILE}" --tooltool-manifest "build/src/${TOOLTOOL_MANIFEST}"${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}}
./build/src/mach artifact toolchain -v --authentication-file="${TOOLTOOL_AUTH_FILE}" --tooltool-manifest "${TOOLTOOL_MANIFEST}"${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}}
# Set up all the Visual Studio paths. # Set up all the Visual Studio paths.
MSVC_DIR=vs2015u3 MSVC_DIR=vs2015u3

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

@ -13,8 +13,7 @@ if [ ! -e ${TOOLTOOL_AUTH_FILE} ]; then
exit 1 exit 1
fi fi
TOOLTOOL_MANIFEST=build/src/browser/config/tooltool-manifests/win32/build-clang-cl.manifest ./build/src/mach artifact toolchain -v --authentication-file="${TOOLTOOL_AUTH_FILE}" --tooltool-manifest "build/src/${TOOLTOOL_MANIFEST}"${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}}
./build/src/mach artifact toolchain -v --authentication-file="${TOOLTOOL_AUTH_FILE}" --tooltool-manifest "${TOOLTOOL_MANIFEST}"${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}}
# Set up all the Visual Studio paths. # Set up all the Visual Studio paths.
MSVC_DIR=vs2015u3 MSVC_DIR=vs2015u3

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

@ -8,7 +8,6 @@ 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 . taskcluster/scripts/misc/tooltool-download.sh
export PATH=$PATH:$HOME_DIR/src/clang/bin export PATH=$PATH:$HOME_DIR/src/clang/bin