<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">Thanks, Alexey.</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">It works.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Dec 28, 2019 at 10:21 AM Alexey Bataev <<a href="mailto:a.bataev@outlook.com">a.bataev@outlook.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">
<div>
<p>Hi, your clang does not see default paths. Use -I option to
provide the path to
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
or rebuild your clang with correct info for include search paths.<br>
</p>
<pre cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div>28.12.2019 9:49 AM, Abid Malik via
Openmp-dev пишет:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:"courier new",monospace;font-size:small">Hello,</div>
<div class="gmail_default" style="font-family:"courier new",monospace;font-size:small"><br>
</div>
<div class="gmail_default" style="font-family:"courier new",monospace;font-size:small">I am trying to build OpenMP for
LLVM on Mac. I was able to successfully build Clang from the
source. However, I am getting the following error message
during the OpenMP build: I used the my own Clang (the one I
build) for OpenML build</div>
<div class="gmail_default" style="font-family:"courier new",monospace;font-size:small"><br>
</div>
<div class="gmail_default" style="font-family:"courier new",monospace;font-size:small">make <br>
[ 2%] Generating kmp_i18n_id.inc<br>
[ 5%] Generating kmp_i18n_default.inc<br>
[ 5%] Built target libomp-needed-headers<br>
Scanning dependencies of target omp<br>
[ 8%] Building C object
runtime/src/CMakeFiles/omp.dir/thirdparty/ittnotify/ittnotify_static.c.o<br>
[ 11%] Building CXX object
runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o<br>
In file included from
/Users/abidmalik/Programming/LLVM/openmp-8.0.0.src/runtime/src/kmp_alloc.cpp:14:<br>
In file included from
/Users/abidmalik/Programming/LLVM/openmp-8.0.0.src/runtime/src/kmp.h:78:<br>
/Users/abidmalik/Programming/LLVM/openmp-8.0.0.src/runtime/src/kmp_os.h:19:10:
fatal error: 'atomic' file not found<br>
#include <atomic><br>
^~~~~~~~<br>
1 error generated.<br>
make[2]: *** [runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o]
Error 1<br>
make[1]: *** [runtime/src/CMakeFiles/omp.dir/all] Error 2<br>
make: *** [all] Error 2<br>
</div>
<div class="gmail_default" style="font-family:"courier new",monospace;font-size:small"><br>
</div>
<div class="gmail_default" style="font-family:"courier new",monospace;font-size:small"><br>
</div>
<div class="gmail_default" style="font-family:"courier new",monospace;font-size:small">Thanks,</div>
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>Abid M. Malik<br>
******************************************************<br>
"I have learned silence from the talkative, toleration
from the intolerant, and kindness from the
unkind"---Gibran<br>
"Success is not for the chosen few, but for the few who
choose" --- John Maxwell<br>
"Being a good person does not depend on your religion or
status in life, your race or skin color, political views
or culture. IT DEPENDS ON HOW GOOD YOU TREAT OTHERS"---
Abid<br>
"The Universe is talking to us, and the language of the
Universe is mathematics."----Abid<br>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Openmp-dev mailing list
<a href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a>
</pre>
</blockquote>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Abid M. Malik<br>******************************************************<br>"I have learned silence from the talkative, toleration from the intolerant, and kindness from the unkind"---Gibran<br>"Success is not for the chosen few, but for the few who choose" --- John Maxwell<br>"Being a good person does not depend on your religion or status in life, your race or skin color, political views or culture. IT DEPENDS ON HOW GOOD YOU TREAT OTHERS"--- Abid<br>"The Universe is talking to us, and the language of the Universe is mathematics."----Abid<br> </div></div></div>