meilisearch/MeiliSearch

Enable LTO again

Open

#2,718 opened on Aug 29, 2022

View on GitHub
 (7 comments) (1 reaction) (0 assignees)Rust (20,887 stars) (733 forks)batch import
enhancementhelp wantedperformancetech discussion

Description

We first enabled LTO in this PR https://github.com/meilisearch/meilisearch/pull/2690 to improve the performance of the search engine.

Then, we had to disable LTO in this PR https://github.com/meilisearch/meilisearch/pull/2717 because we were not able to compile the aarch64 binary anymore. See: https://github.com/meilisearch/meilisearch/actions/runs/2948932141

We would introduce LTO again and prevent using it when compiling the aarch64 binary. Some beginning of solution here

If anyone has a better solution, we would happy to read you!

Contributor guide

Enable LTO again · meilisearch/MeiliSearch#2718 | Good First Issue