[all-commits] [llvm/llvm-project] 898dc8: [clangd] Disable PCH for libs that use gRPC (#185185)

Alexis Engelke via All-commits all-commits at lists.llvm.org
Sat Mar 7 05:36:13 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 898dc857633bebda504a20390220c87761050f08
      https://github.com/llvm/llvm-project/commit/898dc857633bebda504a20390220c87761050f08
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2026-03-07 (Sat, 07 Mar 2026)

  Changed paths:
    M clang-tools-extra/clangd/index/dex/dexp/CMakeLists.txt
    M clang-tools-extra/clangd/index/remote/CMakeLists.txt
    M clang-tools-extra/clangd/index/remote/marshalling/CMakeLists.txt
    M clang-tools-extra/clangd/index/remote/monitor/CMakeLists.txt
    M clang-tools-extra/clangd/index/remote/server/CMakeLists.txt
    M clang-tools-extra/clangd/tool/CMakeLists.txt
    M clang/cmake/modules/AddGRPC.cmake

  Log Message:
  -----------
  [clangd] Disable PCH for libs that use gRPC (#185185)

gRPC adds -pthread, which is incompatible with PCH without it. At some
point, we probably should generally switch from -lpthread to -pthread,
but until then, disable PCH for affected targets.

Fixes https://github.com/llvm/llvm-project/issues/184759.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list