[all-commits] [llvm/llvm-project] 65270f: [CMake] Support undefined LLVM_NATIVE_ARCH in llvm...

Ivan Kosarev via All-commits all-commits at lists.llvm.org
Tue Jan 31 23:43:12 PST 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 65270fa704ba21f3b5e1632ae32aa8ea903b1668
      https://github.com/llvm/llvm-project/commit/65270fa704ba21f3b5e1632ae32aa8ea903b1668
  Author: Ivan Kosarev <ivan.kosarev at amd.com>
  Date:   2023-02-01 (Wed, 01 Feb 2023)

  Changed paths:
    M llvm/cmake/modules/LLVM-Config.cmake

  Log Message:
  -----------
  [CMake] Support undefined LLVM_NATIVE_ARCH in llvm_map_components_to_libnames().

https://reviews.llvm.org/D142405 made this function relying on the
LLVM_NATIVE_ARCH be defined, which is not necessarily the case for
third-party projects that include LLVM as their part.

Reviewed By: beanz

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

(cherry picked from commit 2e3153059c268700d4b399a8cbba28e9c2514e09)




More information about the All-commits mailing list