-
Notifications
You must be signed in to change notification settings - Fork 289
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
apple: Fix incorrect version linker warning #1333
Conversation
CI Vulkan-Loader build queued with queue ID 64185. |
CI Vulkan-Loader build # 2252 running. |
.github/workflows/build.yml
Outdated
@@ -350,6 +350,7 @@ jobs: | |||
# Specify the minimum version of macOS on which the target binaries are to be deployed. | |||
# https://cmake.org/cmake/help/latest/envvar/MACOSX_DEPLOYMENT_TARGET.html | |||
MACOSX_DEPLOYMENT_TARGET: 10.12 | |||
LDFLAGS: -fatal_warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should enable linker warnings as errors for our MacOS SDK builds. FYI @richard-lunarg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be more specific all of our SDK testing should treat warnings as errors. Not just Mac.
# Workaround linker warning: https://github.com/KhronosGroup/Vulkan-Loader/issues/1332 | ||
set(APPLE_VULKAN_LOADER_VERSION "${VULKAN_LOADER_VERSION_MAJOR}.${VULKAN_LOADER_VERSION_MINOR}.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sets it to 1.3.0 instead of 1.3.268
CI Vulkan-Loader build # 2252 passed. |
Sets the patch version to 0 to avoid the linker warning Enable warnings as errors on CI to prevent regression closes #1332
CI Vulkan-Loader build queued with queue ID 64199. |
1 similar comment
CI Vulkan-Loader build queued with queue ID 64199. |
CI Vulkan-Loader build # 2253 running. |
CI Vulkan-Loader build # 2253 passed. |
Note this will also affect the installed files. Example
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
CI passed on fork |
Sets the patch version to 0 to avoid the linker warning
Enable warnings as errors on CI to prevent regression
closes #1332