Skip to content

[SYCL][UR] Improve header copy dependencies #17093

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 1 commit into from
Feb 20, 2025

Conversation

kbenzie
Copy link
Contributor

@kbenzie kbenzie commented Feb 20, 2025

When copying the UR headers to build/include make sure that the sycl-headers target knowns about the dependencies upon the headers in unified-runtime/include and make sure that they are copied when changed.

This should hopefully also stop occasional failures in CI:

 In file included from /__w/llvm/llvm/src/unified-runtime/source/adapters/native_cpu/ur_interface_loader.cpp:11:
/__w/llvm/llvm/build/include/ur_api.h:15: error: unterminated #ifndef

When copying the UR headers to `build/include` make sure that the
`sycl-headers` target knowns about the dependencies upon the headers in
`unified-runtime/include` and make sure that they are copied when
changed.

This should hopefully also stop occasional failures in CI:

```
 In file included from /__w/llvm/llvm/src/unified-runtime/source/adapters/native_cpu/ur_interface_loader.cpp:11:
/__w/llvm/llvm/build/include/ur_api.h:15: error: unterminated #ifndef
```
@kbenzie kbenzie requested a review from a team as a code owner February 20, 2025 14:22
@kbenzie kbenzie changed the title [UR] Improve header copy dependencies [SYCL][UR] Improve header copy dependencies Feb 20, 2025
@kbenzie kbenzie merged commit 64a095c into intel:sycl Feb 20, 2025
21 checks passed
@kbenzie kbenzie deleted the benie/ur-improve-header-deps branch February 20, 2025 17:43
kbenzie added a commit that referenced this pull request Mar 4, 2025
The `UR_EXTERNAL_DEPENDENCIES` option can be used to specify a list of
CMake targets that all libraries and executables in the UR build should
depend on, e.g. the `sycl-headers` target.

Following on from #17093
github-actions bot pushed a commit to kbenzie/unified-runtime that referenced this pull request Mar 5, 2025
The `UR_EXTERNAL_DEPENDENCIES` option can be used to specify a list of
CMake targets that all libraries and executables in the UR build should
depend on, e.g. the `sycl-headers` target.

Following on from intel/llvm#17093
github-actions bot pushed a commit to kbenzie/unified-runtime that referenced this pull request Mar 5, 2025
The `UR_EXTERNAL_DEPENDENCIES` option can be used to specify a list of
CMake targets that all libraries and executables in the UR build should
depend on, e.g. the `sycl-headers` target.

Following on from intel/llvm#17093
github-actions bot pushed a commit to kbenzie/unified-runtime that referenced this pull request Mar 5, 2025
The `UR_EXTERNAL_DEPENDENCIES` option can be used to specify a list of
CMake targets that all libraries and executables in the UR build should
depend on, e.g. the `sycl-headers` target.

Following on from intel/llvm#17093
kbenzie added a commit to oneapi-src/unified-runtime that referenced this pull request Mar 5, 2025
The `UR_EXTERNAL_DEPENDENCIES` option can be used to specify a list of
CMake targets that all libraries and executables in the UR build should
depend on, e.g. the `sycl-headers` target.

Following on from intel/llvm#17093
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