This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][Docs] Updated the faq about building an OpenMP offloading capable compiler
ClosedPublic

Authored by tianshilei1992 on Dec 21 2020, 5:30 PM.

Details

Summary

After some issues about building runtimes along with LLVM were fixed,
building an OpenMP offloading capable compiler is pretty simple. This patch updates
the FAQ part in the doc.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Dec 21 2020, 5:30 PM
tianshilei1992 requested review of this revision.Dec 21 2020, 5:30 PM
Herald added a project: Restricted Project. · View Herald Transcript
jdoerfert accepted this revision.Dec 22 2020, 9:00 AM

LGTM. This is really cool :)

This revision is now accepted and ready to land.Dec 22 2020, 9:00 AM
ye-luo added a subscriber: ye-luo.Dec 22 2020, 10:47 AM

It is lower case openmp not OPENMP.

CMake Error at runtimes/CMakeLists.txt:34 (message):
  LLVM_ENABLE_RUNTIMES requests OPENMP but directory not found:
  /home/yeluo/opt/llvm-clang/llvm-project/llvm/runtimes/../../OPENMP

It is lower case openmp not OPENMP.

CMake Error at runtimes/CMakeLists.txt:34 (message):
  LLVM_ENABLE_RUNTIMES requests OPENMP but directory not found:
  /home/yeluo/opt/llvm-clang/llvm-project/llvm/runtimes/../../OPENMP

I noticed the issue. Will submit a hot fix.