support gand compile and build