mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:39:00 +08:00
[pcre] Fix build failure for loongarch64 cpu (#25617)
* Fix build failure for loongarch64 cpu. * update port version database. Co-authored-by: Jamlys Lee <jamlys_lee@163.com>
This commit is contained in:
parent
087ef910dd
commit
0e4f9d4d1d
@ -19,6 +19,11 @@ vcpkg_from_sourceforge(
|
||||
PATCHES ${PATCHES}
|
||||
)
|
||||
|
||||
set(IS_PCRE_SUPPORT_JIT YES)
|
||||
if(VCPKG_TARGET_ARCHITECTURE MATCHES "loongarch")
|
||||
set(IS_PCRE_SUPPORT_JIT NO)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
@ -27,7 +32,7 @@ vcpkg_cmake_configure(
|
||||
-DPCRE_BUILD_PCRE32=YES
|
||||
-DPCRE_BUILD_PCRE16=YES
|
||||
-DPCRE_BUILD_PCRE8=YES
|
||||
-DPCRE_SUPPORT_JIT=YES
|
||||
-DPCRE_SUPPORT_JIT=${IS_PCRE_SUPPORT_JIT}
|
||||
-DPCRE_SUPPORT_UTF=YES
|
||||
-DPCRE_SUPPORT_UNICODE_PROPERTIES=YES
|
||||
# optional dependencies for PCREGREP
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "pcre",
|
||||
"version": "8.45",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "Perl Compatible Regular Expressions",
|
||||
"homepage": "https://www.pcre.org/",
|
||||
"dependencies": [
|
||||
|
@ -5398,7 +5398,7 @@
|
||||
},
|
||||
"pcre": {
|
||||
"baseline": "8.45",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"pcre2": {
|
||||
"baseline": "10.40",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "50ec11ace2145fac2b0b01dae365a6764f716c6e",
|
||||
"version": "8.45",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "e8f61fdc5d1286667a8e14eb9521500b882394ad",
|
||||
"version": "8.45",
|
||||
|
Loading…
Reference in New Issue
Block a user