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

Reduce memory usage during installation by disabling cppcms test build #3

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

Conversation

Yorwba
Copy link

@Yorwba Yorwba commented Nov 22, 2021

After taking a closer look at the out-of-memory error in Tatoeba/tatoeba2#2859 , I noticed that the error always happened when compiling one of the tests for cppcms (specifically xss_test). Since running the tests is already disabled, building them is completely unnecessary. Commenting out the corresponding lines of cppcms's CMakeLists.txt reduces the memory requirements enough for the build to succeed.

(By the way, is there some way to make Ansible present the output of failed commands in a more readable way than the one-line JSON object it produces by default? That was fairly annoying to work with.)

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.

1 participant