Skip to content

The LLVM sub-module is now fetched even when the LLVM codegen is disabled #162694

Description

@antoyo

cc @Kobzol

Summary

When building rustc with cg_gcc, the LLVM sub-module is fetched while it should not.

Command used

./x test tests/ui/eii --force-rerun

Expected behaviour

The LLVM sub-module should not be fetched and LLVM should not be built when only the GCC codegen is enabled.

Actual behaviour

The LLVM sub-module is fetched and LLVM is built.

Bootstrap configuration (bootstrap.toml)

profile = "compiler"  # Includes one of the default files in src/bootstrap/defaults
change-id = 140732

[build]
jobs = 12

[rust]
codegen-backends = ["gcc"]
deny-warnings = false
debug-assertions = false
debug-assertions-std = false
lto = "off"

[llvm]
download-ci-llvm = false
ninja = false

[gcc]
download-ci-gcc = true

Operating system

ArchLinux

HEAD

b924f94

Additional context

This was probably introduced by #161290.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions