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

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 23 05:22:18 PDT 2023


Hahnfeld added a comment.

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`).


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