-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Detect changes in sycl headers (#4723)
This is follow up for #4710 When a sub-directory of the DEPENDS directories is modified the change is not detected by CMake. The change adds a full list of files in the sub-directory to DEPENDS to detect the change. file(GLOBE_RECURSE) is used with CONFIGURE_DEPENDS option to rerun configure step if a new entry is added to the directory structure. Restore version.hpp in source directory as it is used to build SYCL library. Removing a header file is the only case when change is not propagated to the build and install directory. This problem existed before the change and TODO was left to fix it in the future.
- Loading branch information
1 parent
20d9346
commit 8d979f0
Showing
3 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include/CL/sycl/version.hpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters