mighty-gerbils / gerbil

Gerbil Scheme
https://cons.io
GNU Lesser General Public License v2.1
1.16k stars 112 forks source link

New Separate Compilation Mode #1200

Closed vyzo closed 7 months ago

vyzo commented 7 months ago

While running the r7rs benchmarks, it was observed in several programs that separate compilation with libgerbil was regressing quite a bit. After a weekend long investigation, the problem was narrowed down to the incremental link with libgerbil.

Hence, this pr: we don't even build libgerbil anymore but we keep the object files and link them as needed. This resolves the regression with quite good results. And since we don't really need --enable-shared by default now, it is flipped to build static as default.

While at it, the compilation of binaries that share individual modules got quite a bit faster, as it is parallelized and caches the object files.

netlify[bot] commented 7 months ago

Deploy Preview for elastic-ritchie-8f47f9 ready!

Name Link
Latest commit c787b8d7f46657ce9fc10792a7d19f8c3a575e31
Latest deploy log https://app.netlify.com/sites/elastic-ritchie-8f47f9/deploys/66132f429de9f00008d76c21
Deploy Preview https://deploy-preview-1200--elastic-ritchie-8f47f9.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.