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

[UR] Allow compilation on apple for OpenCL support #697

Merged
merged 3 commits into from
Jul 10, 2023

Conversation

veselypeta
Copy link
Contributor

@veselypeta veselypeta commented Jul 7, 2023

We need to support compilation on MacOS platforms to support the OpenCL adapter. DPC++ build a macos build with the opencl adapter https://github.com/intel/llvm/actions/runs/5483139737/jobs/9989162427.
I've added build steps for MacOS 12/13 platforms in out github workflows.

veselypeta and others added 3 commits July 7, 2023 14:16
Update the `MAKE_LIBRARY_NAME` macro to match the library naming scheme
CMake uses when `VERSION` is specified on macOS, taking the form
`lib<name>.<version>.dylib`. Enable color diagnostics for AppleClang.
And disable the `CMAKE_FIND_FRAMEWORK` option so that in-tree dylibs are
correctly loaded.
@veselypeta veselypeta changed the title [UR] Allow compilation on apple [UR] Allow compilation on apple for OpenCL support Jul 10, 2023
@veselypeta veselypeta merged commit 460713e into oneapi-src:main Jul 10, 2023
@veselypeta veselypeta deleted the petr/support-apple branch July 10, 2023 12:36
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