[Openmp-commits] [openmp] r269836 - Remove trailing whitespace in CMake files
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Tue May 17 13:51:24 PDT 2016
Author: jlpeyton
Date: Tue May 17 15:51:24 2016
New Revision: 269836
URL: http://llvm.org/viewvc/llvm-project?rev=269836&view=rev
Log:
Remove trailing whitespace in CMake files
Modified:
openmp/trunk/runtime/CMakeLists.txt
openmp/trunk/runtime/cmake/config-ix.cmake
Modified: openmp/trunk/runtime/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/CMakeLists.txt?rev=269836&r1=269835&r2=269836&view=diff
==============================================================================
--- openmp/trunk/runtime/CMakeLists.txt (original)
+++ openmp/trunk/runtime/CMakeLists.txt Tue May 17 15:51:24 2016
@@ -323,12 +323,12 @@ set(LIBOMP_LIB_NAME ${LIBOMP_DEFAULT_LIB
if(${LIBOMP_ENABLE_SHARED})
set(LIBOMP_LIBRARY_SUFFIX ${CMAKE_SHARED_LIBRARY_SUFFIX})
- set(LIBOMP_LIBRARY_KIND SHARED)
- set(LIBOMP_INSTALL_KIND LIBRARY)
+ set(LIBOMP_LIBRARY_KIND SHARED)
+ set(LIBOMP_INSTALL_KIND LIBRARY)
else()
set(LIBOMP_LIBRARY_SUFFIX ${CMAKE_STATIC_LIBRARY_SUFFIX})
- set(LIBOMP_LIBRARY_KIND STATIC)
- set(LIBOMP_INSTALL_KIND ARCHIVE)
+ set(LIBOMP_LIBRARY_KIND STATIC)
+ set(LIBOMP_INSTALL_KIND ARCHIVE)
endif()
set(LIBOMP_LIB_FILE ${LIBOMP_LIB_NAME}${LIBOMP_LIBRARY_SUFFIX})
Modified: openmp/trunk/runtime/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/cmake/config-ix.cmake?rev=269836&r1=269835&r2=269836&view=diff
==============================================================================
--- openmp/trunk/runtime/cmake/config-ix.cmake (original)
+++ openmp/trunk/runtime/cmake/config-ix.cmake Tue May 17 15:51:24 2016
@@ -194,11 +194,11 @@ endif()
if(${LIBOMP_STATS})
check_c_source_compiles(
"__thread int x;
- int main(int argc, char** argv)
+ int main(int argc, char** argv)
{ x = argc; return x; }"
LIBOMP_HAVE___THREAD)
check_c_source_compiles(
- "int main(int argc, char** argv)
+ "int main(int argc, char** argv)
{ unsigned long long t = __builtin_readcyclecounter(); return 0; }"
LIBOMP_HAVE___BUILTIN_READCYCLECOUNTER)
if(NOT LIBOMP_HAVE___BUILTIN_READCYCLECOUNTER)
@@ -253,7 +253,7 @@ if(${LIBOMP_USE_HWLOC})
set(CMAKE_REQUIRED_INCLUDES ${LIBOMP_HWLOC_INSTALL_DIR}/include)
check_include_file(hwloc.h LIBOMP_HAVE_HWLOC_H)
set(CMAKE_REQUIRED_INCLUDES)
- check_library_exists(hwloc hwloc_topology_init
+ check_library_exists(hwloc hwloc_topology_init
${LIBOMP_HWLOC_INSTALL_DIR}/lib LIBOMP_HAVE_LIBHWLOC)
find_library(LIBOMP_HWLOC_LIBRARY hwloc ${LIBOMP_HWLOC_INSTALL_DIR}/lib)
get_filename_component(LIBOMP_HWLOC_LIBRARY_DIR ${LIBOMP_HWLOC_LIBRARY} PATH)
More information about the Openmp-commits
mailing list