Skip to content

[SYCL RTC] Exclude CMake files#21879

Open
kilyanni wants to merge 1 commit intointel:syclfrom
kilyanni:fix/sycl-jit-cmake-leak
Open

[SYCL RTC] Exclude CMake files#21879
kilyanni wants to merge 1 commit intointel:syclfrom
kilyanni:fix/sycl-jit-cmake-leak

Conversation

@kilyanni
Copy link
Copy Markdown
Contributor

At the moment, sycl-jit embeds various files at build-time. Among these are some CMake build files, which contain absolute paths to the build directory.
This leaks details about the build environment to the final binaries, which also introduces a small reproducibility issue, where building from different folders causes the final binary to change.

As far as I can tell, nothing expects the CMake files to be bundled and it's safe to skip then, so that's what this PR does: skip any CMake files during embedding.

@kilyanni kilyanni marked this pull request as ready for review April 26, 2026 15:54
@kilyanni kilyanni requested review from a team and cperkinsintel as code owners April 26, 2026 15:54
@kilyanni kilyanni force-pushed the fix/sycl-jit-cmake-leak branch from 9a6c977 to ed0b7e5 Compare April 27, 2026 16:28
Copy link
Copy Markdown
Contributor

@cperkinsintel cperkinsintel left a comment

Choose a reason for hiding this comment

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

good catch. Thanks.

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