Error in Building

30 views
Skip to first unread message

Mandana Farhang Ghahfarokhi

unread,
Jul 22, 2023, 1:12:33 PM7/22/23
to enzym...@googlegroups.com
Hi 

I hope you are doing well.

I have built the LLVM on Ubuntu (WSL) but when I want to build ENZYME it shows an error.

/root/Enzyme/enzyme/Enzyme/Enzyme.cpp:2499:12: error: ‘AAReturnedValues’ has not been declared
 2499 |           &AAReturnedValues::ID,  &AANoFree::ID,         &AANoUndef::ID,
      |            ^~~~~~~~~~~~~~~~
/root/Enzyme/enzyme/Enzyme/Enzyme.cpp:2506:7: error: could not convert ‘{(& llvm::AAHeapToStack::ID), (& llvm::AANoCapture::ID), (& llvm::AAMemoryBehavior::ID), (& llvm::AAMemoryLocation::ID), (& llvm::AANoUnwind::ID), (& llvm::AANoSync::ID), (& llvm::AANoRecurse::ID), (& llvm::AAWillReturn::ID), (& llvm::AANoReturn::ID), (& llvm::AANonNull::ID), (& llvm::AANoAlias::ID), (& llvm::AADereferenceable::ID), (& llvm::AAAlign::ID), <expression error>, (& llvm::AANoFree::ID), (& llvm::AANoUndef::ID)}’ from ‘<brace-enclosed initializer list>’ to ‘llvm::DenseSet<const char*>’
 2506 |       };

Would you please help me to solve this problem?

best regards
Mandana
Reply all
Reply to author
Forward
0 new messages