File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,10 @@ install(FILES include/mpcalloc.h DESTINATION include/)
71
71
72
72
install (FILES src/sctk_alloc_posix.h src/sctk_alloc_common.h src/sctk_alloc_to_recode.h src/sctk_alloc_on_node.h DESTINATION include /mpcalloc/)
73
73
74
+ #Pkg-Config
75
+
76
+ configure_file (mpcalloc.pc.in mpcalloc.pc @ONLY)
77
+ install (FILES ${CMAKE_BINARY_DIR} /mpcalloc.pc DESTINATION lib/pkgconfig/)
74
78
75
79
#Compilation Helpers
76
80
Original file line number Diff line number Diff line change
1
+ prefix=@CMAKE_INSTALL_PREFIX@
2
+ libdir=${prefix}/lib
3
+ includedir=${prefix}/include
4
+
5
+ Name: mpcalloc
6
+ Description: A thread-aware and NUMA-aware memory allocator
7
+ Version: 0.1
8
+ Libs: -L${libdir} -Wl,-rpath ${libdir} -lmpcalloc
9
+ Cflags: -I${includedir} -I${includedir}/mpcalloc/
You can’t perform that action at this time.
0 commit comments