-
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
[apr] Add HOST_TOOLS_DIR/gen_test_char for cross-compiling to Windows #41416
[apr] Add HOST_TOOLS_DIR/gen_test_char for cross-compiling to Windows #41416
Conversation
{ | ||
"name": "apr", | ||
"host": true, | ||
"platform": "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.
I thought that this dependency was only needed on cross compiling? This would make it a host dependency even when not cross compiling.
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 the apr
manifest. An apr
host dependency is a no-op in the native case.
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're right @dg0yt, apologies for the confusion.
"description": "Apache ActiveMQ is the most popular and powerful open source messaging and Integration Patterns server.", | ||
"license": "Apache-2.0", | ||
"supports": "!(uwp | osx)", | ||
"supports": "(windows & !uwp & (x86 | x64)) | (!windows & !osx)", |
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.
Are you trying to exclude arm 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.
Port
activemq-cpp
: Only allow x86 and x64 under Windows platform
Yes, only x86 x64 is provided in its sln file of the port activemq-cpp
, and it previously was skipped by cascade in CI.
Fix #40827, missing native tool
gen_test_char
on cross-compiling to Windows.Change
gen_test_char
for cross-compiling to Windowsgen_test_char
UNOFFICIAL_APR_HOST_TOOLS_DIR
adnUNOFFICIAL_APR_HOST_EXECUTABLE_SUFFIX
to set the host toolmingw
from thesupports
Shellapi.h
mingw
https://bz.apache.org/bugzilla/show_bug.cgi?id=56342activemq-cpp
: Only allow x86 and x64 under Windows platformFor cross-compiling on Linux, see apache/apr#8
Checklist
The "supports" clause reflects platforms that may be fixed by this new version.Any fixed CI baseline entries are removed from that file.Any patches that are no longer applied are deleted from the port's directory../vcpkg x-add-version --all
and committing the result.Test
The port usage tests pass on host
x64-windows
with the following triplets: