changd to inherit g-ir in many recipes