<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW " title="NEW --- - GLEW build performance" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23708&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=4eX5WBzI_gNee46hrnCFrNiqqlhUh1_YjkO1OfGu9M8&s=ajhOJNeUAbT4MuaGGCnevaABMmwqWrGdfhJVn2IW0UA&e=">23708</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>GLEW build performance
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.6
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>d.m.bugs@web.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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 <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_nigels-2Dcom_glew&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=4eX5WBzI_gNee46hrnCFrNiqqlhUh1_YjkO1OfGu9M8&s=VqdaslraR4w-Z-g-hUGBiJ36uWZ5JNE7gWjx-JzYT9k&e=">https://github.com/nigels-com/glew</a>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>