Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selects specific llvm components for linking #1435

Merged
merged 1 commit into from
Feb 18, 2022

Commits on Feb 18, 2022

  1. selects specific llvm components for linking

    Up until now, we were linking all available LLVM components that
    resulted in the bloated binary image and linking errors due to
    improperly packaged libraries on various distributions, e.g., missing
    Polly library, various problems with libterm, and so on, all these
    problems arose from components that we do not actually use. Moreover,
    the problem were never solved and issues remain open for decades.
    
    The new approach is to link only the selected components. Since the
    list of available components is quite extensive (around 200) and there
    is no documentation available about their dependencies and intention,
    it is quite hard to identify the subset that we really need. The
    current default set works fine on llvm-14 but we can refine it later,
    once we will discover any problems. The components could be manually
    selected via the `./configure` script with the
    `--with-llvm-components` option. For example
    `--with-llvm-components=all` will enable the old behavior.
    ivg committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    c03e8e7 View commit details
    Browse the repository at this point in the history