Skip to content

CMakelist improvements: add deploy target, Install OpenCL headers, some minor cleanup. #567

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
Aug 30, 2019

Conversation

valerydmit
Copy link
Contributor

Added OpenCL headers to "install".
Implemented deploy target.
Minor build scripts cleanup.

Signed-off-by: Valery N Dmitriev [email protected]

v-klochkov
v-klochkov previously approved these changes Aug 28, 2019
Copy link
Contributor

@v-klochkov v-klochkov left a comment

Choose a reason for hiding this comment

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

Looks good to me.
Also, I tried your fix on Windows. It fixed some old issues with dependencies, for example, from OpenCL.dll to sycl.dll.
Before your fix 'ninja' could not be used without specifying path to existing OpenCL.lib in -DOpenCL_LIBRARY= argument.
Now it works perfect.

@v-klochkov v-klochkov requested a review from bader August 29, 2019 17:09
message( STATUS "Adding component ${comp} to deploy")

set (manifest_file ${CMAKE_CURRENT_BINARY_DIR}/install_manifest_${comp}.txt)
add_custom_command(OUTPUT ${manifest_file}
Copy link
Contributor

Choose a reason for hiding this comment

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

Indentation if off.

Copy link
Contributor

@v-klochkov v-klochkov Aug 30, 2019

Choose a reason for hiding this comment

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

Valery is on vacation. I fixed this indentation issue and re-based the patch
to get passes on those 2 failed LIT tests on Windows (boolean.cpp and vector_extracts.cpp) and to check that the nothing got broken while this patch was in review.
No semantics changes done be me.

Implemented deploy target.
Minor build scripts cleanup.

Signed-off-by: Valery N Dmitriev <[email protected]>
@v-klochkov v-klochkov merged commit 67c6ae5 into intel:sycl Aug 30, 2019
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.

3 participants