Skip to content

Build fails: no member named 'ArgAndResultAttrsOpInterface' in namespace 'mlir' #8954

@kammoh

Description

@kammoh

I'm trying to build circt from the main branch and get this error:

build/tools/circt/include/circt/Dialect/SV/SV.h.inc:8517:287: error: no member named 'ArgAndResultAttrsOpInterface' in namespace 'mlir'

The build command:

cmake -G Ninja llvm/llvm -B build \
    -DCMAKE_BUILD_TYPE=Release \
    -DLLVM_ENABLE_ASSERTIONS=OFF \
    -DLLVM_TARGETS_TO_BUILD=host \
    -DLLVM_ENABLE_PROJECTS=mlir \
    -DLLVM_EXTERNAL_PROJECTS=circt \
    -DLLVM_EXTERNAL_CIRCT_SOURCE_DIR=$PWD \
    -DCIRCT_SLANG_FRONTEND_ENABLED=ON \
    -DCMAKE_EXPORT_COMPILE_COMMANDS=ON

ninja -C build

Using Apple clang version 17.0.0 (clang-1700.0.13.5).

I also tried a clean clone, making sure I had the correct llvm version checked out, but still no luck.

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