[all-commits] [llvm/llvm-project] cb3136: [clang] Pass --cuda-path to fix test/Driver/openmp...

Jonas Hahnfeld via All-commits all-commits at lists.llvm.org
Tue Aug 8 01:22:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb3136b0d3596f5c3984e4fb49359e2a1a28a547
      https://github.com/llvm/llvm-project/commit/cb3136b0d3596f5c3984e4fb49359e2a1a28a547
  Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M clang/test/Driver/openmp-offload-jit.c

  Log Message:
  -----------
  [clang] Pass --cuda-path to fix test/Driver/openmp-offload-jit.c

This test was trying to detect a system installation of CUDA and was
marked as returning exit code 1 as part of D156363. Pass an explicit
CUDA installation to make the test return exit code 0 regardless of
a CUDA being found on the system or not. Also add an explicit -march
to get a stable test.




More information about the All-commits mailing list