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

cxx-qt-build: set minimum macOS version #825

Closed
wants to merge 1 commit into from

Conversation

Be-ing
Copy link
Contributor

@Be-ing Be-ing commented Jan 30, 2024

to override cc's default which is too low for CXX-Qt. Setting the MACOSX_DEPLOYMENT_TARGET environment variable in CI is fine, but that doesn't solve the problem for downstream users.

relies on a pending PR for cc rust-lang/cc-rs#938

to override cc's default which is too low for CXX-Qt
@Be-ing Be-ing marked this pull request as draft January 30, 2024 11:36
@ahayzen-kdab
Copy link
Collaborator

Fun issue on Linux

   cargo:warning=Compiler version doesn't include clang or GCC: "/usr/bin/c++" "--version"
  cargo:warning=as: unrecognized option '-mbig-obj'

   exit status: 1

@Be-ing
Copy link
Contributor Author

Be-ing commented Jan 31, 2024

Yeah I saw that... pretty puzzled why this change would make that show up.

// We need
// - std::filesystem::path from 10.15
// - std::shared_mutex from 10.12
builder.apple_deployment_target(&"10.5");
Copy link
Collaborator

Choose a reason for hiding this comment

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

does the upstream change mean we still need this ? rust-lang/cc-rs#943 Sounds like it reads the SDK's DefaultDeploymentTarget again ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nah let's close this

@Be-ing Be-ing closed this Feb 12, 2024
@Be-ing
Copy link
Contributor Author

Be-ing commented Feb 13, 2024

Superseded by #848

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.

2 participants