Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Optimize compilation #200

wants to merge 3 commits into from

Conversation

AndreyMlashkin
Copy link
Collaborator

No description provided.

@AndreyMlashkin AndreyMlashkin marked this pull request as draft December 12, 2024 11:53
@@ -22,7 +22,7 @@ jobs:
nix build -L .?#checks.x86_64-linux.crypto3-clang
env:
NIX_CONFIG: |
cores = 4
cores = 16
Copy link
Contributor

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, exactly!

Copy link

github-actions bot commented Dec 12, 2024

Clang Test Results

  160 files  ±0    160 suites  ±0   18m 7s ⏱️ -12s
3 178 tests ±0  3 172 ✅ ±0  6 💤 ±0  0 ❌ ±0 
3 266 runs  ±0  3 260 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit f4150eb. ± Comparison against base commit d8178a9.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 12, 2024

Gcc Test Results

  160 files  ±0    160 suites  ±0   19m 6s ⏱️ -8s
3 178 tests ±0  3 172 ✅ ±0  6 💤 ±0  0 ❌ ±0 
3 266 runs  ±0  3 260 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit f4150eb. ± Comparison against base commit d8178a9.

♻️ This comment has been updated with latest results.

@AndreyMlashkin AndreyMlashkin marked this pull request as ready for review December 12, 2024 19:06
@@ -22,17 +22,13 @@ jobs:
nix build -L .?#checks.x86_64-linux.crypto3-gcc
env:
NIX_CONFIG: |
cores = 4
cores = 12
Copy link
Collaborator

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants