[Pkg-javascript-devel] Help: nodejs 16 need node-acorn source to break bootstrapping loop

Jérémy Lal kapouer at melix.org
Wed Dec 1 16:23:53 GMT 2021


Le mer. 1 déc. 2021 à 17:22, Jérémy Lal <kapouer at melix.org> a écrit :

>
>
> Le mer. 1 déc. 2021 à 16:41, Pirate Praveen <praveen at onenetbeyond.org> a
> écrit :
>
>>
>>
>> 2021, ഡിസംബർ 1 5:18:25 PM IST, "Jérémy Lal" <kapouer at melix.org>ൽ എഴുതി
>> >Hi,
>> >
>> >To work around the bootstrapping issue that is posed by the huge loop
>> >of build-dependencies:
>> >nodejs -> node-acorn -> rollup -> zillion things -> nodejs,
>> >it is possible to make a stage 1 nodejs build that loads node-acorn
>> >*source* files,
>> >instead of the compiled ones.
>>
>> If nodejs 16 can handle acorn source files (ES6) directly, can we just
>> skip the build of acorn ? So we can drop nodejs build dependency.
>>
>
> yes, it can be skipped, for stage 1 build.
> But the configuration options used for that build are not supported by
> upstream
> for anything else than development, and it has a non-negligible impact on
> nodejs initial load time.
> So as soon as node-acorn can be built (by rollup), normal nodejs build
> must be done.
>

Also note that i keep documentation about the bootstrapping build in nodejs
debian/README.source
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211201/2de5b94d/attachment.htm>


More information about the Pkg-javascript-devel mailing list