Been there, done that, got the hat, T-shirt, drink holder, and bumper sticker. Yes, the machine runs out of virtual memory and locks up if I let it run flat out. When building the nearly 4K modules of CopperSpice the heavy use of templates means each “cpu” tends to need 8GB of RAM. When building small things not a problem. The simple reason is ninja by default uses something like 1 less than total virtual CPUs or perhaps physical. I need to know the proper syntax to pass what would be -j=3 on the command line to cmake-ninja. Once you have configured the project for building you can now build the code.I have searched and cannot find what should be a simple thing. Be sure to set this when you want to install to another base path. The default for this depends on the underlying system but for the common desktop systems it is /usr/local, Program Files and /Applications.
0 Comments
Leave a Reply. |