mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[chakracore] Update to 2022-11-09 (#28472)
* [chakracore] Update port * add version * . * remove obsolete funcs * . * more tools * . * remove obsolete code * ad ver * remove excess lib * remove excess lib * . * fix win32 * happy new year bonchEquipment and valitovaa * update * fix * fix * addver * fix-plat * .
This commit is contained in:
parent
031c19f64e
commit
df51b93304
@ -1,13 +0,0 @@
|
|||||||
diff --git a/lib/Common/Memory/RecyclerObjectGraphDumper.cpp b/lib/Common/Memory/RecyclerObjectGraphDumper.cpp
|
|
||||||
index 0885df3fb..12bdfb96e 100644
|
|
||||||
--- a/lib/Common/Memory/RecyclerObjectGraphDumper.cpp
|
|
||||||
+++ b/lib/Common/Memory/RecyclerObjectGraphDumper.cpp
|
|
||||||
@@ -58,7 +58,7 @@ void RecyclerObjectGraphDumper::BeginDumpObject(void * objectAddress)
|
|
||||||
{
|
|
||||||
Assert(false);
|
|
||||||
this->dumpObjectTypeInfo = nullptr;
|
|
||||||
- this->dumpObjectIsArray = nullptr;
|
|
||||||
+ this->dumpObjectIsArray = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
@ -3,11 +3,10 @@ vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
|||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO Microsoft/ChakraCore
|
REPO Microsoft/ChakraCore
|
||||||
REF 385409ee4b634b860e090606a28acbc99f4d2567
|
REF fd6908097f758ef65bd83680cf413313ad36c98d
|
||||||
SHA512 ef47db988c4ddd77fa87f4c5e1ac91d9f6b31b35aa6934d8b2863ee1274776d90a2b85dbad51eef069c96777d3cd7729349b89f23eda8c61b4cb637150bead71
|
SHA512 c35a2e3680d3ff5c7d715752570b5f12cf9da716ef28377694e9aa079553b5c0276c51a66b342956d217e9842edd12c25af4a001fae34175a2114134ee4428ee
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
PATCHES
|
PATCHES
|
||||||
fix-debug-linux-build.patch
|
|
||||||
add-missing-reference.patch # https://github.com/chakra-core/ChakraCore/pull/6862
|
add-missing-reference.patch # https://github.com/chakra-core/ChakraCore/pull/6862
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -25,13 +24,25 @@ file(COPY ${SOURCE_PATH}/ DESTINATION ${BUILDTREE_PATH})
|
|||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(CHAKRA_RUNTIME_LIB "static_library") # ChakraCore only supports static CRT linkage
|
set(CHAKRA_RUNTIME_LIB "static_library") # ChakraCore only supports static CRT linkage
|
||||||
vcpkg_build_msbuild(
|
if(VCPKG_TARGET_ARCHITECTURE MATCHES "x86")
|
||||||
PROJECT_PATH "${BUILDTREE_PATH}/Build/Chakra.Core.sln"
|
set(PLATFORM_ARG PLATFORM x86) # it's x86, not Win32 in sln file
|
||||||
|
endif()
|
||||||
|
vcpkg_install_msbuild(
|
||||||
|
SOURCE_PATH "${BUILDTREE_PATH}"
|
||||||
|
PROJECT_SUBPATH "Build/Chakra.Core.sln"
|
||||||
OPTIONS
|
OPTIONS
|
||||||
"/p:DotNetSdkRoot=${NETFXSDK_PATH}/"
|
"/p:DotNetSdkRoot=${NETFXSDK_PATH}/"
|
||||||
"/p:CustomBeforeMicrosoftCommonTargets=${CMAKE_CURRENT_LIST_DIR}/no-warning-as-error.props"
|
"/p:CustomBeforeMicrosoftCommonTargets=${CMAKE_CURRENT_LIST_DIR}/no-warning-as-error.props"
|
||||||
"/p:RuntimeLib=${CHAKRA_RUNTIME_LIB}"
|
"/p:RuntimeLib=${CHAKRA_RUNTIME_LIB}"
|
||||||
|
${PLATFORM_ARG}
|
||||||
)
|
)
|
||||||
|
file(GLOB_RECURSE LIB_FILES "${CURRENT_PACKAGES_DIR}/lib/*.lib")
|
||||||
|
file(GLOB_RECURSE DEBUG_LIB_FILES "${CURRENT_PACKAGES_DIR}/debug/lib/*.lib")
|
||||||
|
foreach(file ${LIB_FILES} ${DEBUG_LIB_FILES})
|
||||||
|
if(NOT file MATCHES "ChakraCore.lib")
|
||||||
|
file(REMOVE ${file})
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
else()
|
else()
|
||||||
if(VCPKG_TARGET_ARCHITECTURE MATCHES "x64")
|
if(VCPKG_TARGET_ARCHITECTURE MATCHES "x64")
|
||||||
set(CHAKRACORE_TARGET_ARCH amd64)
|
set(CHAKRACORE_TARGET_ARCH amd64)
|
||||||
@ -82,35 +93,7 @@ if(WIN32)
|
|||||||
"${BUILDTREE_PATH}/lib/Jsrt/ChakraCoreWindows.h"
|
"${BUILDTREE_PATH}/lib/Jsrt/ChakraCoreWindows.h"
|
||||||
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
|
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
|
||||||
)
|
)
|
||||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
# Do not install dll/exe/lib files here because they are handled by vcpkg_install_msbuild
|
||||||
file(INSTALL
|
|
||||||
"${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_debug/ChakraCore.dll"
|
|
||||||
"${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_debug/ChakraCore.pdb"
|
|
||||||
DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin"
|
|
||||||
)
|
|
||||||
file(INSTALL
|
|
||||||
"${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_debug/Chakracore.lib"
|
|
||||||
DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib"
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
|
||||||
file(INSTALL
|
|
||||||
"${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/ChakraCore.dll"
|
|
||||||
"${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/ChakraCore.pdb"
|
|
||||||
DESTINATION "${CURRENT_PACKAGES_DIR}/bin"
|
|
||||||
)
|
|
||||||
file(INSTALL
|
|
||||||
"${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/Chakracore.lib"
|
|
||||||
DESTINATION "${CURRENT_PACKAGES_DIR}/lib"
|
|
||||||
)
|
|
||||||
file(INSTALL
|
|
||||||
"${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/ch.exe"
|
|
||||||
"${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/GCStress.exe"
|
|
||||||
"${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/rl.exe"
|
|
||||||
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/chakracore"
|
|
||||||
)
|
|
||||||
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/chakracore")
|
|
||||||
endif()
|
|
||||||
else()
|
else()
|
||||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||||
set(out_file libChakraCore.so)
|
set(out_file libChakraCore.so)
|
||||||
@ -134,7 +117,9 @@ else()
|
|||||||
"${out_dir_release}/ch"
|
"${out_dir_release}/ch"
|
||||||
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/chakracore"
|
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/chakracore"
|
||||||
)
|
)
|
||||||
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/chakracore")
|
vcpkg_copy_tools(TOOL_NAMES ch
|
||||||
|
SEARCH_DIR "${out_dir_release}"
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -1,9 +1,18 @@
|
|||||||
{
|
{
|
||||||
"name": "chakracore",
|
"name": "chakracore",
|
||||||
"version-date": "2021-04-22",
|
"version-date": "2022-11-09",
|
||||||
"port-version": 3,
|
|
||||||
"description": "Core part of the Chakra Javascript engine",
|
"description": "Core part of the Chakra Javascript engine",
|
||||||
"homepage": "https://github.com/Microsoft/ChakraCore",
|
"homepage": "https://github.com/Microsoft/ChakraCore",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"supports": "!osx & !uwp & (linux | (!static & !staticcrt))"
|
"supports": "!osx & !uwp & (linux | (!static & !staticcrt))",
|
||||||
|
"dependencies": [
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake",
|
||||||
|
"host": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake-config",
|
||||||
|
"host": true
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
@ -1393,8 +1393,8 @@
|
|||||||
"port-version": 2
|
"port-version": 2
|
||||||
},
|
},
|
||||||
"chakracore": {
|
"chakracore": {
|
||||||
"baseline": "2021-04-22",
|
"baseline": "2022-11-09",
|
||||||
"port-version": 3
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"charls": {
|
"charls": {
|
||||||
"baseline": "2.3.4",
|
"baseline": "2.3.4",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "ff01bf142bf069ad4d58ef77933eec4430be79aa",
|
||||||
|
"version-date": "2022-11-09",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "b1fb3c3a83f78bfa4191c376d026a7768257c9db",
|
"git-tree": "b1fb3c3a83f78bfa4191c376d026a7768257c9db",
|
||||||
"version-date": "2021-04-22",
|
"version-date": "2021-04-22",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user