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

Fix visionOS build #2161

Merged
merged 3 commits into from
Mar 6, 2024
Merged

Conversation

mkrus
Copy link
Contributor

@mkrus mkrus commented Feb 16, 2024

This adds a few macros to test which platform is currently being built. Addresses some compile warnings such as missing return values. Still a fair amount of deprecation warnings to handle.

Have not actually tested the resulting binary yet.

visionOS is also not yet enabled by default, not sure if we want to require Xcode 15 just yet and couldn't find a way of doing conditional dependencies in Xcode projects or Makefiles.

Fix #2160.

@CLAassistant
Copy link

CLAassistant commented Feb 16, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@billhollings billhollings left a comment

Choose a reason for hiding this comment

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

Thanks for submitting this! VisionOS is poorly supported on MoltenVK, and this will really help.

I've requested some changes.

visionOS is also not yet enabled by default, not sure if we want to require Xcode 15 just yet and couldn't find a way of doing conditional dependencies in Xcode projects or Makefiles.

We can't force Xcode 15 yet, so we'll probably have to leave it out of an all build for now. However, it would be good to add an Xcode 15 build on VisionOS to CI.yml. If you aren't familiar with this, I can add that later.

Copy link
Contributor

@billhollings billhollings left a comment

Choose a reason for hiding this comment

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

Just a few minor questions before approval.

This adds a few macros to test which platform is currently being built.
Addresses some compile warnings such as missing return values.
@mkrus mkrus force-pushed the fix/visionOS_build branch from 13bbffb to 9082ca8 Compare March 1, 2024 18:28
Copy link
Contributor

@billhollings billhollings left a comment

Choose a reason for hiding this comment

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

Thanks for the fixes. LGTM now.

@billhollings billhollings merged commit dbaae5f into KhronosGroup:main Mar 6, 2024
6 checks passed
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.

Failing to build for visionOS
4 participants