add ori to compile