-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[libgcrypt] Fix arm64-osx compilation, add Windows support #20433
Conversation
42ef89e
to
ef2f7c8
Compare
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 9b6135efafdc26c77f35a8dc4e6db18a8174e662 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 854de77..113d31f 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -3377,8 +3377,8 @@
"port-version": 1
},
"libgcrypt": {
- "baseline": "1.8.7",
- "port-version": 2
+ "baseline": "1.9.3",
+ "port-version": 0
},
"libgd": {
"baseline": "2.3.2",
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index 75cf88e..ec1b61f 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "78b0c3c53165c3a9cb9337c3959167a28770480c",
+ "version-string": "1.9.3",
+ "port-version": 0
+ },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 9b6135efafdc26c77f35a8dc4e6db18a8174e662 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index 2b1e37c..06e8a93 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 9b6135efafdc26c77f35a8dc4e6db18a8174e662 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index 503112d..acf1031 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
39c31cc
to
abd51d9
Compare
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 9b6135efafdc26c77f35a8dc4e6db18a8174e662 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index 94dd70d..348dbed 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
abd51d9
to
0b5f941
Compare
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 9b6135efafdc26c77f35a8dc4e6db18a8174e662 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index 08cab38..193e08d 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 9b6135efafdc26c77f35a8dc4e6db18a8174e662 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index da27137..237b6dd 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
@JackBoosY this is a WIP, I already added Windows support to the port since creating this issue, so this isn't a "community-triplet" exclusively. |
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 9b6135efafdc26c77f35a8dc4e6db18a8174e662 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index 1e06a78..fdfee70 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
2eefd18
to
a7da8bf
Compare
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 8ad33ead9075cd8d6d357e0b870ba8d501efe35c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index 1e06a78..fdfee70 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
a7da8bf
to
fd886fb
Compare
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 8ad33ead9075cd8d6d357e0b870ba8d501efe35c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index 41d1399..dab3318 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
1af6140
to
80b8ff8
Compare
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 8ad33ead9075cd8d6d357e0b870ba8d501efe35c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index 9503686..8177b3e 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 8ad33ead9075cd8d6d357e0b870ba8d501efe35c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index 50640c3..6f08d7c 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
80b8ff8
to
54c6b2c
Compare
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 8ad33ead9075cd8d6d357e0b870ba8d501efe35c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index 64b12d2..2af367e 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
2f3ba85
to
8f239b3
Compare
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 8ad33ead9075cd8d6d357e0b870ba8d501efe35c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index bd98870..568c1eb 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 8ad33ead9075cd8d6d357e0b870ba8d501efe35c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libgcrypt.json b/versions/l-/libgcrypt.json
index bd98870..568c1eb 100644
--- a/versions/l-/libgcrypt.json
+++ b/versions/l-/libgcrypt.json
@@ -5,11 +5,6 @@
"version": "1.9.4",
"port-version": 0
},
- {
- "git-tree": "667d5a01ac92b62b72940ddeaa9d05014c40125e",
- "version": "1.9.3",
- "port-version": 0
- },
{
"git-tree": "43a3a46962e0195eefd661d621f1a69c267d067e",
"version-string": "1.8.7",
@JackBoosY, @phoebeHu, FYI,i this is ready for a review since a while. |
6e0b791
to
c2d27bd
Compare
|
||
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/COPYING.LIB" "${CURRENT_PACKAGES_DIR}/debug/lib/COPYING.LIB") | ||
else() | ||
vcpkg_from_git( |
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.
Can we use the single repo in the different triplets?
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.
We could, but again, this mimics all the other ports that use ShiftMediaProject forks such that they are only used for Windows builds.
message(WARNING "libgcrypt on Windows uses a fork managed by the ShiftMediaProject: https://shiftmediaproject.github.io/") | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO ShiftMediaProject/libgcrypt |
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.
Also I noticed that this repo is not official.
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.
It is not, hence the warning message. As explained previously, this is how other ports are prepared (gmp, nettle, gcrypt, gnutls) and is the easiest way of obtaining those libs on Windows.
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.
We can intercept the places available on this repo, and we do not accept the use of unofficial repo.
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.
OK, this seems somewhat arbitrary: you have 3 other ports in the repo that already use this particular fork, so you did make an exception: https://github.com/microsoft/vcpkg/search?q=shiftmediaproject
If you mean that we should instead diff the upstream and the fork, we would end up with a massive patch. I don't see how is that different from using the fork itself – the latter provides same transparency and is less hassle.
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.
@JackBoosY also see: #18029
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.
OK, this seems somewhat arbitrary: you have 3 other ports in the repo that already use this particular fork, so you did make an exception: https://github.com/microsoft/vcpkg/search?q=shiftmediaproject
Well, I think we should have a vote about that.
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.
@strega-nil-ms what do you think about that?
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.
Closing this as "Won't merge" based on the discussion here: #18029 (comment)
Describe the pull request
What does your PR fix?
Which triplets are supported/not supported? Have you updated the CI baseline?
No change, plus:
arm64-osx
and WindowsDoes your PR follow the maintainer guide?
I am still working on this PR
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?I am still working on this PR