Skip to content

check-llvm-dialects does not work in standalone build with LLVM system headers  #47

@tsymalla

Description

@tsymalla

On my system, I configure and build llvm-dialects with system-wide LLVM headers and the CMake AddLLVM script. I use a standalone build outside of a LLVM tree.
While building dialects itself works, building check-llvm-dialects does not, as the includes are not propagated to this subtarget, so the compiler legitimately complains about missing LLVM includes.
When cloning dialects to a subfolder to llvm (tools), everything works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions