-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Init & build scripts #1886
Init & build scripts #1886
Conversation
Co-authored-by: Igor Egorov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
нужно вынести параметры количества ядер в env
scripts/build.sh
Outdated
|
||
source $parent_dir/venv/bin/activate | ||
$parent_dir/venv/bin/cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release | ||
$parent_dir/venv/bin/cmake --build build --target kagome -j 6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-j 6 - тут 6 нужно вынести в переменные по хорошему. Что-то типа CMAKE_CORE_COUNT и добавить ее в .env файл
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ну и если используется несколько вот таких флагов (-DCMAKE_BUILD_TYPE=Release) - тут тоже можно унести в переменную
Referenced issues
Description of the Change
Adds init.sh and build.sh scripts to simplify process of building KAGOME for newcomers
Benefits
More simple way of building KAGOME locally
Possible Drawbacks
Runs only on ubuntu
Usage Examples or Tests
Check readme difff