[all-commits] [llvm/llvm-project] 036371: [OpenMP] Add missing -L to libomptarget tests

Joel E. Denny via All-commits all-commits at lists.llvm.org
Fri Apr 28 06:49:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 036371debe202647aed9400a7dd2c4bfd2ed57e4
      https://github.com/llvm/llvm-project/commit/036371debe202647aed9400a7dd2c4bfd2ed57e4
  Author: Joel E. Denny <jdenny.ornl at gmail.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M openmp/libomptarget/test/lit.cfg

  Log Message:
  -----------
  [OpenMP] Add missing -L to libomptarget tests

Without this patch, if an incompatible libomptarget.so is present in a
system directory, such as /usr/lib64, check-openmp fails many
libomptarget tests with linking errors.  The problem appears to have
started at D129875, which landed as dc52712a0632.  This patch extends
the libomptarget test suite config with a -L for the current build
directory of libomptarget.so.

Reviewed By: jhuber6, JonChesterfield

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




More information about the All-commits mailing list