Closed blackmennewstyle closed 8 months ago
OK. I got it to work. I needed to modify these files:
vim ~/beam/CMakeCache.txt
//Build wallet with IPFS support
BEAM_IPFS_SUPPORT:BOOL=OFF
vim ~/beam/CMakeLists.txt
if(APPLE_M1)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcpu=apple-m1")
else()
if(ARCH_NATIVE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
vim ~/beam/3rdparty/re2/CMakeLists.txt
if(APPLE_M1)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcpu=apple-m1")
else()
if(ARCH_NATIVE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
The you can proceed with a complete build: cmake -DCMAKE_BUILD_TYPE=Release . && make -j2
It will take a while but at the end you will get beam-node
, beam-wallet
, wallet-api
and explorer-node
all built :fire: :rocket:
Hi, Recently, I also experimented with aarch64 https://github.com/BeamMW/beam/tree/linux_arm64_build and here are builds on github https://github.com/BeamMW/beam/actions/runs/5797278196
Hi, Recently, I also experimented with aarch64 https://github.com/BeamMW/beam/tree/linux_arm64_build and here are builds on github https://github.com/BeamMW/beam/actions/runs/5797278196
Thank you for your answer, i actually managed to build everything using the steps i described previously lol
It's interesting to know that there is also a branch for arm64
lol
I'm trying to build
beam
on a Raspberry Pi 4 runningDebian 11
withkernel 5.10.0-23-arm64
. But a 3rd party library seems to have issue withaarch64