[libcxx-commits] [libcxx] c61f0a8 - [libc++] Remove stray CMake install step for modulemap file (#89394)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 22 05:46:57 PDT 2024


Author: Louis Dionne
Date: 2024-04-22T08:46:53-04:00
New Revision: c61f0a8e94004b05d9ec115d3bff8cff331b4491

URL: https://github.com/llvm/llvm-project/commit/c61f0a8e94004b05d9ec115d3bff8cff331b4491
DIFF: https://github.com/llvm/llvm-project/commit/c61f0a8e94004b05d9ec115d3bff8cff331b4491.diff

LOG: [libc++] Remove stray CMake install step for modulemap file (#89394)

The modulemap file is not generated anymore, so it's just part of our
list of includes and gets installed like every other header. We don't
need a special step to install it anymore. This was overlooked when I
removed the generation of the modulemap file.

Added: 
    

Modified: 
    libcxx/include/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libcxx/include/CMakeLists.txt b/libcxx/include/CMakeLists.txt
index 8269436a53e9a9..1296c536bc882c 100644
--- a/libcxx/include/CMakeLists.txt
+++ b/libcxx/include/CMakeLists.txt
@@ -1076,12 +1076,6 @@ if (LIBCXX_INSTALL_HEADERS)
     PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
     COMPONENT cxx-headers)
 
-  # Install the generated modulemap file to the generic include dir.
-  install(FILES "${LIBCXX_GENERATED_INCLUDE_DIR}/module.modulemap"
-    DESTINATION "${LIBCXX_INSTALL_INCLUDE_DIR}"
-    PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
-    COMPONENT cxx-headers)
-
   # Install the generated IWYU file to the generic include dir.
   install(FILES "${LIBCXX_GENERATED_INCLUDE_DIR}/libcxx.imp"
     DESTINATION "${LIBCXX_INSTALL_INCLUDE_DIR}"


        


More information about the libcxx-commits mailing list