Re:Dao Programming Language
by rurban on Tuesday August 15, 2017 @03:39AM
(#15016241)
How do I enable the LLVM jit? It doesn't seem to be included in the build system
[ Parent
| on HN ]
You will need to clone 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.