EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.27k stars 3.6k forks source link

CMake modules are missing from tarball #7145

Closed Jeiwan closed 5 years ago

Jeiwan commented 5 years ago

I have eosio and eosio.cdt installed via Homebrew, and there are no CMake modules installed with eosio:

ls -la /usr/local/Cellar/eosio/1.7.1/opt/eosio/lib/cmake
total 0
drwxr-xr-x  2 Jeiwan  staff  64 Apr  3 23:47 .
drwxr-xr-x  3 Jeiwan  staff  96 Apr  3 23:47 ..

As I just found out they're commented out in the script that builds tarball: https://github.com/EOSIO/eos/blob/686f0deb5dac097cc292f735ccb47c238e763de0/scripts/generate_tarball.sh#L24-L25

These modules are required to compile contract tests. eosio.contracts repo contains CMakeLists.txt that requires eosio package: https://github.com/EOSIO/eosio.contracts/blob/master/tests/CMakeLists.txt#L7

But this package is not provided by eosio.cdt as well, thus there's currently no way to write and run contract tests.

Jeiwan commented 5 years ago

Fixed by compiling EOS from sources.