<div dir="ltr">Doru,<div>I have updated the repositories (clang and openmp) placed under clang-ykt to today's HEAD</div><div>and built it without an issue on PowerPC. I confirmed libomp.a in the destination lib directory.</div><div><br></div><div>Thanks,</div><div>Itaru. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 30, 2019 at 10:26 PM Gheorghe-Teod Bercea <<a href="mailto:Gheorghe-Teod.Bercea@ibm.com">Gheorghe-Teod.Bercea@ibm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="2" face="sans-serif">Hi Itaru,</font><br><br><font size="2" face="sans-serif">I don't have any issues on building
on PowerPC.</font><br><br><font size="2" face="sans-serif">Can you do a ninja clean and then rebuild?</font><br><br><font size="2" face="sans-serif">Thanks,</font><br><br><font size="2" face="sans-serif">--Doru</font><br><br><br><font size="1" face="Arial"><br></font><table width="650" style="border-collapse:collapse"><tbody><tr height="8"><td width="650" style="border-style:none;border-color:rgb(0,0,0);border-width:0px;padding:0px"><font size="3" color="#8f8f8f" face="Arial"><b>Doru
Bercea</b></font><font size="1" face="Arial"><br>Research Staff Member<br>Cloud Platform - Advanced Compilers Group<br>IBM TJ Watson Research Center</font></td></tr></tbody></table><br><table width="650" style="border-collapse:collapse"><tbody><tr height="8"><td width="650" colspan="2" style="border-style:none;border-color:rgb(0,0,0);border-width:0px;padding:0px"><hr></td></tr><tr valign="top" height="8"><td width="369" style="border-style:none;border-color:rgb(0,0,0);border-width:0px;padding:0px"><font size="1" color="#4181c0" face="Arial"><b>Phone:</b></font><font size="1" color="#5f5f5f" face="Arial">914-945-2196</font><font size="1" color="#4181c0" face="Arial"> | <b>Mobile:</b></font><font size="1" color="#5f5f5f" face="Arial">914-208-1517</font><font size="1" color="#4181c0" face="Arial"><b><br>E-mail:</b></font><font size="1" color="#5f5f5f" face="Arial"> </font><a href="mailto:Gheorghe-Teod.Bercea@ibm.com" target="_blank"><font size="1" color="#5f5f5f" face="Arial"><u>Gheorghe-Teod.Bercea@ibm.com</u></font></a><font size="1" color="#4181c0" face="Arial"><b><br>Chat:</b></font><img src="cid:16a86e45dcec204bfcc1" alt="Skype:" style="border: 0px solid;"><font size="1" color="#5f5f5f" face="Arial">doru.bercea </font></td><td width="280" style="border-style:none;border-color:rgb(0,0,0);border-width:0px;padding:0px"><div align="right"><img src="cid:16a86e45dcfc204bfcc2" width="83" height="30" alt="IBM" style="border: 0px solid;"><font size="1" color="#5f5f5f" face="Arial"><br><br>Yorktown Heights, NY 10598<br>United States</font></div></td></tr></tbody></table><br><font size="2" face="sans-serif"><br></font><br><br><br><br><font size="1" color="#5f5f5f" face="sans-serif">From:      
 </font><font size="1" face="sans-serif">Itaru Kitayama <<a href="mailto:itaru.kitayama@gmail.com" target="_blank">itaru.kitayama@gmail.com</a>></font><br><font size="1" color="#5f5f5f" face="sans-serif">To:      
 </font><font size="1" face="sans-serif">Gheorghe-Teod Bercea
<<a href="mailto:Gheorghe-Teod.Bercea@ibm.com" target="_blank">Gheorghe-Teod.Bercea@ibm.com</a>></font><br><font size="1" color="#5f5f5f" face="sans-serif">Cc:      
 </font><font size="1" face="sans-serif">Alexey Bataev <<a href="mailto:a.bataev@outlook.com" target="_blank">a.bataev@outlook.com</a>>,
"<a href="mailto:openmp-dev@lists.llvm.org" target="_blank">openmp-dev@lists.llvm.org</a>" <<a href="mailto:openmp-dev@lists.llvm.org" target="_blank">openmp-dev@lists.llvm.org</a>></font><br><font size="1" color="#5f5f5f" face="sans-serif">Date:      
 </font><font size="1" face="sans-serif">04/30/2019 06:47 AM</font><br><font size="1" color="#5f5f5f" face="sans-serif">Subject:    
   </font><font size="1" face="sans-serif">Re: [Openmp-dev]
