[LLVMbugs] [Bug 23708] New: GLEW build performance

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat May 30 06:22:25 PDT 2015


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

            Bug ID: 23708
           Summary: GLEW build performance
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: d.m.bugs at web.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Building GLEW with clang takes 50x longer than building GLEW with GCC.

With clang: make  853.40s user 2.66s system 99% cpu 14:18.96 total
With gcc:   make  28.35s user 0.47s system 99% cpu 28.987 total

Steps to reproduce:

git clone https://github.com/nigels-com/glew
cd glew
make extensions
mkdir BUILD
cd BUILD
cmake -DCMAKE_CXX_COMPILER=$(which clang++) -DCMAKE_C_COMPILER=$(which clang)
-DBUILD_UTILS=OFF ../build/cmake
time make


System:
 - clang: 3.6.1
 - gcc:   5.1.0
 - OS:    Arch Linux

-- 
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/20150530/b146d02e/attachment.html>


More information about the llvm-bugs mailing list