Skip to content

[SYCL] Specify output file for ocl-icd external project. #712

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
Oct 10, 2019

Conversation

romanovvlad
Copy link
Contributor

It's needed for ninja to correctly process dependencies.

Signed-off-by: Vlad Romanov [email protected]

@@ -104,6 +104,7 @@ if( NOT OpenCL_LIBRARIES )
${OPENCL_ICD_LOADER_WDK}
STEP_TARGETS configure,build,install
DEPENDS ocl-headers
BUILD_BYPRODUCTS ${LLVM_BINARY_DIR}/lib/libOpenCL.so
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we care about Windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes.

Copy link
Contributor

Choose a reason for hiding this comment

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

You won't have libOpenCL.so as a build product on Windows. Shouldn't it be OpenCL.lib or OpenCL.dll?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

It's needed for ninja to correctly process dependencies.

Signed-off-by: Vlad Romanov <[email protected]>
@romanovvlad romanovvlad force-pushed the private/vromanov/ICDOutput branch from a03a106 to 52faf41 Compare October 10, 2019 07:59
@asavonic asavonic self-requested a review October 10, 2019 08:01
@romanovvlad romanovvlad merged commit 53f89f4 into intel:sycl Oct 10, 2019
vladimirlaz pushed a commit that referenced this pull request Sep 29, 2020
This is achieved by guarding most (only covered LLVM IR -> SPIR-V passes)
`verifyModule` calls by corresponding command line option, which is
disabled/enabled in accordance with _SPIRVDBG define.

Made _SPIRVDBG define disabled in release builds by default.

Adjusted SPIRVErrorLog::CheckError to not use `spvdbg` for printing
information about errors.
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