зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1462498 - Update clang 6 pre to clang 6 final on linux and mac. r=gps
This commit is contained in:
Родитель
729f85aec8
Коммит
03b4a0d6e0
|
@ -1,15 +1,15 @@
|
|||
{
|
||||
"llvm_revision": "317840",
|
||||
"llvm_revision": "326563",
|
||||
"stages": "3",
|
||||
"build_libcxx": true,
|
||||
"build_type": "Release",
|
||||
"assertions": false,
|
||||
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/trunk",
|
||||
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/trunk",
|
||||
"lld_repo": "https://llvm.org/svn/llvm-project/lld/trunk",
|
||||
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/trunk",
|
||||
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/trunk",
|
||||
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/trunk",
|
||||
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_600/final",
|
||||
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_600/final",
|
||||
"lld_repo": "https://llvm.org/svn/llvm-project/lld/tags/RELEASE_600/final",
|
||||
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_600/final",
|
||||
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_600/final",
|
||||
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_600/final",
|
||||
"python_path": "/usr/bin/python2.7",
|
||||
"gcc_dir": "/builds/worker/workspace/build/src/gcc",
|
||||
"cc": "/builds/worker/workspace/build/src/gcc/bin/gcc",
|
|
@ -1,15 +1,15 @@
|
|||
{
|
||||
"llvm_revision": "317840",
|
||||
"llvm_revision": "326563",
|
||||
"stages": "1",
|
||||
"build_libcxx": true,
|
||||
"build_type": "Release",
|
||||
"assertions": false,
|
||||
"osx_cross_compile": true,
|
||||
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/trunk",
|
||||
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/trunk",
|
||||
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/trunk",
|
||||
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/trunk",
|
||||
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/trunk",
|
||||
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_600/final",
|
||||
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_600/final",
|
||||
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_600/final",
|
||||
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_600/final",
|
||||
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_600/final",
|
||||
"python_path": "/usr/bin/python2.7",
|
||||
"gcc_dir": "/builds/worker/workspace/build/src/gcc",
|
||||
"cc": "/builds/worker/workspace/build/src/clang/bin/clang",
|
||||
|
@ -21,7 +21,6 @@
|
|||
"ld": "/builds/worker/workspace/build/src/clang/bin/clang",
|
||||
"patches": [
|
||||
"compiler-rt-cross-compile.patch",
|
||||
"compiler-rt-no-codesign.patch",
|
||||
"r321543.patch"
|
||||
"compiler-rt-no-codesign.patch"
|
||||
]
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
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
|
||||
need-xvfb: true
|
||||
toolchains:
|
||||
- linux64-clang-6-pre
|
||||
- linux64-clang-6
|
||||
- linux64-gcc
|
||||
- linux64-rust
|
||||
- linux64-sccache
|
||||
|
@ -573,7 +573,7 @@ linux64-asan-fuzzing/opt:
|
|||
tooltool-downloads: public
|
||||
need-xvfb: true
|
||||
toolchains:
|
||||
- linux64-clang-6-pre
|
||||
- linux64-clang-6
|
||||
- linux64-gcc
|
||||
- linux64-rust
|
||||
- linux64-sccache
|
||||
|
@ -607,7 +607,7 @@ linux64-asan-reporter-nightly/opt:
|
|||
tooltool-downloads: public
|
||||
need-xvfb: true
|
||||
toolchains:
|
||||
- linux64-clang-6-pre
|
||||
- linux64-clang-6
|
||||
- linux64-gcc
|
||||
- linux64-rust
|
||||
- linux64-sccache
|
||||
|
@ -637,7 +637,7 @@ linux64-asan/debug:
|
|||
tooltool-downloads: public
|
||||
need-xvfb: true
|
||||
toolchains:
|
||||
- linux64-clang-6-pre
|
||||
- linux64-clang-6
|
||||
- linux64-gcc
|
||||
- linux64-rust
|
||||
- linux64-sccache
|
||||
|
@ -668,7 +668,7 @@ linux64-lto/opt:
|
|||
tooltool-downloads: public
|
||||
need-xvfb: true
|
||||
toolchains:
|
||||
- linux64-clang-6-pre
|
||||
- linux64-clang-6
|
||||
- linux64-gcc
|
||||
- linux64-rust
|
||||
- linux64-sccache
|
||||
|
@ -699,7 +699,7 @@ linux64-lto/debug:
|
|||
tooltool-downloads: public
|
||||
need-xvfb: true
|
||||
toolchains:
|
||||
- linux64-clang-6-pre
|
||||
- linux64-clang-6
|
||||
- linux64-gcc
|
||||
- linux64-rust
|
||||
- linux64-sccache
|
||||
|
|
|
@ -89,7 +89,7 @@ macosx64-asan-fuzzing/opt:
|
|||
tooltool-downloads: internal
|
||||
toolchains:
|
||||
- linux64-cctools-port
|
||||
- linux64-clang-6-pre-macosx-cross
|
||||
- linux64-clang-6-macosx-cross
|
||||
- linux64-hfsplus
|
||||
- linux64-libdmg
|
||||
- linux64-llvm-dsymutil
|
||||
|
@ -305,7 +305,7 @@ macosx64-ccov/debug:
|
|||
run-on-projects: ['try']
|
||||
toolchains:
|
||||
- linux64-cctools-port
|
||||
- linux64-clang-6-pre-macosx-cross
|
||||
- linux64-clang-6-macosx-cross
|
||||
- linux64-hfsplus
|
||||
- linux64-libdmg
|
||||
- linux64-llvm-dsymutil
|
||||
|
|
|
@ -169,6 +169,6 @@ sm-fuzzing-linux64/opt:
|
|||
run:
|
||||
spidermonkey-variant: fuzzing
|
||||
toolchains:
|
||||
- linux64-clang-6-pre
|
||||
- linux64-clang-6
|
||||
- linux64-gcc
|
||||
- linux64-rust
|
||||
|
|
|
@ -70,33 +70,33 @@ linux64-clang-5:
|
|||
toolchains:
|
||||
- linux64-gcc-4.9
|
||||
|
||||
linux64-clang-6-pre:
|
||||
description: "Clang 6 Pre toolchain build"
|
||||
linux64-clang-6:
|
||||
description: "Clang 6 toolchain build"
|
||||
treeherder:
|
||||
kind: build
|
||||
platform: toolchains/opt
|
||||
symbol: TL(clang6p)
|
||||
symbol: TL(clang6)
|
||||
tier: 1
|
||||
worker-type: aws-provisioner-v1/gecko-{level}-b-linux-xlarge
|
||||
worker:
|
||||
max-run-time: 7200
|
||||
run:
|
||||
using: toolchain-script
|
||||
script: build-clang-6-pre-linux.sh
|
||||
script: build-clang-6-linux.sh
|
||||
resources:
|
||||
- 'build/build-clang/build-clang.py'
|
||||
- 'build/build-clang/clang-6-pre-linux64.json'
|
||||
- 'build/build-clang/clang-6-linux64.json'
|
||||
- 'taskcluster/scripts/misc/tooltool-download.sh'
|
||||
toolchain-artifact: public/build/clang.tar.xz
|
||||
toolchains:
|
||||
- linux64-gcc-4.9
|
||||
|
||||
linux64-clang-6-pre-macosx-cross:
|
||||
description: "Clang 6 Pre toolchain build with MacOS Compiler RT libs"
|
||||
linux64-clang-6-macosx-cross:
|
||||
description: "Clang 6 toolchain build with MacOS Compiler RT libs"
|
||||
treeherder:
|
||||
kind: build
|
||||
platform: toolchains/opt
|
||||
symbol: TL(clang6p-macosx-cross)
|
||||
symbol: TL(clang6-macosx-cross)
|
||||
tier: 1
|
||||
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
|
||||
worker:
|
||||
|
@ -105,16 +105,16 @@ linux64-clang-6-pre-macosx-cross:
|
|||
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-clang.manifest"
|
||||
run:
|
||||
using: toolchain-script
|
||||
script: build-clang-6-pre-linux-macosx-cross.sh
|
||||
script: build-clang-6-linux-macosx-cross.sh
|
||||
resources:
|
||||
- 'build/build-clang/build-clang.py'
|
||||
- 'build/build-clang/clang-6-pre-macosx64.json'
|
||||
- 'build/build-clang/clang-6-macosx64.json'
|
||||
- 'taskcluster/scripts/misc/tooltool-download.sh'
|
||||
toolchain-artifact: public/build/clang.tar.xz
|
||||
tooltool-downloads: internal
|
||||
toolchains:
|
||||
- linux64-cctools-port
|
||||
- linux64-clang-6-pre
|
||||
- linux64-clang-6
|
||||
- linux64-gcc-4.9
|
||||
|
||||
linux64-clang-tidy:
|
||||
|
|
|
@ -25,7 +25,7 @@ set +x
|
|||
|
||||
cd build/build-clang
|
||||
# |mach python| sets up a virtualenv for us!
|
||||
../../mach python ./build-clang.py -c clang-6-pre-macosx64.json --skip-tar
|
||||
../../mach python ./build-clang.py -c clang-6-macosx64.json --skip-tar
|
||||
|
||||
# We now have a native macosx64 toolchain.
|
||||
# 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
|
||||
# |mach python| sets up a virtualenv for us!
|
||||
../../mach python ./build-clang.py -c clang-6-pre-linux64.json
|
||||
../../mach python ./build-clang.py -c clang-6-linux64.json
|
||||
|
||||
set -x
|
||||
|
Загрузка…
Ссылка в новой задаче