$ git clone -n https://gitee.com/yan1hcdc/gcc.git /var/lib/mock/dist-an8.10-build-476792-74208/root/chroot_tmpdir/scmroot/gcc Cloning into '/var/lib/mock/dist-an8.10-build-476792-74208/root/chroot_tmpdir/scmroot/gcc'... $ git fetch origin 8bf67a45b6a82969f9c880861cfc50c562157461:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/gcc * [new ref] 8bf67a45b6a82969f9c880861cfc50c562157461 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8bf67a4 add the definition for build_offload_amdgcn