courgette-build
courgette-build copied to clipboard
Windows x64 build
Attached is a build of courgette (https://chromium.googlesource.com/chromium/src/courgette/+/ee842c190fe103bd3ad2f75fa65c5f401f228826) for Windows x64.
Thank you. Can you explain how you produced it?
No problem 😃 I used the Chromium build instructions at https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/windows_build_instructions.md , but I used the command ninja -C out\Default courgette
to only build courgette and not chromium.
It's a shame that the entire chromium repo has to be checked out to build this relatively small tool...
BTW, to avoid generating a debug build you can run gn gen out/Default --args="is_component_build = false is_debug = false"
when generating the output dir and then run autoninja -C out\Default courgette
to produce a release build. This will allow you to just drag out courgette64.exe
rather than requiring all of the dlls, etc... to be present.
Thought I might as well attach the latest courgette build while I'm here.
Oh, it's too verbose. Not only there are a lot of lines on the screen, but it also creates a log file. And there are no flags to get rid of all this, right?
$ courgette64.exe love.txt lust.txt patch.crgt
[0128/081433.311:VERBOSE1:ensemble_create.cc(237)] start GenerateEnsemblePatch
[0128/081433.312:VERBOSE1:ensemble_create.cc(138)] done FindEmbeddedElements 0
[0128/081433.312:VERBOSE1:ensemble_create.cc(144)] old has 0 elements
[0128/081433.312:VERBOSE1:ensemble_create.cc(145)] new has 0 elements
[0128/081433.313:VERBOSE1:ensemble_create.cc(155)] done make bases 0s
[0128/081433.313:VERBOSE1:ensemble_create.cc(218)] done FindGenerators found 0 in 0.001s
[0128/081433.313:VERBOSE1:simple_delta.cc(35)] GenerateSimpleDelta 15 15
[0128/081433.314:VERBOSE1:bsdiff_create.cc(96)] Start bsdiff
[0128/081433.316:VERBOSE1:bsdiff_create.cc(123)] done divsufsort 0.001
[0128/081433.317:VERBOSE1:bsdiff_create.cc(338)] Control tuples: 1 copy bytes: 15 mistakes: 0 (skips: 1) extra bytes: 0
Uncompressed bsdiff patch size 34
End bsdiff 0.003
[0128/081433.319:VERBOSE1:simple_delta.cc(35)] GenerateSimpleDelta 15 15
[0128/081433.320:VERBOSE1:bsdiff_create.cc(96)] Start bsdiff
[0128/081433.323:VERBOSE1:bsdiff_create.cc(123)] done divsufsort 0.001
[0128/081433.325:VERBOSE1:bsdiff_create.cc(338)] Control tuples: 1 copy bytes: 15 mistakes: 0 (skips: 1) extra bytes: 0
Uncompressed bsdiff patch size 34
End bsdiff 0.005
[0128/081433.326:VERBOSE1:simple_delta.cc(35)] GenerateSimpleDelta 6 6
[0128/081433.326:VERBOSE1:bsdiff_create.cc(96)] Start bsdiff
[0128/081433.328:VERBOSE1:bsdiff_create.cc(123)] done divsufsort 0.001
[0128/081433.330:VERBOSE1:bsdiff_create.cc(338)] Control tuples: 1 copy bytes: 1 mistakes: 0 (skips: 1) extra bytes: 5
Uncompressed bsdiff patch size 39
End bsdiff 0.004
[0128/081433.332:VERBOSE1:ensemble_create.cc(440)] done GenerateEnsemblePatch 0.02s