Backed out changeset ad264a713556 (bug 1490427) for build bustage. CLOSED TREE

This commit is contained in:
Dorel Luca 2018-12-19 13:13:13 +02:00
Родитель a4f3ec9f0b
Коммит 8f660cb8b7
7 изменённых файлов: 11 добавлений и 116 удалений

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

@ -46,9 +46,6 @@ jobs:
packages:
- deb7-cmake
- deb7-ninja
custom-v8:
symbol: I(custom-v8)
parent: debian9-base
debian7-amd64-build-base:
symbol: I(deb7-bb)
parent: debian7-base

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

@ -1,3 +1,11 @@
d8:
description: V8 debug shell
fetch:
type: static-url
url: https://github.com/mozilla/perf-automation/releases/download/d8-6.7.17/d8-6.7.17.zip
sha256: 0aa1c4e630de78373185fc1c0fa34bc87826f63fd4cbb664668891d6f6a6b24e
size: 20578358
octane:
description: Octane benchmark
fetch:

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

@ -14,7 +14,7 @@ job-defaults:
JSSHELL: /home/cltbld/fetches/js
v8:
SHELL: /bin/bash
JSSHELL: /home/cltbld/fetches/d8/release/d8
JSSHELL: /home/cltbld/fetches/d8/d8
max-run-time: 1800
treeherder:
kind: test
@ -30,8 +30,8 @@ job-defaults:
fetches:
build:
- target.jsshell.zip
toolchain:
- linux64-custom-v8
fetch:
- d8
bench-ares6:
description: Ares6 JavaScript shell benchmark suite

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

@ -12,7 +12,6 @@ transforms:
kind-dependencies:
- fetch
- toolchain
jobs-from:
- cram.yml

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

@ -880,24 +880,3 @@ linux64-mingw-fxc2-x86:
toolchain-artifact: public/build/fxc2.tar.xz
toolchains:
- linux64-clang-trunk-mingw-x86
linux64-custom-v8:
description: "Custom v8 build"
treeherder:
kind: build
platform: toolchains/opt
symbol: TL(custom-v8)
tier: 1
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
docker-image: {in-tree: custom-v8}
max-run-time: 3600
run:
using: toolchain-script
script: build-custom-v8.sh
arguments: [
d8.zip,
is_debug=false,
target_cpu="x64"
]
toolchain-artifact: public/build/d8.zip

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

@ -1,27 +0,0 @@
# %ARG DOCKER_IMAGE_PARENT
FROM $DOCKER_IMAGE_PARENT
MAINTAINER Joel Maher <jmaher@mozilla.com>
VOLUME /builds/worker/checkouts
VOLUME /builds/worker/workspace
VOLUME /builds/worker/tooltool-cache
ENV XZ_OPT=-T0
# %ARG DOCKER_IMAGE_PACKAGES
RUN /usr/local/sbin/setup_packages.sh $DOCKER_IMAGE_PACKAGES
RUN apt-get update && \
apt-get install \
bzip2 \
curl \
libbz2-dev \
lsb-core \
sudo \
tar \
unzip \
wget \
zip
RUN adduser worker sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

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

@ -1,61 +0,0 @@
#!/bin/bash
set -x -e -v
# This script is for building a custom version of V8
ARTIFACT_NAME='d8.zip'
CONFIG='is_debug=false target_cpu="x64"'
if [[ $# -eq 0 ]]; then
echo "Using default configuration for v8 build."
CONFIG=$(echo $CONFIG | tr -d "'")
else
# First argument must be the artifact name
ARTIFACT_NAME="$1"
shift
# Use the rest of the arguments as the build config
CONFIG=$(echo $* | tr -d "'")
fi
echo "Config: $CONFIG"
echo "Artifact name: $ARTIFACT_NAME"
WORKSPACE=$HOME/workspace
HOME_DIR=$WORKSPACE/build
UPLOAD_DIR=$HOME/artifacts
cd $HOME_DIR/src
# Setup depot_tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=$PATH:$HOME_DIR/src/depot_tools
gclient
# Get v8 source code
mkdir v8
cd v8
fetch v8
cd v8
# Build dependencies
gclient sync
./build/install-build-deps.sh
# Build v8
git checkout master
git pull && gclient sync
gn gen out/release --args="$CONFIG"
ninja -C out/release d8
# Gather binary and related files into a zip, and upload it
cd ..
mkdir d8
cp -R v8/out/release d8
cp -R v8/include d8
chmod -R +x d8
zip -r $ARTIFACT_NAME d8
mkdir -p $UPLOAD_DIR
cp $ARTIFACT_NAME $UPLOAD_DIR