[PATCH] D146497: libclang: Pass Clang install directory to driver via argv[0].

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 23 05:35:18 PDT 2023


aaron.ballman added a comment.

In D146497#4216278 <https://reviews.llvm.org/D146497#4216278>, @Hahnfeld wrote:

> In D146497#4216226 <https://reviews.llvm.org/D146497#4216226>, @aaron.ballman wrote:
>
>> The issue doesn't reproduce for me locally on my Windows machine, so it may be something specific to the VE setup.
>
> FWIW I'm not doing anything specific for VE, just
>
>   set(CMAKE_C_COMPILER "clang" CACHE STRING "")
>   set(CMAKE_CXX_COMPILER "clang++" CACHE STRING "")
>   set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "")
>   set(LLVM_APPEND_VC_REV OFF CACHE STRING "")
>   set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
>   set(LLVM_ENABLE_PROJECTS "clang" CACHE STRING "")
>   
>   set(LLVM_ENABLE_LLD ON CACHE BOOL "")
>   set(LLVM_LINK_LLVM_DYLIB ON CACHE BOOL "")
>
> in the file I load as the `initial-cache` (`cmake -C`).

Interesting, and I was testing with llvm-lit.py. The revert did get the bot back to green in https://lab.llvm.org/buildbot/#/builders/91/builds/15275


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146497



More information about the cfe-commits mailing list