mirror of
https://github.com/vacp2p/nim-ngtcp2.git
synced 2026-01-09 21:18:07 -05:00
update docs
This commit is contained in:
@@ -16,10 +16,8 @@ Updating to a newer version
|
||||
|
||||
Follow these steps when updating the wrapper to a newer version of ngtcp2:
|
||||
|
||||
- run `nimble install` (needed inly once for fresh clones)
|
||||
- requires `clang` to be installed on the system
|
||||
- update the git submodule in `libs/` to point to the new version
|
||||
- `git submodule update --init --recursive`
|
||||
- run `build.sh` (requires Nim and CMake to be installed)
|
||||
- run `build.sh` (requires Nim, CMake and `clang` to be installed)
|
||||
- increase the `version` property in the `ngtcp2.nimble` file
|
||||
- commit the changes
|
||||
|
||||
3
build.sh
3
build.sh
@@ -26,6 +26,9 @@ for file in `ls "${root}/build/lib"/*.c`; do
|
||||
toCompile+=("$file")
|
||||
done
|
||||
|
||||
# futhark is required by generate_ngtcp2.nim
|
||||
nimble install futhark@0.15.0
|
||||
|
||||
nim c --maxLoopIterationsVM:100000000 generate_ngtcp2.nim
|
||||
|
||||
# add prelude
|
||||
|
||||
@@ -7,4 +7,3 @@ installDirs = @["libs", "build"]
|
||||
installFiles = @["ngtcp2.nim"]
|
||||
|
||||
requires "nim >= 1.6.0"
|
||||
requires "futhark >= 0.15.0"
|
||||
|
||||
Reference in New Issue
Block a user