Skip to content

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

Closed
Be-ing wants to merge 1 commit into
KDAB:mainfrom
Be-ing:macos_deployment_target
Closed

cxx-qt-build: set minimum macOS version#825
Be-ing wants to merge 1 commit into
KDAB:mainfrom
Be-ing:macos_deployment_target

Conversation

@Be-ing

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

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

Be-ing commented Jan 31, 2024

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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
Copy Markdown
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

Be-ing commented Feb 13, 2024

Copy link
Copy Markdown
Contributor Author

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