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

[UTIL] Make sure Windows.h doesn't define min #1258

Closed
wants to merge 1 commit into from

Conversation

kbenzie
Copy link
Contributor

@kbenzie kbenzie commented Jan 17, 2024

Define NOMINMAX before including Windows.h to fix the build in intel/llvm#12375.

Define `NOMINMAX` before including Windows.h to fix the building in
intel/llvm#12375.
@pbalcer
Copy link
Contributor

pbalcer commented Jan 17, 2024

All targets should already have this problem fixed:
https://github.com/oneapi-src/unified-runtime/blob/main/cmake/helpers.cmake#L87

@kbenzie
Copy link
Contributor Author

kbenzie commented Jan 17, 2024

All targets should already have this problem fixed:
https://github.com/oneapi-src/unified-runtime/blob/main/cmake/helpers.cmake#L87

This PI plugins aren't inheriting this build option. Saying that, might be possible to fix it in that CMake instead of here.

@kbenzie
Copy link
Contributor Author

kbenzie commented Jan 18, 2024

Superceeded by #1260, closing.

@kbenzie kbenzie closed this Jan 18, 2024
@kbenzie kbenzie deleted the benie/fix-l0-windows-build branch June 11, 2024 15:51
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