Skip to content

Enable LTO for build #155

@Skylion007

Description

@Skylion007

One option to improve the size / performance of the conda package that would only come at the expense of compile time would be to enable Link Time Optimization for the conda recipe. This could be accomplished by adding -DLLVM_ENABLE_LTO=ON to the build.sh script (the default is off). It is not enabled automatically by building in Release mode. It would have the benefit of both generating faster binaries as well as binaries that are potentially smaller.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions