mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[chakracore] Update to 1.4.3
This commit is contained in:
parent
900613d7f0
commit
195e1b45dd
@ -1,3 +1,3 @@
|
||||
Source: chakracore
|
||||
Version: 1.4.0-1
|
||||
Version: 1.4.3
|
||||
Description: Core part of the Chakra Javascript engine
|
@ -1,20 +0,0 @@
|
||||
diff --git a/bin/NativeTests/NativeTests.vcxproj b/bin/NativeTests/NativeTests.vcxproj
|
||||
index d020992..ac70a65 100644
|
||||
--- a/bin/NativeTests/NativeTests.vcxproj
|
||||
+++ b/bin/NativeTests/NativeTests.vcxproj
|
||||
@@ -30,6 +30,15 @@
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<SmallerTypeCheck>false</SmallerTypeCheck>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
+ <TreatWarningAsError Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</TreatWarningAsError>
|
||||
+ <TreatWarningAsError Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</TreatWarningAsError>
|
||||
+ <TreatWarningAsError Condition="'$(Configuration)|$(Platform)'=='Test|Win32'">false</TreatWarningAsError>
|
||||
+ <TreatWarningAsError Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</TreatWarningAsError>
|
||||
+ <TreatWarningAsError Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">false</TreatWarningAsError>
|
||||
+ <TreatWarningAsError Condition="'$(Configuration)|$(Platform)'=='Test|ARM'">false</TreatWarningAsError>
|
||||
+ <TreatWarningAsError Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</TreatWarningAsError>
|
||||
+ <TreatWarningAsError Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</TreatWarningAsError>
|
||||
+ <TreatWarningAsError Condition="'$(Configuration)|$(Platform)'=='Test|x64'">false</TreatWarningAsError>
|
||||
<!-- <CallingConvention Condition="'$(Platform)'=='Win32'">CDecl</CallingConvention> -->
|
||||
</ClCompile>
|
||||
<Link>
|
8
ports/chakracore/no-warning-as-error.props
Normal file
8
ports/chakracore/no-warning-as-error.props
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<TreatWarningAsError>false</TreatWarningAsError>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
</Project>
|
@ -7,18 +7,12 @@ if (VCPKG_CRT_LINKAGE STREQUAL static)
|
||||
endif()
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/ChakraCore-1.4.1)
|
||||
vcpkg_download_distfile(ARCHIVE_FILE
|
||||
URLS "https://github.com/Microsoft/ChakraCore/archive/v1.4.1.tar.gz"
|
||||
FILENAME "ChakraCore-1.4.1.tar.gz"
|
||||
SHA512 9ca89de88a4d6102826ce4e301ea81b70296cca72131043f9942de715dee2862791c6f33ebce1f12fcafc1554a872a2cf9317313d56c57abff0a6d814a77f2d5
|
||||
)
|
||||
vcpkg_extract_source_archive(${ARCHIVE_FILE})
|
||||
|
||||
vcpkg_apply_patches(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PATCHES
|
||||
${CMAKE_CURRENT_LIST_DIR}/disable_warning_as_error.patch
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Microsoft/ChakraCore
|
||||
REF v1.4.3
|
||||
SHA512 6083bbbb4b980f44fe0e1d3581eea17190e379134f9312f11d195694aa3e0d9723406d8048ce461bc2744306c07b44465d6d58636b114a82b2f42d7a3316c9af
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
find_path(COR_H_PATH cor.h)
|
||||
@ -29,7 +23,7 @@ get_filename_component(NETFXSDK_PATH "${COR_H_PATH}/../.." ABSOLUTE)
|
||||
|
||||
vcpkg_build_msbuild(
|
||||
PROJECT_PATH ${SOURCE_PATH}/Build/Chakra.Core.sln
|
||||
OPTIONS "/p:DotNetSdkRoot=${NETFXSDK_PATH}/"
|
||||
OPTIONS "/p:DotNetSdkRoot=${NETFXSDK_PATH}/" "/p:CustomBeforeMicrosoftCommonTargets=${CMAKE_CURRENT_LIST_DIR}/no-warning-as-error.props"
|
||||
)
|
||||
|
||||
file(INSTALL
|
||||
|
Loading…
x
Reference in New Issue
Block a user