Skip to content

Conversation

@dscho
Copy link
Member

@dscho dscho commented Nov 24, 2025

As part of my effort to upstream the mingw-w64-git package definition to MSYS2, I had to change the default to omit building mingw-w64-git-pdb. Before marking the upstreaming PR as ready for review, I want to ensure that Git for Windows already has the identical changes (see git-for-windows/MINGW-packages#174). This requires two changes in build-extra to accommodate for the now-inverted logic.

As part of the effort to upstream `mingw-w64-git` to MSYS2, I changed
the default to _not_ build `.pdb` files by default (because MSYS2 lacks
the `mingw-w64-cv2pdb` package, and it is unlikely that they would
accept it either, given that it requires MSBuild and Visual C to build).

That means that one no longer sets `WITHOUT_PDBS` when skipping
`mingw-w64-pdb`, but `WITH_PDBS` when including it in the build.

For the transition period, ensure that the `mingw-w64-git` package of
Git for Windows is built using the correct value for those flags,
depending whether the DLLs required by cv2pdb are found or not.

Signed-off-by: Johannes Schindelin <[email protected]>
There is logic to skip building the `.pdb` files of `mingw-w64-git` and
`mingw-w64-curl` in Git for Windows' package definitions.

However, while upstreaming `mingw-w64-git` to the MSYS2 project, it
became obvious that the default should not be to build those `.pdb`
files, and therefore the flag should not be called `WITHOUT_PDBS`, but
instead the default should be to skip them and the flag should be named
`WITH_PDBS`.

Let's handle both flags when `sdk build`ing packages.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho
Copy link
Member Author

dscho commented Nov 24, 2025

/updpkgsums

The workflow run was started.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho

This comment has been minimized.

@dscho
Copy link
Member Author

dscho commented Nov 25, 2025

/deploy git-extra

The i686/x86_64 and the arm64 workflow runs were started.

@dscho dscho merged commit 0fff9f8 into main Nov 25, 2025
9 checks passed
@dscho dscho deleted the prepare-some-more-for-split-mingw-w64-git branch November 25, 2025 06:21
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.

3 participants