This repository was archived by the owner on Aug 11, 2020. It is now read-only.
This repository was archived by the owner on Aug 11, 2020. It is now read-only.
For new contributors: here's how to build Node.js with QUIC enabled #183
Open
Description
The instructions are similar to one given in CONTRIBUTING.md or BUILDING.md in Node.js core repo, but with the following changes:
- You have to fork https://github.com/nodejs/quic instead of https://github.com/nodejs/node
- You need to pass
--experimental-quic
while running./configure
For example:
- Step 1 of setting local environment states fork https://github.com/nodejs/node on GitHub. You have to fork https://github.com/nodejs/quic instead
- Building Node.js section recommends running
./configure
, you've to run./configure --experimental-quic
instead
Example commands to run coverage:
-
$ git clone git@github.com:trivikr/quic.git $ cd quic
- On Unix/macOS:
$ ./configure --experimental-quic --coverage $ make -j4 coverage
- On Windows:
$ .\vcbuild experimental-quic coverage
EDITs:
-
2019-11-11: Added instructions for Windows as pointed out in For new contributors: here's how to build Node.js with QUIC enabled #183 (comment)
-
2020-02-17 - Due to some as yet unknown bug during build using Visual Studio Build Tools 2017, it is necessary to build on Windows using Visual Studio Build Tools 2019. See WTF? #344
Metadata
Metadata
Assignees
Labels
No labels