google / mlir-hs

Haskell bindings for MLIR
Apache License 2.0
92 stars 16 forks source link

mlir-hs-tblgen broken #48

Closed k355l3r-5yndr0m3 closed 11 months ago

k355l3r-5yndr0m3 commented 1 year ago

Expected Behavior

stack build terminate successfully.

Actual Behavior

The binary mlir-hs-tblgen failed to compiled. Commenting out the line #include "llvm/ADT/Optional.h" in hs-generators.cc allows the compilation to be successful, but now mlir-hs-tblgen failed with CommandLine Error: Option 'enable-fs-discriminator' registered more than once!

Steps to Reproduce the Problem

  1. Remove the line #include "llvm/ADT/Optional.h" from tblgen/hs-generators.cc
  2. Execute stack build

Specifications

jpienaar commented 11 months ago

Thanks for the report. Yes this one is pending updates.

jpienaar commented 11 months ago

Should be all fixed now.

jpienaar commented 11 months ago

@k355l3r-5yndr0m3 also feel free to reach out if you have any questions/want to share what you are working on. Github notifications are a bit wonky, but I'm easily reachable via email or on Discord (LLVM or IREE) or Discourse (LLVM).