Skip to content

Commit

Permalink
BUILD: Add ucc pkg-config (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarka authored Oct 17, 2024
1 parent 5d1f707 commit 5ccde6d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ include $(srcdir)/docs/doxygen/doxygen.am

.PHONY: docs docs-clean

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ucc.pc

DOCLIST = docs/doxygen/doxygen-doc/ucc.tag

FORMAT = pdf
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ AC_CONFIG_FILES([
cmake/ucc-config-version.cmake
cmake/ucc-config.cmake
cmake/ucc-targets.cmake
ucc.pc
])
AC_OUTPUT

Expand Down
18 changes: 18 additions & 0 deletions ucc.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See file LICENSE for terms.
#

prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @exec_prefix@/bin
libdir = @libdir@
includedir = @includedir@

Name: @PACKAGE@
Description: Unified Collective Communication Library
Version: @VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -lucc
Libs.private: -Wl

0 comments on commit 5ccde6d

Please sign in to comment.