File: mpi_build.patch

package info (click to toggle)
combblas 2.0.0-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 190,488 kB
  • sloc: cpp: 55,918; ansic: 25,134; sh: 3,691; makefile: 548; csh: 66; python: 49; perl: 21
file content (24 lines) | stat: -rw-r--r-- 1,154 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: combblas/graph500-1.2/generator/CMakeLists.txt
===================================================================
--- combblas.orig/graph500-1.2/generator/CMakeLists.txt	2025-09-28 01:14:38.156209588 +0200
+++ combblas/graph500-1.2/generator/CMakeLists.txt	2025-09-28 01:15:09.154488050 +0200
@@ -6,6 +6,7 @@
         $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
         PRIVATE include/graph500/generator
 )
+target_include_directories(GraphGenlib PUBLIC "${MPI_C_INCLUDE_PATH}")
 if(CMAKE_C_COMPILER_ID STREQUAL "Intel")
   target_compile_options(GraphGenlib PRIVATE "-restrict")
 endif()
Index: combblas/usort/CMakeLists.txt
===================================================================
--- combblas.orig/usort/CMakeLists.txt	2025-09-28 01:14:38.156209588 +0200
+++ combblas/usort/CMakeLists.txt	2025-09-28 01:15:30.403333126 +0200
@@ -6,6 +6,7 @@
         $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
         PRIVATE include/usort
 )
+target_include_directories(Usortlib PUBLIC "${MPI_C_INCLUDE_PATH}")
 
 if(TARGET MPI::MPI_CXX) # Use target if available (CMake >= 3.9)
   target_link_libraries(Usortlib PUBLIC MPI::MPI_CXX)