ethereum / retesteth

testeth via RPC. Test run, generation by t8ntool protocol
http://retesteth.ethdevops.io/
GNU General Public License v3.0
116 stars 76 forks source link

Build instructions for MacOs X in readme #166

Closed Filter94 closed 2 years ago

Filter94 commented 2 years ago

It seems to be missing instructions for MacOs X, but I can see that on Cirlce CI the MacOs workflow is building the project.

Can you please add it?

winsvega commented 2 years ago

mac os has just recently updated and didn't work. I just fixed it now.

winsvega commented 2 years ago

Can you confirm that this instruction set is working?

HOMEBREW_NO_AUTO_UPDATE=1 brew install -q cmake ninja git go@1.16
git clone --depth 1 https://github.com/ethereum/go-ethereum.git
git clone --depth 1 https://github.com/ethereum/tests.git
cd go-ethereum
make all
ln -s ./build/bin/evm /usr/local/bin/evm
cd ..
git clone git@github.com:ethereum/retesteth.git
cd retesteth
mkdir build
cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../toolchain.cmake
cmake --build .
Filter94 commented 2 years ago

Here is what it fails with

FAILED: Boost-prefix/src/Boost-stamp/Boost-configure /Users/rvaseev/.hunter/_Base/c4cfcc0/15c9a7f/77f6818/Build/Boost/Build/Boost-prefix/src/Boost-stamp/Boost-configure 
cd /Users/rvaseev/.hunter/_Base/c4cfcc0/15c9a7f/77f6818/Build/Boost/Source && /usr/local/Cellar/cmake/3.23.2/bin/cmake -E echo "Dummy patch command" && . /Users/rvaseev/.hunter/_Base/Download/Hunter/0.23.44/c4cfcc0/Unpacked/scripts/clear-all.sh && ./bootstrap.sh && /usr/local/Cellar/cmake/3.23.2/bin/cmake -E touch /Users/rvaseev/.hunter/_Base/c4cfcc0/15c9a7f/77f6818/Build/Boost/Build/Boost-prefix/src/Boost-stamp/Boost-configure
Dummy patch command
Building Boost.Build engine with toolset darwin... 
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details
ninja: build stopped: subcommand failed.

[hunter ** FATAL ERROR **] Build step failed (dir: /Users/rvaseev/.hunter/_Base/c4cfcc0/15c9a7f/77f6818/Build/Boost
winsvega commented 2 years ago

do you use latest retesteth/develop branch?

here

git clone git@github.com:ethereum/retesteth.git
cd retesteth
git fetch origin
git checkout develop

because the instruction set is for release. so would not need to checkout develop branch