abinfo "Apply HIP disable glibcxx assert patch..."
cd "$SRCDIR"/../hip
ab_apply_patches "$SRCDIR"/autobuild/patches/0003-hip-header-disbale-glibcxx-assert.patch
abinfo "Apply CLR patch..."
cd "$SRCDIR"
ab_apply_patches "$SRCDIR"/autobuild/patches/0002-support-arm64-loongarch64-riscv64.patch
ab_apply_patches "$SRCDIR"/autobuild/patches/0004-replace-llvm-mc.patch
ab_apply_patches "$SRCDIR"/autobuild/patches/*.patch."${CROSS:-$ARCH}"
