Export compile commands
Generalise to_axis