I'm interested in reproducing this setup to explore your results in the HIDA (ASPLOS'24) paper, however I'm having too many errors attempting to build the cmake. I get a cavalcade of these errors revolving around not recognizing types in different namespaces
error: no template named 'Optional'; did you mean 'std::optional'?error: no template named 'Optional' in namespace 'llvm'; did you mean 'std::optional'?error: no member named 'AffineForOp' in namespace 'mlir'error: unknown type name 'AffineForOp'; did you mean 'affine::AffineForOp'?error: unknown type name 'AffineIfOp'; did you mean 'affine::AffineIfOp'?error: no type named 'AffineIfOp' in namespace 'mlir'; did you mean 'affine::AffineIfOp'?
I'm interested in reproducing this setup to explore your results in the HIDA (ASPLOS'24) paper, however I'm having too many errors attempting to build the cmake. I get a cavalcade of these errors revolving around not recognizing types in different namespaces
error: no template named 'Optional'; did you mean 'std::optional'?
error: no template named 'Optional' in namespace 'llvm'; did you mean 'std::optional'?
error: no member named 'AffineForOp' in namespace 'mlir'
error: unknown type name 'AffineForOp'; did you mean 'affine::AffineForOp'?
error: unknown type name 'AffineIfOp'; did you mean 'affine::AffineIfOp'?
error: no type named 'AffineIfOp' in namespace 'mlir'; did you mean 'affine::AffineIfOp'?
In a variety of files including:
/ScaleHLS-HIDA/build/tools/scalehls/include/scalehls/Dialect/HLS/HLSOps.h.inc
/ScaleHLS-HIDA/build/tools/scalehls/include/scalehls/Dialect/HLS/HLSOpsInterfaces.h.inc
/ScaleHLS-HIDA/build/tools/scalehls/include/scalehls/Dialect/HLS/Utils.h
/ScaleHLS-HIDA/build/tools/scalehls/include/scalehls/Dialect/HLS/AffineOps.h.inc
Is this perhaps a GCC version error? Could you share what version you're using?