Skip to content

MacOs + Windows link against the Release version of Libraries #10899

Closed
daschuer wants to merge 2 commits intomixxxdj:2.3from
daschuer:RelWithDebInfoToRelease
Closed

MacOs + Windows link against the Release version of Libraries #10899
daschuer wants to merge 2 commits intomixxxdj:2.3from
daschuer:RelWithDebInfoToRelease

Conversation

@daschuer
Copy link
Copy Markdown
Member

Since we build no RelWithDebInfo configuration with vcpkg cmake picks the fist configuration found which can be by luck Release or Debug.

Some Qt Libraries are linked with the debug version, which should be one major cause of the MacOs regression that has been tracked down to the commit where the VCPKG environment has been introduced for macOs builds.

The windows build should be affected in the same way.

@github-actions github-actions Bot added the build label Sep 14, 2022
@daschuer daschuer force-pushed the RelWithDebInfoToRelease branch from 130766b to ee2f60a Compare September 14, 2022 23:28
@daschuer daschuer changed the base branch from main to 2.3 September 14, 2022 23:29
@daschuer daschuer force-pushed the RelWithDebInfoToRelease branch from ee2f60a to 63ae85f Compare September 14, 2022 23:38
@daschuer daschuer marked this pull request as draft September 15, 2022 05:28
@daschuer daschuer force-pushed the RelWithDebInfoToRelease branch from ae54b62 to 7ace51c Compare September 15, 2022 06:21
@JoergAtGithub
Copy link
Copy Markdown
Member

This could explain the reduced performance, I noticed on Windows after an buildenv update: #4717 (comment)

@daschuer
Copy link
Copy Markdown
Member Author

This PR was based in a wrong assumption I get from a wrong debug statement.
The code added is already in place here:

https://github.com/microsoft/vcpkg/blob/02fcf92f48abfee2d75845f6cc74a0544c2a005e/scripts/buildsystems/vcpkg.cmake#L227

Sorry for the noise.

@daschuer daschuer closed this Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants