[all-commits] [llvm/llvm-project] 4b7bea: [OpenMP] Add back implicit flags manually

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Nov 27 12:52:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b7beab4187ab0766c3d7b272511d5751431a8da
      https://github.com/llvm/llvm-project/commit/4b7beab4187ab0766c3d7b272511d5751431a8da
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2023-11-27 (Mon, 27 Nov 2023)

  Changed paths:
    M openmp/cmake/HandleOpenMPOptions.cmake
    M openmp/cmake/config-ix.cmake

  Log Message:
  -----------
  [OpenMP] Add back implicit flags manually

Summary:
We used to inherit these flags from the LLVM options in a runtimes
build. This patch adds them back in manually as they are helpful for
diagnostics and optimizing the created binary.


  Commit: 71e3082d8572fd335dcc994fd63a75d69b9d2b2e
      https://github.com/llvm/llvm-project/commit/71e3082d8572fd335dcc994fd63a75d69b9d2b2e
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2023-11-27 (Mon, 27 Nov 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/CMakeLists.txt
    M openmp/libomptarget/src/CMakeLists.txt

  Log Message:
  -----------
  [OpenMP] Enable position independent code for libomptarget

Summary:
This option used to be passed manually by the `-fPIC` option that was
always enabled by the LLVM flags. Since we now do this manually we want
to specify that these are supposed for use fPIC code.


Compare: https://github.com/llvm/llvm-project/compare/3d87b9d5f0eb...71e3082d8572


More information about the All-commits mailing list