mpi-learning's People
mpi-learning's Issues
test
test
` [ root@NV-ubuntu-01:/usr/share/cmake-3.5/Modules# diff -uNpr FindThreads.cmake FindThreads.cmake.bak
--- FindThreads.cmake 2018-06-25 18:03:58.570963757 +0800
+++ FindThreads.cmake.bak 2018-06-25 17:42:09.320845095 +0800
@@ -149,12 +149,12 @@ else()
set(CMAKE_HAVE_THREADS_LIBRARY)
if(NOT THREADS_HAVE_PTHREAD_ARG)
# Check if pthread functions are in normal C library
-
#CHECK_SYMBOL_EXISTS(pthread_create pthread.h CMAKE_HAVE_LIBC_CREATE)
-
#if(CMAKE_HAVE_LIBC_CREATE)
-
# set(CMAKE_THREAD_LIBS_INIT "")
-
# set(CMAKE_HAVE_THREADS_LIBRARY 1)
-
# set(Threads_FOUND TRUE)
-
#else()
-
CHECK_SYMBOL_EXISTS(pthread_create pthread.h CMAKE_HAVE_LIBC_CREATE)
-
if(CMAKE_HAVE_LIBC_CREATE)
-
set(CMAKE_THREAD_LIBS_INIT "")
-
set(CMAKE_HAVE_THREADS_LIBRARY 1)
-
set(Threads_FOUND TRUE)
-
else() # Check for -pthread first if enabled. This is the recommended # way, but not backwards compatible as one must also pass -pthread
@@ -163,13 +163,13 @@ else()
_check_pthreads_flag()
endif ()
-
# _check_threads_lib(pthreads pthread_create CMAKE_HAVE_PTHREADS_CREATE)
-
_check_threads_lib(pthreads pthread_create CMAKE_HAVE_PTHREADS_CREATE) _check_threads_lib(pthread pthread_create CMAKE_HAVE_PTHREAD_CREATE) if(CMAKE_SYSTEM_NAME MATCHES "SunOS") # On sun also check for -lthread _check_threads_lib(thread thr_create CMAKE_HAVE_THR_CREATE) endif()
-
#endif()
-
endif()
endif()
_check_pthreads_flag()
@@ -233,8 +233,3 @@ if(THREADS_FOUND AND NOT TARGET Threads:
set_property(TARGET Threads::Threads PROPERTY INTERFACE_LINK_LIBRARIES "${CMAKE_THREAD_LIBS_INIT}")
endif()
endif()
-if (Threads_FOUND )
-
message(STATUS "xiachsh debug Thread found ")
-endif()
](url)root@NV-ubuntu-01:/usr/share/cmake-3.5/Modules#
`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.