Skip to content

[SYCL] Filter out the header and footer from the dependency output. #14933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 6, 2024

Conversation

zahiraam
Copy link
Contributor

@zahiraam zahiraam commented Aug 2, 2024

Cmake uses dependency information generated by the use of the -MD option to decide if a file needs to be rebuilt. Currently the header and footer are not filtered out from the dependency output. This leads to the issue that Cmake thinks the source file needs to always be rebuilt.
This is a patch to fix the issue.
See #14798 for more details.

@zahiraam zahiraam changed the title Fix Dependency filter issue. [SYCL] Fix Dependency filter issue after introduction of -include-footer option. Aug 2, 2024
@zahiraam zahiraam changed the title [SYCL] Fix Dependency filter issue after introduction of -include-footer option. [SYCL] Fix dependency filter issue after introduction of -include-footer option. Aug 2, 2024
@zahiraam zahiraam changed the title [SYCL] Fix dependency filter issue after introduction of -include-footer option. [SYCL] Filter out the headers and footer from the dependency output. Aug 2, 2024
@zahiraam zahiraam changed the title [SYCL] Filter out the headers and footer from the dependency output. [SYCL] Filter out the header and footer from the dependency output. Aug 2, 2024
@zahiraam zahiraam marked this pull request as ready for review August 5, 2024 14:22
@zahiraam zahiraam requested review from a team as code owners August 5, 2024 14:22
@zahiraam
Copy link
Contributor Author

zahiraam commented Aug 6, 2024

@intel/llvm-gatekeepers This has high priority. Can it be merged please? Thanks.

@sarnex sarnex merged commit 536d89f into intel:sycl Aug 6, 2024
14 checks passed
@zahiraam zahiraam deleted the DepencyFilterFix branch August 12, 2024 20:57
AlexeySachkov pushed a commit to AlexeySachkov/llvm that referenced this pull request Nov 26, 2024
…ntel#14933)

`Cmake` uses dependency information generated by the use of the` -MD`
option to decide if a file needs to be rebuilt. Currently the header and
footer are not filtered out from the dependency output. This leads to
the issue that `Cmake` thinks the source file needs to always be
rebuilt.
This is a patch to fix the issue.
See intel#14798 for more details.
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.

4 participants