<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Arial;font-size:10pt;color:#0078D7;margin:15pt;" align="Left">
[AMD Official Use Only - Internal Distribution Only]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
libclc should build with -nogpulib (and/or we could stop bothering to compile libclc with -amdhsa, and only -mesa3d, but ideally clover would have the same problem and also need -nogpulib)<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-Matt<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Dieter Nützel <Dieter@nuetzel-hh.de><br>
<b>Sent:</b> Tuesday, April 14, 2020 8:25 PM<br>
<b>To:</b> Mesa Devel <mesa-dev@lists.freedesktop.org><br>
<b>Cc:</b> Jan Vesely <jan.vesely@rutgers.edu>; Arsenault, Matthew <Matthew.Arsenault@amd.com>; Alexander Kornienko <alexfh@google.com><br>
<b>Subject:</b> [clover] Compilation of latest 'libclc git' with LLVM 11.0.0git need ROCm?! - Didn't hit that ever before.</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">[CAUTION: External Email]<br>
<br>
Hello Jan, hello all,<br>
<br>
compiling latest libclc git<br>
9aa6f35 (HEAD -> master, origin/master, origin/HEAD) travis: Add LLVM 9<br>
build<br>
<br>
with LLVM 11.0.0git from today<br>
b30246087a3 (HEAD -> master) [llvm][StringExtras] Add missing include of<br>
cctype<br>
<br>
./configure.py && time nice +19 make -j8<br>
<br>
resulted in this error:<br>
<br>
PREPARE-BUILTINS built_libs/tahiti-amdgcn--.bc<br>
LLVM-CC amdgcn--amdhsa/lib/workitem/get_global_size.cl.bc<br>
clang-11: error: cannot find ROCm installation.  Provide its path via<br>
--rocm-path, or pass -nogpulib.<br>
make: *** [Makefile:8132:<br>
amdgcn--amdhsa/lib/workitem/get_global_size.cl.bc] Fehler 1<br>
242.706u 1.148s 4:03.87 99.9%   0+0k 0+177176io 0pf+0w<br>
<br>
Since when is ROCm needed?<br>
<br>
Thanks,<br>
<br>
Dieter<br>
</div>
</span></font></div>
</div>
</body>
</html>