[LLVMbugs] [Bug 23328] LLVM_OPTIMIZED_TABLEGEN broken

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 4 01:34:05 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23328

Tilmann Scheller <t.scheller at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #6 from Tilmann Scheller <t.scheller at samsung.com> ---
Thanks for the quick fix!

I just gave this a try with r236412 and it successfully builds now :)

Unfortunately the build is about one minute slower though, the root cause seems
to be that the optimized TableGen binary is only built on one core as you can
see in the following excerpt of the build log ("warning: jobserver unavailable:
using -j1.  Add '+' to parent make rule.")

...
-- Generating done
-- Build files have been written to: /home/t/work/arm/obj-debug/NATIVE
[ 13%] Built target CONFIGURE_LLVM_NATIVE
^[[35m^[[1mScanning dependencies of target LLVM-tablegen-host
^[[35m^[[1mScanning dependencies of target CLANG-tablegen-host
^[[0m^[[0m[ 13%] [ 13%] ^[[34m^[[1mBuilding native TableGen...
^[[0m^[[34m^[[1mBuilding native TableGen...
^[[0mgmake[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent
make rule.
gmake[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make
rule.
^[[35m^[[1mScanning dependencies of target LLVMTableGen
^[[35m^[[1mScanning dependencies of target LLVMTableGen
^[[0m^[[0m[  0%] [  0%] ^[[32mBuilding CXX object
lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o
^[[32mBuilding CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o
^[[0m^[[0m[  0%] [  0%] ^[[32mBuilding CXX object
lib/TableGen/CMakeFiles/LLVMTableGen.dir/Main.cpp.o
^[[0m^[[32mBuilding CXX object
lib/TableGen/CMakeFiles/LLVMTableGen.dir/Main.cpp.o
...

I guess CMake is creating an inefficient Makefile here?

-- 
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-bugs/attachments/20150504/f8bfe6e0/attachment.html>


More information about the llvm-bugs mailing list