File tree Expand file tree Collapse file tree 5 files changed +9
-7
lines changed
Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ Bugfixes:
88 * Type Checker: Fix internal compiler error related to oversized types.
99
1010Compiler Features:
11+ * Build System: Update internal dependency of jsoncpp to 1.9.3.
1112 * Optimizer: Add rule to remove shifts inside the byte opcode.
1213
1314
Original file line number Diff line number Diff line change @@ -37,15 +37,16 @@ endif()
3737ExternalProject_Add(jsoncpp-project
3838 PREFIX "${prefix} "
3939 DOWNLOAD_DIR "${CMAKE_SOURCE_DIR} /deps/downloads"
40- DOWNLOAD_NAME jsoncpp-1.9.2 .tar.gz
41- URL https://github.com/open-source -parsers/jsoncpp/archive/1.9.2 .tar.gz
42- URL_HASH SHA256=77a402fb577b2e0e5d0bdc1cf9c65278915cdb25171e3452c68b6da8a561f8f0
40+ DOWNLOAD_NAME jsoncpp-1.9.3 .tar.gz
41+ URL https://github.com/open-source -parsers/jsoncpp/archive/1.9.3 .tar.gz
42+ URL_HASH SHA256=8593c1d69e703563d94d8c12244e2e18893eeb9a8a9f8aa3d09a327aa45c8f7d
4343 CMAKE_COMMAND ${JSONCPP_CMAKE_COMMAND}
4444 CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
4545 -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
4646 -DCMAKE_INSTALL_LIBDIR=lib
4747 # Build static lib but suitable to be included in a shared lib.
4848 -DCMAKE_POSITION_INDEPENDENT_CODE=${BUILD_SHARED_LIBS}
49+ -DJSONCPP_WITH_EXAMPLE=OFF
4950 -DJSONCPP_WITH_TESTS=OFF
5051 -DJSONCPP_WITH_PKGCONFIG_SUPPORT=OFF
5152 -DCMAKE_CXX_FLAGS=${JSONCPP_CXX_FLAGS}
Original file line number Diff line number Diff line change 3232using namespace std ;
3333
3434static_assert (
35- (JSONCPP_VERSION_MAJOR == 1 ) && (JSONCPP_VERSION_MINOR == 9 ) && (JSONCPP_VERSION_PATCH == 2 ),
36- " Unexpected jsoncpp version: " JSONCPP_VERSION_STRING " . Expecting 1.9.2 ."
35+ (JSONCPP_VERSION_MAJOR == 1 ) && (JSONCPP_VERSION_MINOR == 9 ) && (JSONCPP_VERSION_PATCH == 3 ),
36+ " Unexpected jsoncpp version: " JSONCPP_VERSION_STRING " . Expecting 1.9.3 ."
3737);
3838
3939namespace solidity ::util
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ REPO_ROOT="$(dirname "$0")"/..
3131 fi
3232 # Add dependencies
3333 mkdir -p " $SOLDIR /deps/downloads/" 2> /dev/null || true
34- wget -O " $SOLDIR /deps/downloads/jsoncpp-1.9.2 .tar.gz" https://github.com/open-source-parsers/jsoncpp/archive/1.9.2 .tar.gz
34+ wget -O " $SOLDIR /deps/downloads/jsoncpp-1.9.3 .tar.gz" https://github.com/open-source-parsers/jsoncpp/archive/1.9.3 .tar.gz
3535 mkdir -p " $REPO_ROOT /upload"
3636 tar --owner 0 --group 0 -czf " $REPO_ROOT /upload/solidity_$versionstring .tar.gz" -C " $TEMPDIR " " solidity_$versionstring "
3737 rm -r " $TEMPDIR "
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ mv solidity solc
107107
108108# Fetch jsoncpp dependency
109109mkdir -p ./solc/deps/downloads/ 2> /dev/null || true
110- wget -O ./solc/deps/downloads/jsoncpp-1.9.2 .tar.gz https://github.com/open-source-parsers/jsoncpp/archive/1.9.2 .tar.gz
110+ wget -O ./solc/deps/downloads/jsoncpp-1.9.3 .tar.gz https://github.com/open-source-parsers/jsoncpp/archive/1.9.3 .tar.gz
111111
112112# Determine version
113113cd solc
You can’t perform that action at this time.
0 commit comments