source /usr/local/Ascend/ascend-toolkit/latest/set_env.sh # CANN 环境(按实际路径) bash build.sh && source install.sh