Skip to content

LLVM shouldn't be build with --disable-threads #7071

Closed
@alexcrichton

Description

@alexcrichton

After #6511 and #7040, rustc is ready to use LLVM completely threadsafely.

All that's missing is to stop passing the --disable-threads and --disable-pthreads flags to LLVM's configure script. Once this is done, the lock-enabling code in trans should be uncommented as well.

This is a simple change, but requires the bots to rebuild LLVM (which has caused problems in the past). @brson has some other LLVM patches to integrate, and this would fit nicely with those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions