Modifying auto generated kernels - firedrakeproject/firedrake GitHub Wiki look in .cache delete the .so edit the C file run the compile command from the log file move the XXX_p2131290.so.tmp to XXX.so