Backed out 2 changesets (bug 1462498) for build bustages on unit-symbolstore.py. CLOSED TREE

Backed out changeset 213ee9ed734c (bug 1462498)
Backed out changeset 556f097431e3 (bug 1462498)
This commit is contained in:
Cosmin Sabou 2018-06-07 11:16:01 +03:00
Родитель 418cdb8d25
Коммит 28d7e29493
9 изменённых файлов: 70 добавлений и 36 удалений

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

@ -1,15 +1,15 @@
{ {
"llvm_revision": "326563", "llvm_revision": "317840",
"stages": "3", "stages": "3",
"build_libcxx": true, "build_libcxx": true,
"build_type": "Release", "build_type": "Release",
"assertions": false, "assertions": false,
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_600/final", "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/trunk",
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_600/final", "clang_repo": "https://llvm.org/svn/llvm-project/cfe/trunk",
"lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_600/final", "lld_repo": "https://llvm.org/svn/llvm-project/lld/trunk",
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_600/final", "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/trunk",
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_600/final", "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/trunk",
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_600/final", "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/trunk",
"python_path": "/usr/bin/python2.7", "python_path": "/usr/bin/python2.7",
"gcc_dir": "/builds/worker/workspace/build/src/gcc", "gcc_dir": "/builds/worker/workspace/build/src/gcc",
"cc": "/builds/worker/workspace/build/src/gcc/bin/gcc", "cc": "/builds/worker/workspace/build/src/gcc/bin/gcc",

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

@ -1,15 +1,15 @@
{ {
"llvm_revision": "326563", "llvm_revision": "317840",
"stages": "1", "stages": "1",
"build_libcxx": true, "build_libcxx": true,
"build_type": "Release", "build_type": "Release",
"assertions": false, "assertions": false,
"osx_cross_compile": true, "osx_cross_compile": true,
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_600/final", "llvm_repo": "https://llvm.org/svn/llvm-project/llvm/trunk",
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_600/final", "clang_repo": "https://llvm.org/svn/llvm-project/cfe/trunk",
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_600/final", "compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/trunk",
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_600/final", "libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/trunk",
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_600/final", "libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/trunk",
"python_path": "/usr/bin/python2.7", "python_path": "/usr/bin/python2.7",
"gcc_dir": "/builds/worker/workspace/build/src/gcc", "gcc_dir": "/builds/worker/workspace/build/src/gcc",
"cc": "/builds/worker/workspace/build/src/clang/bin/clang", "cc": "/builds/worker/workspace/build/src/clang/bin/clang",
@ -21,6 +21,7 @@
"ld": "/builds/worker/workspace/build/src/clang/bin/clang", "ld": "/builds/worker/workspace/build/src/clang/bin/clang",
"patches": [ "patches": [
"compiler-rt-cross-compile.patch", "compiler-rt-cross-compile.patch",
"compiler-rt-no-codesign.patch" "compiler-rt-no-codesign.patch",
"r321543.patch"
] ]
} }

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

@ -0,0 +1,33 @@
From: Yi Kong <yikong@google.com>
Date: Thu, 28 Dec 2017 23:06:24 +0000
Subject: [PATCH] Ignore the DISPATCH_NOESCAPE if not defined
This macro is only defined after XCode 8, causing build breakage for
build systems with prior versions. Ignore DISPATCH_NOESCAPE if not
defined.
Differential Revision: https://reviews.llvm.org/D41601
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@321543 91177308-0d34-0410-b5e6-96231b3b80d8
---
lib/tsan/rtl/tsan_libdispatch_mac.cc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/tsan/rtl/tsan_libdispatch_mac.cc b/lib/tsan/rtl/tsan_libdispatch_mac.cc
index eb22e4baa..d6c1ca662 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_libdispatch_mac.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_libdispatch_mac.cc
@@ -25,6 +25,11 @@
#include <dispatch/dispatch.h>
#include <pthread.h>
+// DISPATCH_NOESCAPE is not defined prior to XCode 8.
+#ifndef DISPATCH_NOESCAPE
+#define DISPATCH_NOESCAPE
+#endif
+
typedef long long_t; // NOLINT
namespace __tsan {

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

@ -542,7 +542,7 @@ linux64-asan/opt:
tooltool-downloads: public tooltool-downloads: public
need-xvfb: true need-xvfb: true
toolchains: toolchains:
- linux64-clang-6 - linux64-clang-6-pre
- linux64-gcc - linux64-gcc
- linux64-rust - linux64-rust
- linux64-sccache - linux64-sccache
@ -573,7 +573,7 @@ linux64-asan-fuzzing/opt:
tooltool-downloads: public tooltool-downloads: public
need-xvfb: true need-xvfb: true
toolchains: toolchains:
- linux64-clang-6 - linux64-clang-6-pre
- linux64-gcc - linux64-gcc
- linux64-rust - linux64-rust
- linux64-sccache - linux64-sccache
@ -607,7 +607,7 @@ linux64-asan-reporter-nightly/opt:
tooltool-downloads: public tooltool-downloads: public
need-xvfb: true need-xvfb: true
toolchains: toolchains:
- linux64-clang-6 - linux64-clang-6-pre
- linux64-gcc - linux64-gcc
- linux64-rust - linux64-rust
- linux64-sccache - linux64-sccache
@ -637,7 +637,7 @@ linux64-asan/debug:
tooltool-downloads: public tooltool-downloads: public
need-xvfb: true need-xvfb: true
toolchains: toolchains:
- linux64-clang-6 - linux64-clang-6-pre
- linux64-gcc - linux64-gcc
- linux64-rust - linux64-rust
- linux64-sccache - linux64-sccache
@ -668,7 +668,7 @@ linux64-lto/opt:
tooltool-downloads: public tooltool-downloads: public
need-xvfb: true need-xvfb: true
toolchains: toolchains:
- linux64-clang-6 - linux64-clang-6-pre
- linux64-gcc - linux64-gcc
- linux64-rust - linux64-rust
- linux64-sccache - linux64-sccache
@ -699,7 +699,7 @@ linux64-lto/debug:
tooltool-downloads: public tooltool-downloads: public
need-xvfb: true need-xvfb: true
toolchains: toolchains:
- linux64-clang-6 - linux64-clang-6-pre
- linux64-gcc - linux64-gcc
- linux64-rust - linux64-rust
- linux64-sccache - linux64-sccache

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

@ -89,7 +89,7 @@ macosx64-asan-fuzzing/opt:
tooltool-downloads: internal tooltool-downloads: internal
toolchains: toolchains:
- linux64-cctools-port - linux64-cctools-port
- linux64-clang-6-macosx-cross - linux64-clang-6-pre-macosx-cross
- linux64-hfsplus - linux64-hfsplus
- linux64-libdmg - linux64-libdmg
- linux64-llvm-dsymutil - linux64-llvm-dsymutil
@ -305,7 +305,7 @@ macosx64-ccov/debug:
run-on-projects: ['try'] run-on-projects: ['try']
toolchains: toolchains:
- linux64-cctools-port - linux64-cctools-port
- linux64-clang-6-macosx-cross - linux64-clang-6-pre-macosx-cross
- linux64-hfsplus - linux64-hfsplus
- linux64-libdmg - linux64-libdmg
- linux64-llvm-dsymutil - linux64-llvm-dsymutil

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

@ -169,6 +169,6 @@ sm-fuzzing-linux64/opt:
run: run:
spidermonkey-variant: fuzzing spidermonkey-variant: fuzzing
toolchains: toolchains:
- linux64-clang-6 - linux64-clang-6-pre
- linux64-gcc - linux64-gcc
- linux64-rust - linux64-rust

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

@ -70,33 +70,33 @@ linux64-clang-5:
toolchains: toolchains:
- linux64-gcc-4.9 - linux64-gcc-4.9
linux64-clang-6: linux64-clang-6-pre:
description: "Clang 6 toolchain build" description: "Clang 6 Pre toolchain build"
treeherder: treeherder:
kind: build kind: build
platform: toolchains/opt platform: toolchains/opt
symbol: TL(clang6) symbol: TL(clang6p)
tier: 1 tier: 1
worker-type: aws-provisioner-v1/gecko-{level}-b-linux-xlarge worker-type: aws-provisioner-v1/gecko-{level}-b-linux-xlarge
worker: worker:
max-run-time: 7200 max-run-time: 7200
run: run:
using: toolchain-script using: toolchain-script
script: build-clang-6-linux.sh script: build-clang-6-pre-linux.sh
resources: resources:
- 'build/build-clang/build-clang.py' - 'build/build-clang/build-clang.py'
- 'build/build-clang/clang-6-linux64.json' - 'build/build-clang/clang-6-pre-linux64.json'
- 'taskcluster/scripts/misc/tooltool-download.sh' - 'taskcluster/scripts/misc/tooltool-download.sh'
toolchain-artifact: public/build/clang.tar.xz toolchain-artifact: public/build/clang.tar.xz
toolchains: toolchains:
- linux64-gcc-4.9 - linux64-gcc-4.9
linux64-clang-6-macosx-cross: linux64-clang-6-pre-macosx-cross:
description: "Clang 6 toolchain build with MacOS Compiler RT libs" description: "Clang 6 Pre toolchain build with MacOS Compiler RT libs"
treeherder: treeherder:
kind: build kind: build
platform: toolchains/opt platform: toolchains/opt
symbol: TL(clang6-macosx-cross) symbol: TL(clang6p-macosx-cross)
tier: 1 tier: 1
worker-type: aws-provisioner-v1/gecko-{level}-b-linux worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker: worker:
@ -105,16 +105,16 @@ linux64-clang-6-macosx-cross:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-clang.manifest" TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-clang.manifest"
run: run:
using: toolchain-script using: toolchain-script
script: build-clang-6-linux-macosx-cross.sh script: build-clang-6-pre-linux-macosx-cross.sh
resources: resources:
- 'build/build-clang/build-clang.py' - 'build/build-clang/build-clang.py'
- 'build/build-clang/clang-6-macosx64.json' - 'build/build-clang/clang-6-pre-macosx64.json'
- 'taskcluster/scripts/misc/tooltool-download.sh' - 'taskcluster/scripts/misc/tooltool-download.sh'
toolchain-artifact: public/build/clang.tar.xz toolchain-artifact: public/build/clang.tar.xz
tooltool-downloads: internal tooltool-downloads: internal
toolchains: toolchains:
- linux64-cctools-port - linux64-cctools-port
- linux64-clang-6 - linux64-clang-6-pre
- linux64-gcc-4.9 - linux64-gcc-4.9
linux64-clang-tidy: linux64-clang-tidy:

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

@ -25,7 +25,7 @@ set +x
cd build/build-clang cd build/build-clang
# |mach python| sets up a virtualenv for us! # |mach python| sets up a virtualenv for us!
../../mach python ./build-clang.py -c clang-6-macosx64.json --skip-tar ../../mach python ./build-clang.py -c clang-6-pre-macosx64.json --skip-tar
# We now have a native macosx64 toolchain. # We now have a native macosx64 toolchain.
# What we want is a native linux64 toolchain which can target macosx64 and use the sanitizer dylibs. # What we want is a native linux64 toolchain which can target macosx64 and use the sanitizer dylibs.

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

@ -16,7 +16,7 @@ set +x
cd build/build-clang cd build/build-clang
# |mach python| sets up a virtualenv for us! # |mach python| sets up a virtualenv for us!
../../mach python ./build-clang.py -c clang-6-linux64.json ../../mach python ./build-clang.py -c clang-6-pre-linux64.json
set -x set -x