[all-commits] [llvm/llvm-project] 3f6231: [Libomptarget] Make the plugins ingore undefined e...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Oct 13 06:13:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f62314c235bd2475c8e2b5b874b2932a444e823
      https://github.com/llvm/llvm-project/commit/3f62314c235bd2475c8e2b5b874b2932a444e823
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M openmp/libomptarget/plugins/CMakeLists.txt
    M openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
    M openmp/libomptarget/plugins/cuda/CMakeLists.txt
    M openmp/libomptarget/plugins/remote/server/CMakeLists.txt
    M openmp/libomptarget/plugins/remote/src/CMakeLists.txt
    M openmp/libomptarget/plugins/ve/CMakeLists.txt

  Log Message:
  -----------
  [Libomptarget] Make the plugins ingore undefined exported symbols

Summary:
Recent changes made the default behaviour to error when given an
undefined symbol in a version script. A previous patch fixed this for
`libomptarget` by removing the single undefined symbol. However, the
plguins are expected to only define a subset of the availible functions
so we shouldn't treat it as an error. This patch updates the build flags
to work appropriately.




More information about the All-commits mailing list