Skip to content

Wrapper generator doesn't generate complete wrappers. #16

@jumerckx

Description

@jumerckx

Running res/wrap.jl does not generate the wrapper for me, the output only contains the prologue. The script does however find the headers.

# [...]
┌ Info: Generating...
│   llvm_version = v"15.0.6"
└   julia_version = v"1.10.0"
   Resolving package versions...
# [...]
[ Info: Found dependent header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/AffineMap.h
[ Info: Found dependent header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/AffineExpr.h
[ Info: Found dependent header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/IR.h
[ Info: Found dependent header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Support.h
[ Info: Found dependent header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir/Conversion/Passes.capi.h.inc
[ Info: Found dependent header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Pass.h
[ Info: Found dependent header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir/Dialect/Async/Passes.capi.h.inc
[ Info: Found dependent header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir/Dialect/GPU/Transforms/Passes.capi.h.inc
[ Info: Found dependent header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir/Dialect/Linalg/Passes.capi.h.inc
[ Info: Found dependent header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir/Dialect/SparseTensor/Transforms/Passes.capi.h.inc
[ Info: Found dependent header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir/Transforms/Transforms.capi.h.inc
[ Info: Parsing headers...
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/BuiltinAttributes.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/BuiltinTypes.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Conversion.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Debug.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Diagnostics.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/Async.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/ControlFlow.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/Func.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/GPU.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/LLVM.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/Linalg.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/PDL.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/Quant.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/SCF.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/Shape.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/SparseTensor.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Dialect/Tensor.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/ExecutionEngine.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/IntegerSet.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Interfaces.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/RegisterEverything.h
[ Info: Processing header: /tmp/jl_mZV0rh/x86_64-linux-gnu-libgfortran5-cxx11-libstdcxx30-llvm_version+15-julia_version+1.10.0/destdir/include/mlir-c/Transforms.h
[ Info: Building the DAG...
[ Info: Emit Julia expressions...
[ Info: Done!
[ Info: [ProloguePrinter]: print to /home/jumerckx/clang_experiment/MLIR.jl/res/../lib/15/libMLIR_h.jl
[ Info: [GeneralPrinter]: print to /home/jumerckx/clang_experiment/MLIR.jl/res/../lib/15/libMLIR_h.jl
[ Info: [EpiloguePrinter]: print to /home/jumerckx/clang_experiment/MLIR.jl/res/../lib/15/libMLIR_h.jl
[ Info: Done!

Did the script somehow become outdated or could I possible be invoking it in a wrong way?

Thanks,
Jules

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