<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Clover] Handle -g passed as a compile option"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100218#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Clover] Handle -g passed as a compile option"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100218">bug 100218</a>
from <span class="vcard"><a class="email" href="mailto:awatry@gmail.com" title="Aaron Watry <awatry@gmail.com>"> <span class="fn">Aaron Watry</span></a>
</span></b>
<pre>Just thought I'd chime in here.
I don't necessary try to use '-g' when compiling cl kernels/programs in clover,
but I have been poking at getting some programs working that relying on the
CL1.2 'static' keyword...
I had been trying to enable that at one point by setting
CLOVER_EXTRA_BUILD_OPTIONS to include "-Dcl_clang_storage_class_specifiers", as
I found that manually invoking clang with that define set allowed me to build
some of the kernels I was working with (e.g. blender cycles, along with some
stuff from hcc and others).
But no matter what I set, including specifying -cl-std=1.2 (after bumping the
supported version in [platform|device].cpp, it always seemed like the clang
invocation was ignoring all of the indicated build options.
We may end up having to do number 3 anyway, as I feel like we're losing the
user-specified compiler arguments somehow.
But there's always the possibility that I'm doing it wrong, so take this with a
grain of salt.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>