[all-commits] [llvm/llvm-project] e7655a: [Libomptarget] Remove unnecessary CMake definition...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jan 8 11:23:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7655ad605d77e206ec94b2cef59c41a508edba7
      https://github.com/llvm/llvm-project/commit/e7655ad605d77e206ec94b2cef59c41a508edba7
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

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

  Log Message:
  -----------
  [Libomptarget] Remove unnecessary CMake definition of endiannness (#77205)

Summary:
This is needed for some definition in `hsa.h` that requires this to be
set for some architectures when it fails at autodetection. We only
really build `libomptarget` with `gcc` and `clang` which already provide
their own way of detecting this. Remove the unnecessary define and move
it into the source.




More information about the All-commits mailing list