[Openmp-commits] [openmp] 67a9852 - [NFC][OpenMP] Remove trailing whitespaces in `openmp/runtime/src/CMakeLists.txt`
Shilei Tian via Openmp-commits
openmp-commits at lists.llvm.org
Sat May 6 20:19:36 PDT 2023
Author: Shilei Tian
Date: 2023-05-06T23:19:14-04:00
New Revision: 67a98528d371fdd4caa0754e9b959c0e1df97bf8
URL: https://github.com/llvm/llvm-project/commit/67a98528d371fdd4caa0754e9b959c0e1df97bf8
DIFF: https://github.com/llvm/llvm-project/commit/67a98528d371fdd4caa0754e9b959c0e1df97bf8.diff
LOG: [NFC][OpenMP] Remove trailing whitespaces in `openmp/runtime/src/CMakeLists.txt`
Added:
Modified:
openmp/runtime/src/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/runtime/src/CMakeLists.txt b/openmp/runtime/src/CMakeLists.txt
index 502ec5a6b80b5..73ba1525c3d5e 100644
--- a/openmp/runtime/src/CMakeLists.txt
+++ b/openmp/runtime/src/CMakeLists.txt
@@ -272,7 +272,7 @@ if(WIN32)
set(LIBOMP_GENERATED_DEF_FILE ${LIBOMP_LIB_NAME}.def)
add_custom_target(libomp-needed-def-file DEPENDS ${LIBOMP_GENERATED_DEF_FILE})
add_dependencies(omp libomp-needed-def-file)
-
+
# Create the main def file with ordinals to use for building the runtime dll to maintain backwards compatible exports order
libomp_get_gdflags(LIBOMP_GDFLAGS)
libomp_string_to_list("${LIBOMP_GDFLAGS}" LIBOMP_GDFLAGS)
@@ -286,7 +286,7 @@ if(WIN32)
if(MSVC)
# For toolchains that generated the import library importing by ordinal, re-generate it to import by name
set(LIBOMP_IMP_LIB_TARGET ompimp)
- # Create the auxiliary def file without ordinals to use for building the import library to import by name
+ # Create the auxiliary def file without ordinals to use for building the import library to import by name
set(LIBOMPIMP_GENERATED_DEF_FILE ${LIBOMP_LIB_NAME}.imp.def)
add_custom_target(libompimp-needed-def-file DEPENDS ${LIBOMPIMP_GENERATED_DEF_FILE})
add_custom_command(
@@ -295,7 +295,7 @@ if(WIN32)
-o ${LIBOMPIMP_GENERATED_DEF_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/dllexports
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dllexports ${LIBOMP_TOOLS_DIR}/generate-def.pl
)
- # while this merely generates an import library off a def file, CMAKE still requires it to have a "source" so feed it a dummy one,
+ # while this merely generates an import library off a def file, CMAKE still requires it to have a "source" so feed it a dummy one,
# making it a .txt which CMAKE will filter out from the librarian (a .cpp will make lib.exe punt trying to resolve the .def symbols)
add_library(${LIBOMP_IMP_LIB_TARGET} STATIC kmp_dummy.txt)
set_target_properties(${LIBOMP_IMP_LIB_TARGET} PROPERTIES
More information about the Openmp-commits
mailing list