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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to