abrachet added a comment.

Thanks @mgorny I was able to get CMake to run. Although I didn't end up with 
the same error as you. I simply had warnings:

  CMake Warning (dev) at <redacted>/usr/local/lib/cmake/llvm/TableGen.cmake:103 
(add_custom_command):
    Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
    add_custom_command().  Run "cmake --help-policy CMP0116" for policy
    details.  Use the cmake_policy command to set the policy and suppress this
    warning.
  Call Stack (most recent call first):
    cmake/modules/AddClang.cmake:25 (tablegen)
    include/clang/AST/CMakeLists.txt:1 (clang_tablegen)
  This warning is for project developers.  Use -Wno-dev to suppress it.

When running just `cmake ../clang -G Ninja` did you delete CMakeCache.txt? If 
you didn't then perhaps something from the full command you gave stayed around 
and caused the error. I suspect then I will need the full command you have 
supplied above including gentoo_common_config.cmake. Likely I will not need 
gentoo_toolchain.cmake

In D109977#3660778 <https://reviews.llvm.org/D109977#3660778>, @MaskRay wrote:

> Personally I really wish that the build system issue can be fixed in the 
> upcoming 15.0.0 release and encourage distributions to use it to decrease 
> executable sizes.

Me too. For these tools to be installable as symlinks to the llvm driver, 
D127800 <https://reviews.llvm.org/D127800> will need to land, as well as a 
follow up after that patch. Maybe I could entice you to take a look :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109977

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to