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] Build IGC against system installed dependencies #55

Closed
wants to merge 5 commits into from

Conversation

dvrogozh
Copy link
Contributor

This is RFC (Request for Comments) PR which intends to trigger a discussion started in #54. Please, consider these patches as suggestions. They may/will require rework or improvements. Their main purpose is to highlight some topics for discussion.

To be able to later detect and use clang target via find_package(Clang).

Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
…te opencl-c.h

This commit drops IGC_BUILD__BIF_OCL_PCH_SRC since clang must be able
to detext opencl-c.h on its own with -finclude-default-header assuming
correct clang installation on the system.

Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
This patch tries to detect common_clang and clang installed on the
system first and use them if they are available.

Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
This patch allows user to use IGC_PREFERRED_LLVM_VERSION and override
IGC preferred/required version.

Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
@dvrogozh
Copy link
Contributor Author

Refactored version merged in as ae4aa3b. See readme update RFC #65.

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.

None yet

1 participant