Skip to content

cmake: add pkg-config support for e-smi - #30

Open
sivapt12 wants to merge 1 commit into
amd:masterfrom
sivapt12:feature/pkgconfig-support
Open

cmake: add pkg-config support for e-smi#30
sivapt12 wants to merge 1 commit into
amd:masterfrom
sivapt12:feature/pkgconfig-support

Conversation

@sivapt12

Copy link
Copy Markdown
Contributor

Generate and install a pkg-config(*.pc) file for e-smi.

The .pc file exposes include and library paths via pkg-config, allowing downstream projects (like DPDK) to link against e-smi without hardcoding build flags.

Generate and install a pkg-config(*.pc) file for e-smi.

The .pc file exposes include and library paths via pkg-config,
allowing downstream projects to link against e-smi without
hardcoding build flags.

Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com>
@muthusAMD

Copy link
Copy Markdown
Contributor

Me and Siva has a teams call on this Further,
Work in Progress: We are going to create Softlink as follows, i will add the softlink and test once and integrate this changes.

mkdir -p /usr/share/pkgconfig
ln -sf /opt/e-sms/e_smi/lib/pkgconfig/libe_smi64.pc /usr/share/pkgconfig/libe_smi64.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.

2 participants