Skip to content
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

[RFC/DRAFT]: InitializeNativeTarget() instead of InitializeAllTargets() #420

Closed
wants to merge 1 commit into from

Conversation

frantisekz
Copy link
Contributor

Fixes/works around: #417

The other way around would be to link against all the Targets that LLVM Supports.

Fixes/works around: intel#417
The other way around would be to link against all the Targets that LLVM Supports.
@haonanya haonanya requested review from cdai2, wenju-he and fzou1 April 17, 2023 07:21
Copy link
Contributor

@wenju-he wenju-he left a comment

Choose a reason for hiding this comment

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

LGTM. @haonanya please double confirm.

@wenju-he
Copy link
Contributor

ping @haonanya

@frantisekz
Copy link
Contributor Author

Please, double check this before merging, I am really not sure this is the correct way to handle the issue. It for sure fixed my use case, it may (or may not) break others, I didn't dig into all the possible implications of this change.

@haonanya
Copy link

Thanks for the reminder, I will check if the patch work with other build asap.

@@ -371,6 +371,7 @@ install(FILES opencl_clang.h
DESTINATION include/cclang
COMPONENT ${TARGET_NAME})

add_custom_target(deploy DEPENDS install-${TARGET_NAME})
Copy link
Contributor

Choose a reason for hiding this comment

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

I'll double check if the change in this file is needed

@frantisekz
Copy link
Contributor Author

Resolved by #439 , this is no longer needed.

@frantisekz frantisekz closed this May 18, 2023
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