Skip to content

[SYCL] Apply /MD and /MDd on Windows only to SYCL and SYCLD targets #906

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

Conversation

v-klochkov
Copy link
Contributor

This patch fixes the build errors caused by RuntimeLibrary value
inconsistency for LLVM and apps/tests linked with it,
e.g. (MT_StaticRelease vs MD_DynamicRelease) in cases when
LLVM_USE_CRT_RELEASE is set to MT. In such cases /MD set for sycl lib
targets must not affect tests linked with MT version of LLVM.

Signed-off-by: Vyacheslav N Klochkov [email protected]

This patch fixes the build errors caused by RuntimeLibrary value
inconsistency for LLVM and apps/tests linked with it,
e.g. (MT_StaticRelease vs MD_DynamicRelease) in cases when
LLVM_USE_CRT_RELEASE is set to MT. In such cases /MD set for sycl lib
targets must not affect tests linked with MT version of LLVM.

Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Copy link
Contributor

@alexbatashev alexbatashev left a comment

Choose a reason for hiding this comment

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

LGTM

@bader bader merged commit f9296b6 into intel:sycl Dec 5, 2019
@v-klochkov v-klochkov deleted the public_vklochkov_mt_static_pi_tests_fix branch December 6, 2019 03:09
vmaksimo pushed a commit to vmaksimo/llvm that referenced this pull request Feb 24, 2021
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