Skip to content

Commit

Permalink
cmake: Do not set CMAKE_BUILD_TYPE, remove Cable
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Apr 3, 2023
1 parent 09fa9cf commit 8ce526a
Show file tree
Hide file tree
Showing 34 changed files with 6 additions and 918 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@

cmake_minimum_required(VERSION 3.16.2...3.25)

include(cmake/cable/bootstrap.cmake)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

include(CableBuildType)
include(CableCompilerSettings)
include(CMakeDependentOption)
include(CMakePackageConfigHelpers)

cable_set_build_type(DEFAULT Release CONFIGURATION_TYPES Release RelWithDebInfo Debug)

option(ETHASH_INSTALL_CMAKE_CONFIG "Install CMake configuration scripts for find_package(CONFIG)" ON)
option(ETHASH_BUILD_ETHASH "Build ethash::ethash library (if NO only ethash::keccak is built)" YES)
cmake_dependent_option(ETHASH_BUILD_GLOBAL_CONTEXT "Build ethash::global-context library" YES "ETHASH_BUILD_ETHASH" NO)
Expand Down
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
- image: ethereum/cpp-build-env:19-gcc-12-multilib
environment:
- BUILD_TYPE: RelWithDebInfo
- CMAKE_OPTIONS: -DCMAKE_TOOLCHAIN_FILE=cmake/cable/toolchains/cxx14-32bit.cmake -DSANITIZE=address
- CMAKE_OPTIONS: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/32bit.cmake -DSANITIZE=address
- TESTS_EXCLUDE: _oom
- ASAN_OPTIONS: allocator_may_return_null=1
steps:
Expand All @@ -177,7 +177,7 @@ jobs:
environment:
- TESTS_EXCLUDE: _oom|_multithreaded
- BUILD_TYPE: Coverage
- CMAKE_OPTIONS: -DCMAKE_TOOLCHAIN_FILE=cmake/cable/toolchains/powerpc64.cmake -DCMAKE_EXE_LINKER_FLAGS=-static
- CMAKE_OPTIONS: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/powerpc64.cmake -DCMAKE_EXE_LINKER_FLAGS=-static
steps:
- checkout
- install-powerpc64
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion cmake/cable/.gitignore

This file was deleted.

98 changes: 0 additions & 98 deletions cmake/cable/CableBuildInfo.cmake

This file was deleted.

44 changes: 0 additions & 44 deletions cmake/cable/CableBuildType.cmake

This file was deleted.

36 changes: 0 additions & 36 deletions cmake/cable/CablePackage.cmake

This file was deleted.

31 changes: 0 additions & 31 deletions cmake/cable/CableToolchains.cmake

This file was deleted.

0 comments on commit 8ce526a

Please sign in to comment.