Skip to content

Conversation

@sarnex
Copy link
Contributor

@sarnex sarnex commented Sep 3, 2025

We only need to link against emhash in build, it's an interface library representing a header-only project (so all linking does is add includes), and it's used internally in xptifw source files and in a single non-installed header, but some other part of the code could in theory use that non-installed header during build, so we need to link against it, but only for build.

Manually checked the generated CMake code.

Issue introduced in #19894

Example error:

CMake Error: install(EXPORT "unified-runtime-targets" ...) includes target "xptifw" which requires target "emhash" that is not in any export set.

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
@sarnex sarnex marked this pull request as ready for review September 3, 2025 20:12
@sarnex sarnex requested a review from a team as a code owner September 3, 2025 20:12
Copy link
Contributor

@uditagarwal97 uditagarwal97 left a comment

Choose a reason for hiding this comment

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

LGTM

@sarnex sarnex merged commit 23a843d into intel:sycl Sep 3, 2025
14 checks passed
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