-
Notifications
You must be signed in to change notification settings - Fork 7.7k
[windows|toolchain] Try using /Zi #25692
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
Closed
Alexander Neumann (Neumann-A)
wants to merge
37
commits into
microsoft:master
from
Neumann-A:try_to_use_Zi
Closed
Changes from 5 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
21d9c65
reduce pipeline load
Neumann-A 2211d43
post/pre portfile includes
Neumann-A d09d5c7
trying to add Zi
Neumann-A de92c9e
cmake_language magic to inject install rules
Neumann-A c90ddc0
Zi magic.
Neumann-A 7f95bec
don't use bin dir in static builds
Neumann-A 5409c28
make sure pdbs exist before installing them
Neumann-A 77f562c
Fix parallel link jobs with meson ports. (cannot run parallel link jo…
Neumann-A 664e2fe
only one link job at a time for cmake
Neumann-A b27e945
use job pools correctly
Neumann-A 8bc387a
try fixing boost-build
Neumann-A 5a5b2cc
not possible to trick b2 with invalid values
Neumann-A 468ed0a
actually use regex replace ;) [skip actions]
Neumann-A 8b0f4f0
fix openssl (already uses pdbs)
Neumann-A 2f4001b
disable pch in boost since it seems to be broken in most cases.
Neumann-A 2300d5b
use console instead of a new job pool (some ports seem to choke on that)
Neumann-A 3f916c8
WIP commit
Neumann-A 557db4d
pdb stuff
Neumann-A 87dd582
WIP [skip actions]
Neumann-A d6bdf1d
WIP cleanup [skip actions]
Neumann-A 271ef80
more WIP [skip actions]
Neumann-A 2408612
pdb testrun
Neumann-A c558376
make sure /Z7 is only added for targets without assembly
Neumann-A d868304
bit of refactor and fixing boost-build
Neumann-A 9470123
fix additional regex characters
Neumann-A 6423c89
fix protobuf
Neumann-A 7b1f89e
filter files
Neumann-A 06762ab
crashpad don't include toolchain
Neumann-A 8494ba4
build nmkae don't include toolchain
Neumann-A aa85d23
fix already installed search
Neumann-A 1ff1a87
fix typo
Neumann-A c688169
minor fixes to the boost build helper
Neumann-A 9f5d571
v db
Neumann-A 262385c
Merge remote-tracking branch 'upstream/master' into fix_zi_in_boost_b…
Neumann-A 93ce164
Merge remote-tracking branch 'upstream/master' into try_to_use_Zi
Neumann-A 557298e
Merge remote-tracking branch 'origin/fix_zi_in_boost_build' into try_…
Neumann-A fdbf37f
fix copying of pdbs in boost-* ports
Neumann-A File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
|
|
||
| # For ports which are not CMake | ||
| if(NOT EXISTS "${CURRENT_PACKAGES_DIR}/bin/${PORT}.pdb" AND | ||
| EXISTS "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/${PORT}.pdb") | ||
| file(INSTALL | ||
| "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/${PORT}.pdb" | ||
| DESTINATION | ||
| "${CURRENT_PACKAGES_DIR}/bin") | ||
| file(INSTALL | ||
| "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/${PORT}_strip.pdb" | ||
| DESTINATION | ||
| "${CURRENT_PACKAGES_DIR}/bin") | ||
| endif() | ||
|
|
||
| if(NOT EXISTS "${CURRENT_PACKAGES_DIR}/debug/bin/${PORT}.pdb" AND | ||
| EXISTS "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/${PORT}.pdb") | ||
| file(INSTALL | ||
| "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/${PORT}.pdb" | ||
| DESTINATION | ||
| "${CURRENT_PACKAGES_DIR}/debug/bin") | ||
| file(INSTALL | ||
| "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/${PORT}_strip.pdb" | ||
| DESTINATION | ||
| "${CURRENT_PACKAGES_DIR}/debug/bin") | ||
| endif() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| set(VCPKG_TARGET_ARCHITECTURE x64) | ||
| set(VCPKG_CRT_LINKAGE dynamic) | ||
| set(VCPKG_LIBRARY_LINKAGE dynamic) | ||
|
|
||
| set(VCPKG_CMAKE_CONFIGURE_OPTIONS "-DVCPKG_PORT=${PORT}") | ||
| set(VCPKG_POST_PORTFILE_INCLUDES "${CMAKE_CURRENT_LIST_DIR}/move_pdb_files.cmake") |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.