On Tue, May 02, 2023 at 12:48:52AM +0200, Volker Schlecht wrote:
> Attached are ports for
>
> devel/gn
> https://gn.googlesource.com/gn/
> Based on a snapshot from 20230419
> MASTER_SITE is a personal mirror, since googlesource doesn't provide
> stable archives.
Can you add a comment for that?
The COMPILER line wants a "C++17" comment; passing -v to build shows compiler
output which we want to see... -O3 usage needs to patched out.
I set USE_CCACHE=Yes, but it is not picked up; cmake ports default to ninja,
there it works.
You patch out git usage, is that for gn's build itself and/or consumers?
Please add a comment to the patch so things like these are clear to porters.
Have you tried splitting sources and build artifacts (SEPARATE_BUILD=Yes,
then probably -C/cd here and there with WRKSRC and WRKBUILD)?
mkdir should be INSTALL_DATA_DIR.
Did you look into failing tests?
[40/688] FormatTest.001
...
[121/688] FormatTest.084
for example all fail; could be one (simple) fix this class.
>
> needed by
>
> lang/deno
Will look at this another time.
> https://deno.com
> Includes a gazillion patches for v8, taken from www/chromium
> Includes half a gazillion patches adapted from the FreeBSD port
> Caveats:
> * stub function to retrieve the resident set size is stubbed to always
> return 0
> * misses an implementation of Deno.systemMemoryInfo()
> --> Deno.systemMemoryInfo() and Deno.memoryUsage() don't crash, but
> don't return useful values either.
>
> amd64: both tested, both seem to work reasonably well.
>
> arm64: devel/gn tested, lang/deno still building because RaspberryPi ...