Commit 83630c9e authored by Reid Kleckner's avatar Reid Kleckner Committed by Commit Bot

Revert "Roll clang 346388-1:346388-3"

This reverts commit 29a3a80a.

Reason for revert:
We still need to package asan for i686-android: https://crbug.com/906246

Original change's description:
> Roll clang 346388-1:346388-3
> 
> This picks up package.py changes #607265 and #608413. It does not change
> the version of clang.
> 
> It also includes a crazy workaround for msys binaries (in our case
> find.exe and mv.exe, used by lit tests) crashing during some unknown
> chrome infra problem (see last bug).
> 
> Bug: 870331, 905289
> Change-Id: Ic1d9fa64d6fcd4b590139c9343bed5bbe4d3faa3
> Reviewed-on: https://chromium-review.googlesource.com/c/1337614
> Commit-Queue: Hans Wennborg <hans@chromium.org>
> Reviewed-by: Max Moroz <mmoroz@chromium.org>
> Reviewed-by: Reid Kleckner <rnk@chromium.org>
> Reviewed-by: Nico Weber <thakis@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#608776}

TBR=thakis@chromium.org,hans@chromium.org,rnk@chromium.org,mmoroz@chromium.org

Change-Id: I225d64bd4e166c0150d63cfa7ab0bad7e0dd92f7
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 870331, 905289, 906246
Reviewed-on: https://chromium-review.googlesource.com/c/1340836Reviewed-by: default avatarReid Kleckner <rnk@chromium.org>
Commit-Queue: Reid Kleckner <rnk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609028}
parent c2976ff8
...@@ -281,10 +281,6 @@ def main(): ...@@ -281,10 +281,6 @@ def main():
'lib/clang/*/lib/linux/libclang_rt.asan_cxx-x86_64.a', 'lib/clang/*/lib/linux/libclang_rt.asan_cxx-x86_64.a',
'lib/clang/*/lib/linux/libclang_rt.asan_cxx-x86_64.a.syms', 'lib/clang/*/lib/linux/libclang_rt.asan_cxx-x86_64.a.syms',
# AddressSanitizer Android runtime.
'lib/clang/*/lib/linux/libclang_rt.asan-aarch64-android.so',
'lib/clang/*/lib/linux/libclang_rt.asan-arm-android.so',
# Fuzzing instrumentation (-fsanitize=fuzzer-no-link). # Fuzzing instrumentation (-fsanitize=fuzzer-no-link).
'lib/clang/*/lib/linux/libclang_rt.fuzzer_no_main-x86_64.a', 'lib/clang/*/lib/linux/libclang_rt.fuzzer_no_main-x86_64.a',
...@@ -299,8 +295,6 @@ def main(): ...@@ -299,8 +295,6 @@ def main():
# Profile runtime (used by profiler and code coverage). # Profile runtime (used by profiler and code coverage).
'lib/clang/*/lib/linux/libclang_rt.profile-i386.a', 'lib/clang/*/lib/linux/libclang_rt.profile-i386.a',
'lib/clang/*/lib/linux/libclang_rt.profile-x86_64.a', 'lib/clang/*/lib/linux/libclang_rt.profile-x86_64.a',
'lib/clang/*/lib/linux/libclang_rt.profile-aarch64-android.a',
'lib/clang/*/lib/linux/libclang_rt.profile-arm-android.a',
# ThreadSanitizer C runtime (pure C won't link with *_cxx). # ThreadSanitizer C runtime (pure C won't link with *_cxx).
'lib/clang/*/lib/linux/libclang_rt.tsan-x86_64.a', 'lib/clang/*/lib/linux/libclang_rt.tsan-x86_64.a',
......
...@@ -35,7 +35,7 @@ if use_head_revision: ...@@ -35,7 +35,7 @@ if use_head_revision:
CLANG_REVISION = 'HEAD' CLANG_REVISION = 'HEAD'
# This is incremented when pushing a new build of Clang at the same revision. # This is incremented when pushing a new build of Clang at the same revision.
CLANG_SUB_REVISION=3 CLANG_SUB_REVISION=1
PACKAGE_VERSION = "%s-%s" % (CLANG_REVISION, CLANG_SUB_REVISION) PACKAGE_VERSION = "%s-%s" % (CLANG_REVISION, CLANG_SUB_REVISION)
...@@ -358,17 +358,6 @@ def AddGnuWinToPath(): ...@@ -358,17 +358,6 @@ def AddGnuWinToPath():
os.environ['PATH'] = gnuwin_dir + os.pathsep + os.environ.get('PATH', '') os.environ['PATH'] = gnuwin_dir + os.pathsep + os.environ.get('PATH', '')
# find.exe, mv.exe and rm.exe are from MSYS (see crrev.com/389632). MSYS uses
# Cygwin under the hood, and initializing Cygwin has a race-condition when
# getting group and user data from the Active Directory is slow. To work
# around this, use a horrible hack telling it not to do that.
# See https://crbug.com/905289
etc = os.path.join(gnuwin_dir, '..', '..', 'etc')
EnsureDirExists(etc)
with open(os.path.join(etc, 'nsswitch.conf'), 'w') as f:
f.write('passwd: files\n')
f.write('group: files\n')
win_sdk_dir = None win_sdk_dir = None
dia_dll = None dia_dll = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment