[PATCH] D115553: Fix LLVM module maps

John Ericson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 10 13:56:21 PST 2021


Ericson2314 created this revision.
Herald added a subscriber: mgorny.
Ericson2314 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In 492de35df443d5f31480173d5f1274c7835cd3d8 <https://reviews.llvm.org/rG492de35df443d5f31480173d5f1274c7835cd3d8> / D115544 <https://reviews.llvm.org/D115544> I accidentally
added `${LLVM_INCLUDE_DIR}/` to the destination path. This broke the
"LLDB Incremental" build. Putting it back the way it was should fix it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115553

Files:
  llvm/include/llvm/CMakeLists.txt


Index: llvm/include/llvm/CMakeLists.txt
===================================================================
--- llvm/include/llvm/CMakeLists.txt
+++ llvm/include/llvm/CMakeLists.txt
@@ -5,5 +5,5 @@
 # If we're doing an out-of-tree build, copy a module map for generated
 # header files into the build area.
 if (NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
-  configure_file(module.modulemap.build ${LLVM_INCLUDE_DIR}/module.modulemap COPYONLY)
+  configure_file(module.modulemap.build module.modulemap COPYONLY)
 endif (NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115553.393587.patch
Type: text/x-patch
Size: 592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211210/361d85c1/attachment.bin>


More information about the llvm-commits mailing list