[PATCH] D121445: [Clang][CSKY] Add the CSKY target and compiler driver

Zixuan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 30 19:34:03 PDT 2022


zixuan-wu added a comment.

In D121445#3416518 <https://reviews.llvm.org/D121445#3416518>, @rengolin wrote:

> There is also a test error:
>
>   ******************** TEST 'Clang :: Driver/csky-toolchain.c' FAILED ********************
>   ...
>   /home/rengolin/devel/llvm-project/clang/test/Driver/csky-toolchain.c:16:24: error: C-CSKY-LINUX-MULTI: expected string not found in input
>   // C-CSKY-LINUX-MULTI: "{{.*}}/Inputs/multilib_csky_linux_sdk/lib/gcc/csky-linux-gnuabiv2/6.3.0/../../..{{/|\\\\}}..{{/|\\\\}}csky-linux-gnuabiv2/bin{{/|\\\\}}ld"
>   
>                          ^
>
> I'm guessing this is the path of a local sysroot you have on your machine?
>
> If possible, try to get a new environment (container, VM, alternative machine) and make sure a clean build still passes the tests.

I have met this before because the downloading of patch will ignore empty files. You can have a check that your apply does not contain new empty files in multilib_csky_linux_sdk.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121445/new/

https://reviews.llvm.org/D121445



More information about the cfe-commits mailing list