libera/#clasp - IRC Chatlog
Search
12:15:24
borodust
drmeister: libtorch is now officially the most crazy c++ library i ever tried to wrap xD
15:43:11
drmeister
borodust: Interesting - it's bizarre that it can crash libclang when it must be compiled by clang.
15:48:37
borodust
it's not too weird - too many variables around manually processing stuff through libclang
15:49:51
borodust
i'll try compilation database thing - maybe that will simplify process and get rid of most errors
16:09:44
drmeister
Oh - I thought you were using the compilation database. I always use the compilation database - I used to run into trouble when I didn't.
16:17:21
borodust
it works without it for most project, but huge and complex projects like libtorch is kinda tricky to get parsed correctly while manually feeding things into libclang
16:18:12
borodust
gonna try using compilation db approach later today and see if it makes a difference
16:41:25
drmeister
This has instructions to tell cmake to generate a compilation database... https://clang.llvm.org/docs/JSONCompilationDatabase.html