-
Notifications
You must be signed in to change notification settings - Fork 354
How can I build a static lepton binary #55
Comments
Yes: I've done so before-- otherwise I believe you can pass |
Using cmake as described in README has indeed produced static binary. Thanks! |
It turns out that lepton compiled with cmake+make is much slower at compression (0.34 MiB/sec on my Linux machine) than lepton compiled with autogen.sh + configure + make (2.75 MiB/sec, same machine, same input). Any idea why what may be the case? |
LDFLAGS=-static ./configure && make also produces statically linked lepton, which is as fast as dynamically linked one produced by configure and make. Still I think it would be good to fix slowness of lepton when using cmake, so that others don't run into it. |
sorry for the late response |
Ah, ok. I have never used cmake before, and living mostly in Java and Go worlds, I have long forgotten about concept of release builds :-) Thanks for help. |
Is there a way to build static lepton binary to avoid library dependencies issues across machines?
The text was updated successfully, but these errors were encountered: