Skip to content

atomic-lock-free test doesn't account for LLVM support #35023

Closed
@cuviper

Description

@cuviper

In run-make/atomic-lock-free/Makefile, it attempts to build its script for many different architectures. However, when using an external LLVM build, it may not have all architectures available, so the test will fail despite anything Rust could do. For example, on Fedora 24 I have:

$ llvm-config --targets-built
X86 AMDGPU PowerPC NVPTX SystemZ AArch64 ARM BPF CppBackend

In particular this doesn't have "Mips", so the mips and mipsel targets will fail in atomic-lock-free. It would be nicer if this test only attempted architectures that are included in one's build of LLVM.

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