[CINN] Emergency Fix for Paddle-CINN CI Problem (#43860)
The paddle-cinn failed recently and block all PRs from merging. We found the key error reason from the log: ![b207bbfd3ebfabb2141a88b85241420b](https://user-images.githubusercontent.com/7913861/175882664-4dd14059-b716-44c4-a975-528de17ace46.png) The CI environment didn't contain llvm. We then debug and found https://github.com/PaddlePaddle/Paddle/pull/43534 deleted the llvm due to clang-format upgrade: ![f9d07b8e3c2b2cba7a790716961d98cf](https://user-images.githubusercontent.com/7913861/175883020-1a29c538-e511-4ada-a899-9b3ced3c0ae2.png) So this PR added the llvm back. However, `clang-llvm-3.8.0` contains `clang-format-3.8`, so we modified the old command `cp -r` to `cp -rn`, which could ignore the installed `clang-format-13`
Showing
想要评论请 注册 或 登录