Skip to content

UCT/GDA: Fix rpm/dev build#11330

Open
Artemy-Mellanox wants to merge 1 commit intoopenucx:masterfrom
Artemy-Mellanox:topic/gda-dist
Open

UCT/GDA: Fix rpm/dev build#11330
Artemy-Mellanox wants to merge 1 commit intoopenucx:masterfrom
Artemy-Mellanox:topic/gda-dist

Conversation

@Artemy-Mellanox
Copy link
Copy Markdown
Contributor

Upstream of #11328

%{_libdir}/pkgconfig/ucx-fuse.pc
%endif
%if %{with cuda} && %{with mlx5}
%{_libdir}/pkgconfig/ucx-ib-mlx5-gda.pc
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For future PR, do we need to move it under %files ib-mlx5-gda?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pkgconfig file for specific sub-module is needed only for static link (dynamic link uses only the top-level ucx.pc)

Comment on lines +36 to +38
# GDAKI files are packaged in ucx-cuda; the main ucx install's would claim
# them too. Install ucx first with those paths excluded, then install the
# remaining packages.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we exclude them by chaging usr/include/* in ucx.install to be more specific so that gda will not be included there?


%files devel
%{_includedir}/uc*
%exclude %{_includedir}/uct/ib/mlx5/gdaki*
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

%exclude %{_includedir}/uct/ib/mlx5/gdaki/*

%{_libdir}/pkgconfig/ucx-fuse.pc
%endif
%if %{with cuda} && %{with mlx5}
%{_libdir}/pkgconfig/ucx-ib-mlx5-gda.pc
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pkgconfig file for specific sub-module is needed only for static link (dynamic link uses only the top-level ucx.pc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants