Skip to content

Commit 498f320

Browse files
committed
Add patch for bgp pthread.
1 parent b7728a2 commit 498f320

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

paraview-bgp-have-pthread.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/CMake/TryRunResults-ParaView3-bgl-xlc.cmake b/CMake/TryRunResults-ParaView3-bgl-xlc.cmake
2+
index 32259de..5edb87c 100644
3+
--- a/CMake/TryRunResults-ParaView3-bgl-xlc.cmake
4+
+++ b/CMake/TryRunResults-ParaView3-bgl-xlc.cmake
5+
@@ -167,5 +167,5 @@ SET( HDF5_PRINTF_LL_TEST_RUN__TRYRUN_OUTPUT
6+
# xlc has a pthread.h which can be included, but it's basically empty
7+
# anyway check_include_files(pthread.h) returns TRUE, so a more
8+
# sophisticated test would be required. Just force the correct result here.
9+
-SET(HAVE_PTHREAD_H FALSE CACHE BOOL "No usable pthread.h" FORCE)
10+
-SET(CMAKE_HAVE_PTHREAD_H FALSE CACHE BOOL "No usable pthread.h" FORCE)
11+
+#SET(HAVE_PTHREAD_H FALSE CACHE BOOL "No usable pthread.h" FORCE)
12+
+#SET(CMAKE_HAVE_PTHREAD_H FALSE CACHE BOOL "No usable pthread.h" FORCE)

0 commit comments

Comments
 (0)