-
Notifications
You must be signed in to change notification settings - Fork 8
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
Optimize compilation #200
base: master
Are you sure you want to change the base?
Optimize compilation #200
Conversation
0bbbc95
to
2c0292d
Compare
0dafe88
to
254cc88
Compare
@@ -22,7 +22,7 @@ jobs: | |||
nix build -L .?#checks.x86_64-linux.crypto3-clang | |||
env: | |||
NIX_CONFIG: | | |||
cores = 4 | |||
cores = 16 |
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.
I see you were able to increase the number of cores. Did the memory usage decline after pre-compiled headers, and that allowed you to use more cores?
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.
Yes, exactly!
01faa75
to
f4150eb
Compare
@@ -22,17 +22,13 @@ jobs: | |||
nix build -L .?#checks.x86_64-linux.crypto3-gcc | |||
env: | |||
NIX_CONFIG: | | |||
cores = 4 | |||
cores = 12 |
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.
why not 16?
@@ -26,6 +26,7 @@ target_include_directories(${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME} INTER | |||
|
|||
target_link_libraries(${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME} INTERFACE | |||
Boost::container | |||
Boost::random |
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.
may be make sense link Boost
librarie only to executable (proof-producer and tests), not for header only libraries?
But we can do it in another PR
No description provided.