Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while building.
Therefore switch from having the ninja generator opt-in to having it opt-out.
Previously cmake-ports that wanted to use ninja could set
CMAKE_NINJA=yes
now, ports that do not work with ninja can set
cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.
The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary
PR: 219629
PR: 213331
Exp-run by: antoine
Reviewed by: rakuco
Differential Revision: https://reviews.freebsd.org/D10748
This commit is contained in:
@@ -41,7 +41,7 @@ SQLITE3_INTERNAL_DESC= Link SQLite 3 backend into CppDB
|
||||
SQLITE3_MODULE_DESC= Build SQLite 3 backend as a CppDB module
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
USES= cmake:outsource ninja tar:bzip2
|
||||
USES= cmake:outsource tar:bzip2
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user