<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" class="gmail_signature" data-smartmail="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></div>