-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[vcpkg-make,icu,gettext-libintl] use vcpkg-make #43702
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
Merged
BillyONeal
merged 11 commits into
microsoft:master
from
Neumann-A:adjust-vcpkg-make-and-convert-a-few-ports
Feb 19, 2025
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
ab0bf7c
[vcpkg-make] a bit of finetuning
Neumann-A c635fed
[icu] switch to vcpkg-make
Neumann-A 932a87f
[gettext-libintl] switch to vcpkg-make
Neumann-A 8a16616
v db
Neumann-A e6737c0
Fix icu
Neumann-A b404387
v db
Neumann-A ee85289
Merge remote-tracking branch 'upstream/master' into adjust-vcpkg-make…
Neumann-A c3341fe
adjust icu lib build rule
Neumann-A d5a9ca8
v db
Neumann-A 08cd6f5
use $(AR) and not hardcode lib
Neumann-A 675578f
v db
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| diff --git a/source/config/mh-msys-msvc b/source/config/mh-msys-msvc | ||
| index 6f50798ebf..2f1a2d6e69 100644 | ||
| --- a/source/config/mh-msys-msvc | ||
| +++ b/source/config/mh-msys-msvc | ||
| @@ -90,10 +90,10 @@ LIBSICU = $(STATIC_PREFIX)$(ICUPREFIX) | ||
| A = lib | ||
|
|
||
| # Cygwin's ar can't handle Win64 right now. So we use Microsoft's tool instead. | ||
| -AR = LIB.EXE#M# | ||
| -ARFLAGS := -nologo $(ARFLAGS:r=)#M# | ||
| +AR := $(AR)#M# | ||
| +ARFLAGS := $(ARFLAGS)#M# | ||
| RANLIB = ls -s#M# | ||
| AR_OUTOPT = -OUT:#M# | ||
|
|
||
| ## An import library is needed for z-OS, MSVC and Cygwin | ||
| IMPORT_LIB_EXT = .lib |
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setting
msys_require_packagesthe the portfile allows injection of more packages. I doubt, however, this is done intentional this way here or at least I would expect it then to be a VCPKG_ variable.I added autoconf-archive to the default since the message for linux also contains it and it is used often enough that including it as the default is reasonable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I needed additonal msys packages also for other ports.
But I would prefer to not see parallel work on gettext-libintl.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean because of #42708 ?
That PR adds a dependency on vcpkg-make but does not switch the build to use
vcpkg_make_(configure|install)and looked like a lot of WIP. Feel free to incorporate my changes here.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the time I started #42708, vcpkg-make was too broken.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the intent was that if one needed something other than the defaults for the caller to call
vcpkg_acquire_msysthemselves and pass the resulting root in. However, given that the error message starting on line 81 names autoconf-archive, it seems like this one should be here. @JavierMatosD can you confirm?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense to include this package since we are recommending it.