-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[pcre2] Update to 10.35 #11754
[pcre2] Update to 10.35 #11754
Conversation
The following patches have been investigated and updated:
The following patch is not needed any more, it has been fixed upstream:
#elif defined(_M_ARM64) || defined(__aarch64__)
#define SLJIT_CONFIG_ARM_64 1
...
#elif defined _WIN32
#define SLJIT_CACHE_FLUSH(from, to) \
FlushInstructionCache(GetCurrentProcess(), (char*)(from), (char*)(to) - (char*)(from))
#else This is the only missing line, which was in the former #pragma comment(lib, "kernel32.lib") The CI build of |
059953f
to
79825c7
Compare
@JackBoosY Do you know, why the Azure Pipelines report a failure in case of x64-linux? CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_LIBDIR
VCPKG_PLATFORM_TOOLSET
VCPKG_SET_CHARSET_FLAG |
@c72578 That's not related to this PR, I will restart the linux test later. |
53ef216
to
d3f530b
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Please add unicorn-lib:arm-uwp=fail
to VCPKG_PATH/scripts/ci.baseline.txt
@JackBoosY do you know, why 4>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\combaseapi.h(1123,10): error C3861: 'CoCreateInstanceFromApp': identifier not found (compiling source file E:\buildtrees\unicorn-lib\src\8e5ec8b92a-e3bfa5feb4\unicorn\path.cpp) [E:\buildtrees\unicorn-lib\arm-uwp-dbg\unicorn-lib.vcxproj]
4>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\combaseapi.h(1123,10): error C3861: 'CoCreateInstanceFromApp': identifier not found (compiling source file E:\buildtrees\unicorn-lib\src\8e5ec8b92a-e3bfa5feb4\unicorn\mbcs.cpp) [E:\buildtrees\unicorn-lib\arm-uwp-dbg\unicorn-lib.vcxproj]
4>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\combaseapi.h(1144,12): error C3861: 'CoCreateInstanceFromApp': identifier not found (compiling source file E:\buildtrees\unicorn-lib\src\8e5ec8b92a-e3bfa5feb4\unicorn\path.cpp) [E:\buildtrees\unicorn-lib\arm-uwp-dbg\unicorn-lib.vcxproj]
4>C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\combaseapi.h(1144,12): error C3861: 'CoCreateInstanceFromApp': identifier not found (compiling source file E:\buildtrees\unicorn-lib\src\8e5ec8b92a-e3bfa5feb4\unicorn\mbcs.cpp) [E:\buildtrees\unicorn-lib\arm-uwp-dbg\unicorn-lib.vcxproj]
... Full log from CI attached. |
According to msdn documentation, when using You can check whether the function header file is included by opening |
@JackBoosY, have you got access to |
@c72578 I think we should deal with |
@JackBoosY, I have recently updated |
It fails on SOURCE\unicorn\path.cpp line489:
According to msdn documentation, this function only support desktop app, and there is no code to adapt to uwp. So I think that's expected:
|
@JackBoosY, thanks for the clarification. |
In the meantime, the pcre2 port has been modified in master: |
66ddbec
to
cfa3bda
Compare
Info concerning ninja: error: '/mnt/vcpkg-ci/installed/x64-linux/lib/libmath.a', needed by 'bin/pvserver', missing and no known rule to make it |
the paraview regression will be solve in other PR. |
Remark: PR #12144 to fix |
7bbc627
to
e8c4994
Compare
PR has been rebased due to a recent modification to [pcre2] Restore the https://ftp.pcre.org/ mirror in addition to the SourceForge mirrors. (#12233) |
- New upstream version 10.35 - Update patches: pcre2-10.35_fix-space.patch pcre2-10.35_fix-uwp.patch - Add patch: pcre2-10.35_fix_postfix_for_debug_Windows_builds.patch - Drop patch (fixed upstream): fix-arm64-config.patch - Since 10.35, pkgconfig files are created using CMake * fix debug suffix of pkgconfig files under Windows * add vcpkg_fixup_pkgconfig() - Remove bin and debug/bin in case of static build - Update ci.baseline.txt Remove "pcre2:arm-uwp=fail", because arm-uwp passes now Add "unicorn-lib:arm-uwp=fail"
e8c4994
to
5f1f6a9
Compare
LGreatTM :) |
Describe the pull request
pcre2-10.35_fix-space.patch
Reported and accepted upstream: https://bugs.exim.org/show_bug.cgi?id=2588
pcre2-10.35_fix-uwp.patch
pcre2-10.35_fix_postfix_for_debug_Windows_builds.patch
Reported and accepted upstream: https://bugs.exim.org/show_bug.cgi?id=2600
fix-arm64-config.patch
pkgconfig
files are created usingCMake
vcpkg_fixup_pkgconfig()
bin
anddebug/bin
in case ofstatic
buildRemove "pcre2:arm-uwp=fail", because arm-uwp passes now
Add "unicorn-lib:arm-uwp=fail"
Changelog: https://www.pcre.org/changelog.txt
All triplets are supported.
This is required now that
pcre2:arm-uwp
passesYes