Skip to content

Commit 44e95c4

Browse files
authored
Merge pull request #238 from ethereum/build
Build changes
2 parents 3e78142 + f10ffa2 commit 44e95c4

File tree

5 files changed

+10
-21
lines changed

5 files changed

+10
-21
lines changed

cmake/Hunter/config.cmake

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# evmone: Fast Ethereum Virtual Machine implementation
2-
# Copyright 2018-2019 The evmone Authors.
2+
# Copyright 2018-2020 The evmone Authors.
33
# Licensed under the Apache License, Version 2.0.
44

55
hunter_config(
@@ -8,11 +8,3 @@ hunter_config(
88
URL https://github.com/chfast/intx/archive/v0.4.0.tar.gz
99
SHA1 8a2a0b0efa64899db972166a9b3568a6984c61bc
1010
)
11-
12-
hunter_config(
13-
GTest
14-
VERSION 1.8.1
15-
URL https://github.com/google/googletest/archive/release-1.8.1.tar.gz
16-
SHA1 152b849610d91a9dfa1401293f43230c2e0c33f8
17-
CMAKE_ARGS BUILD_GMOCK=OFF gtest_force_shared_crt=ON
18-
)

cmake/Hunter/init.cmake

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# evmone: Fast Ethereum Virtual Machine implementation
2-
# Copyright 2018-2019 The evmone Authors.
2+
# Copyright 2018-2020 The evmone Authors.
33
# Licensed under the Apache License, Version 2.0.
44

55
set(HUNTER_CONFIGURATION_TYPES Release CACHE STRING "Build type of Hunter packages")
66

77
include(HunterGate)
88

99
HunterGate(
10-
URL "https://github.com/ruslo/hunter/archive/v0.23.190.tar.gz"
11-
SHA1 "bc7da329d2493201de28f0c2a5fcd4de1415c477"
10+
URL https://github.com/cpp-pm/hunter/archive/v0.23.239.tar.gz
11+
SHA1 135567a8493ab3499187bce1f2a8df9b449febf3
1212
LOCAL
1313
)

test/CMakeLists.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# evmone: Fast Ethereum Virtual Machine implementation
2-
# Copyright 2019 The evmone Authors.
2+
# Copyright 2019-2020 The evmone Authors.
33
# Licensed under the Apache License, Version 2.0.
44

55
include(GoogleTest)
66
include(${PROJECT_SOURCE_DIR}/evmc/cmake/EVMC.cmake)
77

88
set(evmone_private_include_dir ${PROJECT_SOURCE_DIR}/lib)
99

10+
hunter_add_package(benchmark)
11+
find_package(benchmark CONFIG REQUIRED)
12+
1013
add_subdirectory(utils)
1114
add_subdirectory(bench)
1215
add_subdirectory(internal_benchmarks)

test/bench/CMakeLists.txt

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
# evmone: Fast Ethereum Virtual Machine implementation
2-
# Copyright 2019 The evmone Authors.
2+
# Copyright 2019-2020 The evmone Authors.
33
# Licensed under the Apache License, Version 2.0.
44

55
include(CheckIncludeFileCXX)
66

7-
hunter_add_package(benchmark)
8-
find_package(benchmark CONFIG REQUIRED)
9-
107
add_executable(evmone-bench bench.cpp)
118

129
target_include_directories(evmone-bench PRIVATE ${evmone_private_include_dir})

test/internal_benchmarks/CMakeLists.txt

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
# evmone: Fast Ethereum Virtual Machine implementation
2-
# Copyright 2019 The evmone Authors.
2+
# Copyright 2019-2020 The evmone Authors.
33
# Licensed under the Apache License, Version 2.0.
44

5-
hunter_add_package(benchmark)
6-
find_package(benchmark CONFIG REQUIRED)
7-
85
add_executable(
96
evmone-bench-internal
107
find_jumpdest_bench.cpp

0 commit comments

Comments
 (0)