Building a static library of OpenMP</font><br><hr noshade><br><br><br><font size="3">Doru,</font><br><br><font size="3">On PowerPC (a POWER8 Minsky node), Ninja build is stuck
on this phase:</font><br><font size="3">$ ninja install</font><br><font size="3">[0/3] Building CXX object tools/clang/...gDynamicASTMatchers.dir/Registry.cpp.o</font><br><br><font size="3">... and no progress, it seems. Have you successfully finished
building the patched-upstream branches</font><br><font size="3">on PowerPC?</font><br><br><font size="3">Thanks,</font><br><font size="3">Itaru.</font><br><br><font size="3">On Mon, Apr 29, 2019 at 11:49 PM Gheorghe-Teod Bercea
<</font><a href="mailto:Gheorghe-Teod.Bercea@ibm.com" target="_blank"><font size="3" color="blue"><u>Gheorghe-Teod.Bercea@ibm.com</u></font></a><font size="3">>
wrote:</font><br><font size="2" face="sans-serif">Hi Itaru,</font><font size="3"><br></font><font size="2" face="sans-serif"><br>What version of Clang are you using?</font><font size="3"><br></font><font size="2" face="sans-serif"><br>I have a version which supports static linking at this page:</font><font size="3"><br></font><font size="3" color="blue"><u><br></u></font><a href="https://github.com/clang-ykt" target="_blank"><font size="2" color="blue" face="sans-serif"><u>https://github.com/clang-ykt</u></font></a><font size="3"><br></font><font size="2" face="sans-serif"><br>Clone the llvm, clang and openmp repos and use the patched-upstream branch
on all three.</font><font size="3"><br></font><font size="2" face="sans-serif"><br>Then build as you normally do.</font><font size="3"><br></font><font size="2" face="sans-serif"><br>This is a version that is quite recent, updated to newest development trunk
yesterday.</font><font size="3"><br></font><font size="2" face="sans-serif"><br>Let me know if this works.</font><font size="3"><br></font><font size="2" face="sans-serif"><br>Thanks,</font><font size="3"><br></font><font size="2" face="sans-serif"><br>--Doru</font><font size="1" face="Arial"><br></font><table width="650" style="border-collapse:collapse"><tbody><tr height="8"><td width="648" style="border-style:none;border-color:rgb(0,0,0);border-width:0px;padding:1px"><font size="3" color="#8f8f8f" face="Arial"><b>Doru
Bercea</b></font><font size="1" face="Arial"><br>Research Staff Member<br>Cloud Platform - Advanced Compilers Group<br>IBM TJ Watson Research Center</font></td></tr></tbody></table><br><table width="650" style="border-collapse:collapse"><tbody><tr height="8"><td width="648" colspan="2" style="border-style:none;border-color:rgb(0,0,0);border-width:0px;padding:1px"><hr></td></tr><tr valign="top" height="8"><td width="367" style="border-style:none;border-color:rgb(0,0,0);border-width:0px;padding:1px"><font size="1" color="#4181c0" face="Arial"><b>Phone:</b></font><font size="1" color="#5f5f5f" face="Arial">914-945-2196</font><font size="1" color="#4181c0" face="Arial">| <b>Mobile:</b></font><font size="1" color="#5f5f5f" face="Arial">914-208-1517</font><font size="1" color="#4181c0" face="Arial"><b><br>E-mail:</b></font><font size="1" color="#5f5f5f" face="Arial"> </font><a href="mailto:Gheorghe-Teod.Bercea@ibm.com" target="_blank"><font size="1" color="#5f5f5f" face="Arial"><u>Gheorghe-Teod.Bercea@ibm.com</u></font></a><font size="1" color="#4181c0" face="Arial"><b><br>Chat:</b></font><img src="cid:_2_4AECBC004B0DCF080049DADC852583EC" width="16" height="16" alt="Skype:" style="border: 0px solid;"><font size="1" color="#5f5f5f" face="Arial">doru.bercea
</font></td><td width="278" style="border-style:none;border-color:rgb(0,0,0);border-width:0px;padding:1px"><div align="right"><img src="cid:_2_4AECC5984AECC0480049DADC852583EC" width="83" height="30" alt="IBM" style="border: 0px solid;"><font size="1" color="#5f5f5f" face="Arial"><br><br>Yorktown Heights, NY 10598<br>United States</font></div></td></tr></tbody></table><br><font size="2" face="sans-serif"><br></font><font size="3"><br><br><br><br></font><font size="1" color="#5f5f5f" face="sans-serif"><br>From:        </font><font size="1" face="sans-serif">Alexey
Bataev <</font><a href="mailto:a.bataev@outlook.com" target="_blank"><font size="1" color="blue" face="sans-serif"><u>a.bataev@outlook.com</u></font></a><font size="1" face="sans-serif">></font><font size="1" color="#5f5f5f" face="sans-serif"><br>To:        </font><font size="1" face="sans-serif">Itaru
Kitayama <</font><a href="mailto:itaru.kitayama@gmail.com" target="_blank"><font size="1" color="blue" face="sans-serif"><u>itaru.kitayama@gmail.com</u></font></a><font size="1" face="sans-serif">>,
Gheorghe-Teod Bercea <</font><a href="mailto:gheorghe-teod.bercea@ibm.com" target="_blank"><font size="1" color="blue" face="sans-serif"><u>gheorghe-teod.bercea@ibm.com</u></font></a><font size="1" face="sans-serif">></font><font size="1" color="#5f5f5f" face="sans-serif"><br>Cc:        </font><font size="1" face="sans-serif">"</font><a href="mailto:openmp-dev@lists.llvm.org" target="_blank"><font size="1" color="blue" face="sans-serif"><u>openmp-dev@lists.llvm.org</u></font></a><font size="1" face="sans-serif">"
<</font><a href="mailto:openmp-dev@lists.llvm.org" target="_blank"><font size="1" color="blue" face="sans-serif"><u>openmp-dev@lists.llvm.org</u></font></a><font size="1" face="sans-serif">></font><font size="1" color="#5f5f5f" face="sans-serif"><br>Date:        </font><font size="1" face="sans-serif">04/29/2019
10:29 AM</font><font size="1" color="#5f5f5f" face="sans-serif"><br>Subject:        </font><font size="1" face="sans-serif">Re:
[Openmp-dev] Building a static library of OpenMP</font><font size="3"><br></font><hr noshade><font size="3"><br><br><br>Doru, can you help with this?</font><p><tt><font size="3">-------------<br>Best regards,<br>Alexey Bataev</font></tt><font size="3"><br>28.04.2019 2:25, Itaru Kitayama пишет:<br>Alexey, all, <br>My platform requires apps be built statically, so creating libomp.a is
a critical mission for me.<br>If there is documentation in the work out there, would you share it with
us please? <br><br><br>On Sun, Mar 31, 2019 at 6:57 AM Alexey Bataev <</font><a href="mailto:a.bataev@hotmail.com" target="_blank"><font size="3" color="blue"><u>a.bataev@hotmail.com</u></font></a><font size="3">>
wrote:<br>Hi Itaru, yes, it is not easy work to do. We discussed it again a few days
ago and it still requires some additional work.<br><br>Best regards,<br>Alexey Bataev<br><br>> 30 марта 2019 г., в 16:59, Itaru Kitayama via Openmp-dev <</font><a href="mailto:openmp-dev@lists.llvm.org" target="_blank"><font size="3" color="blue"><u>openmp-dev@lists.llvm.org</u></font></a><font size="3">>
написал(а):<br>> <br>> Hi,<br>> Is building a static library of OpenMP still designed to be<br>> difficult to accomplish in the trunk?<br>> _______________________________________________<br>> Openmp-dev mailing list<br>> </font><a href="mailto:Openmp-dev@lists.llvm.org" target="_blank"><font size="3" color="blue"><u>Openmp-dev@lists.llvm.org</u></font></a><font size="3"><br>> </font><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" target="_blank"><font size="3" color="blue"><u>https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</u></font></a><font size="3" color="blue"><u>[attachment
"signature.asc" deleted by Gheorghe-Teod Bercea/US/IBM] </u></font><font size="3"><br><br></font></p><p></p><p><br>
</p><p></p><p></p></blockquote></div>