Skip to content

Commit

Permalink
Merge pull request #191 from eosnetworkfoundation/yarkin/support_arm
Browse files Browse the repository at this point in the history
Support arm
  • Loading branch information
yarkinwho authored Feb 29, 2024
2 parents f2a5f48 + cff5608 commit e87222a
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ set(CMAKE_TOOLCHAIN_FILE
)
endif()

include(cmake/conan.cmake)

project(eos-evm-node)

include(cmake/conan.cmake)

set(VERSION_MAJOR 0)
set(VERSION_MINOR 7)
set(VERSION_PATCH 0)
Expand Down
6 changes: 5 additions & 1 deletion cmake/conan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@

function(guess_conan_profile)
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
set(PROFILE linux_gcc_11_release)
if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
set(PROFILE linux_arm_gcc_11_release)
else()
set(PROFILE linux_gcc_11_release)
endif()
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
if(CMAKE_OSX_ARCHITECTURES STREQUAL "arm64")
set(PROFILE macos_arm_clang_13_release)
Expand Down
12 changes: 12 additions & 0 deletions cmake/profiles/linux_arm_gcc_11_debug
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[settings]
os=Linux
os_build=Linux
arch=armv8
arch_build=armv8
compiler=gcc
compiler.version=11
compiler.libcxx=libstdc++11
build_type=Debug
[options]
[build_requires]
[env]
12 changes: 12 additions & 0 deletions cmake/profiles/linux_arm_gcc_11_release
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[settings]
os=Linux
os_build=Linux
arch=armv8
arch_build=armv8
compiler=gcc
compiler.version=11
compiler.libcxx=libstdc++11
build_type=Release
[options]
[build_requires]
[env]

0 comments on commit e87222a

Please sign in to comment.