diff --git a/CMakeLists.txt b/CMakeLists.txt index 79b7f6152..9d48e77b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,6 @@ include(CableBuildType) include(CableCompilerSettings) include(CableToolchains) include(CMakePackageConfigHelpers) -include(GNUInstallDirs) include(Hunter/init) @@ -23,6 +22,8 @@ set(CMAKE_DEBUG_POSTFIX "") project(hera) set(PROJECT_VERSION 0.3.0) +include(GNUInstallDirs) + cable_configure_compiler() if(CABLE_COMPILER_GNULIKE) # TODO: fix the warnings instead diff --git a/circle.yml b/circle.yml index bd1999205..b086bebfd 100644 --- a/circle.yml +++ b/circle.yml @@ -31,8 +31,6 @@ defaults: run: name: "Run codespell" command: | - sudo pip3 install --upgrade pip setuptools - sudo pip3 install codespell codespell --skip=".git" build: &build @@ -197,9 +195,9 @@ jobs: CC: clang GENERATOR: Ninja BUILD_PARALLEL_JOBS: 4 - CMAKE_OPTIONS: -DBUILD_SHARED_LIBS=ON -DHERA_DEBUGGING=OFF -DHERA_BINARYEN=ON -DHERA_WAVM=ON -DHERA_WABT=ON + CMAKE_OPTIONS: -DBUILD_SHARED_LIBS=ON -DHERA_DEBUGGING=OFF -DHERA_BINARYEN=ON -DHERA_WAVM=ON -DHERA_WABT=ON -DEVMC_TOOLS=ON docker: - - image: ethereum/cpp-build-env:9 + - image: ethereum/cpp-build-env:14-clang-10 steps: - checkout - *update-submodules @@ -215,7 +213,7 @@ jobs: - *test-binaryen - *test-wabt - *test-wavm -# - *evmc-test + - *evmc-test - *evm2wasm-test linux-clang-shared-asan: @@ -225,11 +223,11 @@ jobs: CC: clang GENERATOR: Ninja BUILD_PARALLEL_JOBS: 4 - CMAKE_OPTIONS: -DBUILD_SHARED_LIBS=ON -DHERA_DEBUGGING=OFF -DHERA_BINARYEN=ON -DHERA_WAVM=ON -DHERA_WABT=ON -DSANITIZE=address + CMAKE_OPTIONS: -DBUILD_SHARED_LIBS=ON -DHERA_DEBUGGING=OFF -DHERA_BINARYEN=ON -DHERA_WAVM=ON -DHERA_WABT=ON -DEVMC_TOOLS=ON -DSANITIZE=address # The ASan must the first loaded shared library. Force preloading it with this flag. PRELOAD_ASAN: true docker: - - image: ethereum/cpp-build-env:9 + - image: ethereum/cpp-build-env:14-clang-10 steps: - checkout - *update-submodules @@ -244,7 +242,7 @@ jobs: - *test-binaryen - *test-wabt - *test-wavm -# - *evmc-test + - *evmc-test - *evm2wasm-test linux-gcc-shared-coverage: @@ -257,7 +255,7 @@ jobs: - CMAKE_OPTIONS: -DCOVERAGE=ON -DBUILD_SHARED_LIBS=ON -DHERA_DEBUGGING=ON -DHERA_BINARYEN=ON -DHERA_WABT=ON -DHERA_WAVM=ON - TESTETH_OPTIONS: --evmc benchmark=true docker: - - image: ethereum/cpp-build-env:9 + - image: ethereum/cpp-build-env:14-gcc-9 steps: - checkout - *update-submodules @@ -283,7 +281,7 @@ jobs: - BUILD_PARALLEL_JOBS: 4 - CMAKE_OPTIONS: -DBUILD_SHARED_LIBS=OFF -DHERA_DEBUGGING=ON -DHERA_BINARYEN=ON -DHERA_WAVM=ON -DHERA_WABT=ON docker: - - image: ethereum/cpp-build-env:9 + - image: ethereum/cpp-build-env:14-gcc-9 steps: - checkout - *update-submodules @@ -302,12 +300,12 @@ jobs: - BUILD_PARALLEL_JOBS: 4 - CMAKE_OPTIONS: -DHERA_DEBUGGING=ON -DHERA_BINARYEN=ON -DHERA_WABT=ON macos: - xcode: "10.1.0" + xcode: "11.5.0" steps: - run: name: "Install system dependencies" command: | - HOMEBREW_NO_AUTO_UPDATE=1 brew install -q cmake ninja leveldb + HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 brew install cmake ninja leveldb - checkout - *update-submodules - *environment-info @@ -324,7 +322,7 @@ jobs: lint: docker: - - image: ethereum/cpp-build-env:9 + - image: ethereum/cpp-build-env:14-lint steps: - checkout - *codespell