[all-commits] [llvm/llvm-project] 8016a0: Explicitly add -target for Windows builds in file_...

Alan Zhao via All-commits all-commits at lists.llvm.org
Wed May 11 15:09:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8016a0e5a56b8afc0f328412adae97369c71af78
      https://github.com/llvm/llvm-project/commit/8016a0e5a56b8afc0f328412adae97369c71af78
  Author: Alan Zhao <ayzhao at google.com>
  Date:   2022-05-11 (Wed, 11 May 2022)

  Changed paths:
    M clang/test/Preprocessor/file_test_windows.c

  Log Message:
  -----------
  Explicitly add -target for Windows builds in file_test_windows.c

It turns out that the llvm buildbots run the test with
-DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-scei-ps4, which would cause this
test to fail as the test assumed that the default target is Windows. To
fix this, we explicitly set -target for the Windows testcases.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D125425




More information about the All-commits mailing list