[llvm-dev] ninja: error: remove(include/llvm/Support): Directory not empty

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 17 10:16:49 PDT 2020


Yeah, I was experiencing this - appreciate the fix/pointer!

On Mon, Aug 17, 2020 at 8:20 AM Jinsong Ji via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> FYI. In case someone is also experiencing this glitch....
>
> I think this should be a bug of ninja,
> it failed to clean deprecated entry in .ninja_log for `include/llvm/Support` .
>
> You should be able to avoid the problem by either
> 1. delete the deprecated line in .ninja_log
>   sed -i -e "/include\/llvm\/Support[^/]/d" .ninja_log
> 2. delete .ninja_log.
> 3. do a clean build with ToT in a new build dir
>
>
> https://bugs.llvm.org/show_bug.cgi?id=46906
>
>
>
> Best,
>
> Jinsong Ji (纪金松), PhD.
>
> XL/LLVM on Power Compiler Development
> E-mail: jji at us.ibm.com
> ----- Forwarded by Jinsong Ji/Jacksonville/IBM on 08/17/2020 11:19 AM -----
>
> From: bugzilla-daemon at llvm.org
> To: jji at us.ibm.com
> Date: 08/16/2020 07:42 AM
> Subject: [EXTERNAL] [Bug 46906] cmake config failure with Ninja
>
> ________________________________
>
>
>
> Comment # 3 on bug 46906 from Uday Bondhugula
> Thanks very much @jji. I was able to avoid the way you suggested - this issue
> had been a thorn for several weeks. My previous attempts to do a clean build
> were all after a "rm -rf *" and so this hadn't wiped out the .ninja_log. I
> missed that and suspected something in the cmake configuration to the cause.
>
> ________________________________
> You are receiving this mail because:
>
> You are on the CC list for the bug.
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list