Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2021 10:31:03 +0100
From:      David Chisnall <theraven@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   Re: -CURRENT compilation time
Message-ID:  <4b5b1ae0-9fa3-ad80-9bd0-9802270e104b@FreeBSD.org>
In-Reply-To: <20210909080446.d223e9e16b90b5600f962757@dec.sakura.ne.jp>
References:  <CAGSa5y0FMwt8g4%2BmqFegvrgBzxJCwupB_RJqb52ZUQy9EFB__Q@mail.gmail.com> <b0dadbd1-3f99-ef8e-0a35-f35d3dab828c@FreeBSD.org> <CAMWY7CCUXJmUT8g1irOUNAxgihhoqpcTcV1nF7MR1NHCVY-%2BEQ@mail.gmail.com> <a16ae438-cef8-d21f-cf5c-891a2a328a26@FreeBSD.org> <e9476190-e098-ae0c-8c40-5445516fa06d@freebsd.org> <2cfb912a-618b-9f06-9cef-d2fe1d78fe97@FreeBSD.org> <20210908105236.1abb8f9a@ernst.home> <746cf2d1-0192-a55d-c3f8-ac7fc7120b47@FreeBSD.org> <CANCZdfrMDoP8W3HbJ-_p4sHNwYDCadhV9HSy-qzLRSeBwxvrwA@mail.gmail.com> <20210909080446.d223e9e16b90b5600f962757@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/09/2021 00:04, Tomoaki AOKI wrote:
> devel/ninja/Makefile has USES= python in it, so it maybe require python
> to run or at least build.

You could probably remove that line without anyone noticing.  Ninja uses 
Python for precisely one thing (or, at least, did last time I looked):

There is a debugging mode that will generate a visualisation of all of 
the dependencies in the project and run a web server that allows you to 
view this visualisation in your web browser.

In about 10 years of using Ninja, I have used this functionality 
precisely once, and that was immediately after poking the code to find 
out why it had a Python dependency, discovering this mode existed, and 
looking to see what it did.

Nothing on the build paths depends on Python and Ninja doesn't require 
Python to build itself.

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4b5b1ae0-9fa3-ad80-9bd0-9802270e104b>