[all-commits] [llvm/llvm-project] f0129c: [OpenMP] Disable tests if FileCheck is not availab...

Shilei Tian via All-commits all-commits at lists.llvm.org
Mon Feb 1 10:15:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0129cc35ebd4607c86f1f90cb664c86ffdb4a5c
      https://github.com/llvm/llvm-project/commit/f0129cc35ebd4607c86f1f90cb664c86ffdb4a5c
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M openmp/cmake/OpenMPTesting.cmake

  Log Message:
  -----------
  [OpenMP] Disable tests if FileCheck is not available in in-tree building

FileCheck is required for OpenMP tests. The current detection can fail
if building OpenMP in-tree when user sets `LLVM_INSTALL_TOOLCHAIN_ONLY=ON`. As a
result, CMake will raise an error and the compilation will be broken. This patch
fixed the issue. When `FileCheck` is not a target, tests will just be skipped.

Reviewed By: jdoerfert, JonChesterfield

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




More information about the All-commits mailing list