#8950: Consider using ninja to build cmake packages.
-------------------------+-------------------------
Reporter: ken@… | Owner: blfs-book@…
Type: enhancement | Status: new
Priority: normal | Milestone: future
Component: BOOK | Version: SVN
Severity: normal | Keywords:
-------------------------+-------------------------
On the inkscape list this week I saw mention of using 'ninja' to speed the
build on MS Windows (MSYS2 or mingw, I think), then somebody chimed in
that on linux it vastly speeded up his rebuilds (debug, change one file,
rebuild) - apparently cmake insists on checking all the dependencies for
each file, or something.
Then, while trying to build rust I noticed that ninja seems to be an
option.
I found the 1.7.2 release at [https://github.com/ninja-
build/ninja/releases] - in firefox that gave me a named/versioned tarball,
I guess that wget might only produce v1.7.2.tar.gz.
So far, I have not (yet) tried it in rust - still trying to get a default
build there to understand the options.
But on the ninja website it says that LLVM can use it, and at
https://community.kde.org/Guidelines_and_HOWTOs/CMake/Building the
instructions suggest that a different cmake invocation can be used to
build the various parts of kde with ninja.
At the moment I have no idea whether it makes a real difference on non-
developer machines, so for the moment I'll mark this as future.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/8950>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page