meilisearch/MeiliSearch

Enable LTO again

Aberta

#2.718 aberto em 29 de ago. de 2022

 (7 comentários) (1 reação) (0 responsável)Rust (2.542 forks)batch import
enhancementhelp wantedperformancetech discussion

Métricas do repositório

Stars
 (57.572 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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!

Guia do colaborador