[all-commits] [llvm/llvm-project] c0fc38: Try to fix cl-options.c on bots were the default t...
Nico Weber via All-commits
all-commits at lists.llvm.org
Wed Jan 27 06:22:15 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c0fc38ce1511b95a8b44918c7958b0843f6071c6
https://github.com/llvm/llvm-project/commit/c0fc38ce1511b95a8b44918c7958b0843f6071c6
Author: Nico Weber <thakis at chromium.org>
Date: 2021-01-27 (Wed, 27 Jan 2021)
Changed paths:
M clang/test/Driver/cl-options.c
Log Message:
-----------
Try to fix cl-options.c on bots were the default triple is non-x86 non-arm
llvmArchToWindowsSDKArch() returns "" for non-intel non-arm archs.
We're checking for "/fake/lib/" which is followed by the result
of that function -- but if that returns an empty string, then that
trailing slash isn't there. As fix, just explicitly pass a triple
that's intel or arm (I randomly chose aarch64). Since the test runs
with -###, that arch doesn't have to be in LLVM_TARGETS_TO_BUILD.
More information about the All-commits
mailing list