Ninja is yet another build system. It takes as input the interdependencies
of files (typically source code and output executables) and orchestrates
building them, quickly.
Ninja joins a sea of other build systems. Its distinguishing goal is to be
fast. It is born from my work on the Chromium browser project, which has
over 30,000 source files and whose other build systems (including one built
from custom non-recursive Makefiles) can take ten seconds to start building
after changing one file. Ninja is under a second.
===> The following configuration options are available for ninja-1.13.2,4:
BASH=on: Install programmable completions for Bash
DOCS=on: Build and/or install documentation
ZSH=on: Install programmable completions for zsh
===> Use 'make config' to modify these settings
devel/ninja: Update to 1.13.1
This has been a painstakingly long process, but we're not going back now.
All chromium-based ports have been verified to build with ninja 1.13.1.
Special thanks to makc for revitalizing my interest in this and for doing
the patch for ninja itself.
PR: 279187
Exp-run by: antoine
devel/ninja: Roll back to 1.11.1
Despite passing an exp-run and successful local builds, there still
exists a race condition in www/qt[56]-webengine when building with
ninja 1.12.x that is proving difficult to solve. After a successful
build, it seems subsequent builds fail when using ccache with a
generated header missing before it is needed at compile time.
Even after adding //chrome/app:generated_resources_grit as a dep in
src/3rdparty/chromium/chrome/browser/devtools/BUILD.gn, the build is
still failing with:
../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/chrome/browser/devtools/devtools_file_helper.cc:31:10:
fatal error: 'chrome/grit/generated_resources.h' file not found
This comes very late in the build, so trial and error attempts to fix
this are tedious, costing an hour+ of build time with each attempt.
Reverting to ninja 1.11.1 gets things building again while this can
sorted out in the background under less stressful conditions.
This partially reverts bb0835fd3aa268260cc9eae4ba0cad55814d6265.
PR: 279162, 279164
Reported by: Robert Cina <transitive@gmail.com>
Revert "devel/ninja: Update to 1.12.1"
Ninja 1.12.1 is causing more dependency problems at least in www/qt6-webengine
that will require some non-trivial amount of time to investigate.
This reverts commit f1cd45a6680d7274e0e5b985393dab116a853ca8.
PR: 279164
Reported by: Robert Cina <transitive@gmail.com>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/ninja: update to 1.11.1, latest upstream
There are some new features (--quiet!) and validation nodes (if
you write ninja.build by hand, but probably not relevant for now
with any of the ninja-generators). Release notes are in a Google
group, so I won't link them; look on
https://ninja-build.org/
Build validated by (re)building Calamares.
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
Make python only a build dependency
While here do not conditionnalize docs installation the avoid double .include
and stage make sure DOCS is respected
- devel/ninja updated to 2012-06-19 snapshot
- Build ninja with CXXFLAGS from /etc/make.conf and without '-g'
PR: ports/169465
Submitted by: Grzegorz Blach <magik@roorback.net> (maintainer)
Approved by: crees (mentor)
- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@ for generating the initial patch
PR: ports/163521
Submitted by: Pedro Giffuni <pfg apache.org>
Hat: portmgr
Exp run by: pav
Ninja is yet another build system. It takes as input the interdependencies
of files (typically source code and output executables) and orchestrates
building them, quickly.
Ninja joins a sea of other build systems. Its distinguishing goal is to be
fast. It is born from my work on the Chromium browser project, which has
over 30,000 source files and whose other build systems (including one built
from custom non-recursive Makefiles) can take ten seconds to start building
after changing one file. Ninja is under a second.
WWW: https://github.com/martine/ninja
PR: ports/154603
Submitted by: Grzegorz Blach <magik at roorback.net>