notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
gn Gn meta build framework - standalone version
1897 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1897Version of this port present on the latest quarterly branch.
Maintainer: o.hushchenkov@gmail.com search for ports maintained by this maintainer
Port Added: 2019-02-16 18:52:56
Last Update: 2021-04-24 18:56:58
Commit Hash: 0eaae11
License: BSD3CLAUSE
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/gn
  2. /usr/local/share/licenses/gn-1897/catalog.mk
  3. /usr/local/share/licenses/gn-1897/LICENSE
  4. /usr/local/share/licenses/gn-1897/BSD3CLAUSE
Collapse this list.
Dependency lines:
  • gn>0:devel/gn
Conflicts:
CONFLICTS_INSTALL:
  • chromium-gn
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/devel/gn/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/gn
  • pkg install gn
PKGNAME: gn
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
gn
ABIlatestquarterly
FreeBSD:11:aarch64-1714
FreeBSD:11:amd6418971897
FreeBSD:11:armv6-1714
FreeBSD:11:i38618971897
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-1897
FreeBSD:12:amd6418971897
FreeBSD:12:armv6-1823_1
FreeBSD:12:armv7-1823_1
FreeBSD:12:i38618971897
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-1823_2
FreeBSD:13:aarch641823_21897
FreeBSD:13:amd6418971897
FreeBSD:13:armv61823_21823_2
FreeBSD:13:armv71823_21897
FreeBSD:13:i38618971897
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc641823_21897
FreeBSD:14:aarch641897-
FreeBSD:14:amd641897-
FreeBSD:14:armv61823_2-
FreeBSD:14:armv71823_2-
FreeBSD:14:i3861897-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc641823_2-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ninja : devel/ninja
  2. python3.8 : lang/python38
This port is required by:
for Build
  1. lang/v8
  2. lang/v8-beta
  3. www/deno

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/cglogic/gn/tar.gz/v1897?dummy=/
Collapse this list.
Port Moves
  • port moved here from devel/chromium-gn on 2021-01-02
    REASON: Has expired: Uses deprecated version of python, use devel/gn instead

Number of commits found: 15

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
24 Apr 2021 18:56:58
 files touched by this commit commit hash:0eaae11a7b886f626b8a491e644cd47ddf5403cb  1897
Rainer Hurling (rhurlin) search for other commits by this committer
devel/gn: Update to 1897

Changelog: https://github.com/cglogic/gn/compare/v1823...v1897

PR:		255365
Submitted by:	Oleh Hushchenkov  <o.hushchenkov@gmail.com> (maintainer)
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  1823_2
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1823_2
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
08 Dec 2020 16:09:58
Original commit files touched by this commit Revision:557292  1823_2
linimon search for other commits by this committer
Mark as BROKEN on riscv64.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com build testing
25 Nov 2020 15:42:37
Original commit files touched by this commit Revision:556296  1823_2
pkubaj search for other commits by this committer
devel/gn: add support for powerpc*
21 Sep 2020 16:46:18
Original commit files touched by this commit Revision:549458  1823_1
swills search for other commits by this committer
devel/gn: Fix build on 11.4 and 11-STABLE

PR:		249504
Submitted by:	Oleh Hushchenkov <o.hushchenkov@gmail.com> (maintainer)
19 Aug 2020 10:52:17
Original commit files touched by this commit Revision:545309  1823
fernape search for other commits by this committer
devel/gn: update to 1823


 * Speed up generation of input files list
 * Add support escape JSON string to stream for export compile commands
 * Support specifying required Ninja version
 * Specify deps format for actions
 * Don't assert on gn builds without any target
 * Make data_deps in copy() targets work
 * Use correct path to generated binary for EXECUTABLE target
 * Make analyze handle targets from all toolchains
 * Add no_check_targets config option
 * On arm64 hosts, set host_cpu to 'arm64', not 'arm'
 * Also apply no_check_target filtering to gn gen --check
 * clang: Add support for C++ modules in deps

While here, reorder out of place variables

PR:	248685
Submitted by:	o.hushchenkov@gmail.com (maintainer)
23 Feb 2020 19:22:49
Original commit files touched by this commit Revision:526938  1714
fernape search for other commits by this committer
devel/gn: update to version 1714.

Full changelog: https://github.com/cglogic/gn/compare/v1600...v1714

Changelog highlights:

 * Rust compilation tool and toolchain support
 * Teach gn to handle systems with > 64 processors
 * Switch to C++17
 * Support for RISC-V
 * Improve support for frameworks in gn
 * Speed up source file set operations

PR:	244307
Submitted by:	o.hushchenkov@gmail.com (maintainer)
26 Jul 2019 20:46:57
Original commit files touched by this commit Revision:507372  1600_1
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
30 Jun 2019 20:28:04
Original commit files touched by this commit Revision:505482  1600
swills search for other commits by this committer
devel/gn: update to 1600

PR:		238683
Submitted by:	Oleh Hushchenkov <o.hushchenkov@gmail.com> (maintainer)
14 Jun 2019 14:48:02
Original commit files touched by this commit Revision:504196  1592_1
linimon search for other commits by this committer
Revert r504088 per jbeich.

Apparently r503780 should be sufficient to unbreak this port on
powerpc64.  (r503780 has not yet been attempted on pylon, so I did
not note the commit.)

Reported by:	jbeich
13 Jun 2019 12:53:20
Original commit files touched by this commit Revision:504088  1592_1
linimon search for other commits by this committer
Fix hardwired assumption that FreeBSD implies clang to fix build on
GCC-based systems.

It wasn't clear to me how to pass environment variables to build/gen.py,
so this change seemed more straightforward.

Approved by:	portmgr (tier-2 blanket)
09 Jun 2019 04:30:46
Original commit files touched by this commit Revision:503780  1592_1
jbeich search for other commits by this committer
devel/gn: modernize build

- Unbreak with GCC
- Unbreak on DragonFly
- Allow Python 3.x
- Allow debug builds
- Convert to HAS_CONFIGURE
- Convert to do-build from USES=ninja
- Drop default build dependency in do-test
- Drop unnecessary glob in CONFLICTS_INSTALL

PR:		238353
Reviewed by:	cpm
Approved by:	Oleh Hushchenkov (maintainer)
02 Jun 2019 19:50:17
Original commit files touched by this commit Revision:503332  1592
kai search for other commits by this committer
devel/gn: Update to 1592

Changelog:

Minor fixes to tracing

The chrome://tracing expects the timestamp to be in microseconds, but
it had been stored in the TraceItem in nanoseconds, so this fixes it.

Also adds quotes around the thread_id, since on Mac it is written in hex
format and so the JSON parser doesn't recognize it.

Finally, adds toolchain information to the import traces.

PR:		238241
Submitted by:	Oleh Hushchenkov <o.hushchenkov@gmail.com> (maintainer)
16 Feb 2019 18:52:38
Original commit files touched by this commit Revision:493058  1529
pi search for other commits by this committer
New port: devel/gn

GN is a meta-build system that generates build files for Ninja.

WWW: https://gn.googlesource.com/gn/

PR:		234309
Submitted by:	Oleh Hushchenkov <o.hushchenkov@gmail.com>

Number of commits found: 15