Skip to content

How to statically link everything? #151830

@nullfs

Description

@nullfs

The Building a Distribution of LLVM guide mentions that:

The guidance for maximizing performance of the generated compiler is to use LTO, PGO, and statically link everything.

What options besides LLVM_STATIC_LINK_CXX_STDLIB would allow me to build a fully statically-linked version of clang and other LLVM tools?

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmakeBuild system in general and CMake in particularquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions