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

Jinsong Ji via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 17 08:20:11 PDT 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200817/66b48c1a/attachment.html>


More information about the llvm-dev mailing list