3 ms·
How do I enable the LLVM jit? It doesn't seem to be included in the build system
by rurban 9y ago
How do I enable the LLVM jit? It doesn't seem to be included in the build system
- NeoHermit 9y agoYou will need to clone https://github.com/daokoder/DaoJIT https://github.com/daokoder/DaoJIT, and place it under dao/modules. Then edit dao/modules/makefile.dao to add: if( DaoMake::IsDir( "DaoJIT" ) ) modules.AddDirectory( "JIT", "DaoJIT" ); then it will be included in the building. After building, you can add "-j" option in the command line to turn on jit. However, this module has not been tested for some time. It could be broken. It depends on older versions of LLVM, which is unfortunately not available on my laptop, so I cannot verify it now.