[PATCH] D142727: [AIX][CMake] Use top-level tools in llvm_ExternalProject_Add

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 11:10:56 PST 2023


DiggerLin added a comment.

> when using CMake versions >= 3.22 we'll pickup the built llvm-ranlib by default if it's in the path (which it is when doing a sub build via llvm_ExternalProject_Add for the runtimes),

The value "USE_TOOLCHAIN" is empty when calling the function llvm_ExternalProject_Add() in the  runtimes/CMakeLists.txt.
and also I do not find the "llvm-ranlib" are set to the TOOLCHAIN  or set -DCMAKE_RANLIB to any value in function llvm_ExternalProject_Add() for AIX OS (before your patch.) . you means that if there is no define of -DCMAKE_RANLIB= , the CMake (versions >= 3.22) will use llvm-ranlib by default?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142727/new/

https://reviews.llvm.org/D142727



More information about the llvm-commits mailing list