[flang-commits] [flang] a51fba6 - [flang] Install omp_lib.h to install directory alongside modules
David Truby via flang-commits
flang-commits at lists.llvm.org
Mon Jul 3 07:55:18 PDT 2023
Author: David Truby
Date: 2023-07-03T15:55:06+01:00
New Revision: a51fba6b0f0217ed0dfd5daf06548e9adab59ff0
URL: https://github.com/llvm/llvm-project/commit/a51fba6b0f0217ed0dfd5daf06548e9adab59ff0
DIFF: https://github.com/llvm/llvm-project/commit/a51fba6b0f0217ed0dfd5daf06548e9adab59ff0.diff
LOG: [flang] Install omp_lib.h to install directory alongside modules
This patch simply adds a cmake install line for omp_lib.h that was
previously missing, to put it alongisde omp_lib.mod so it can be found
by the driver.
Added:
Modified:
flang/tools/f18/CMakeLists.txt
Removed:
################################################################################
diff --git a/flang/tools/f18/CMakeLists.txt b/flang/tools/f18/CMakeLists.txt
index 39272ccd5828d6..d7538feef12137 100644
--- a/flang/tools/f18/CMakeLists.txt
+++ b/flang/tools/f18/CMakeLists.txt
@@ -80,3 +80,4 @@ endif()
# TODO Move this to a more suitable location
file(COPY ${FLANG_SOURCE_DIR}/module/omp_lib.h DESTINATION "${CMAKE_BINARY_DIR}/include/flang/OpenMP/" FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
+install(FILES ${CMAKE_BINARY_DIR}/include/flang/OpenMP/omp_lib.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/flang/OpenMP")
More information about the flang-commits
mailing list