MaskRay added a comment.

Add openmp to `LLVM_ENABLE_PROJECTS` to trigger the issue:

  cmake -GNinja -Sllvm -B/tmp/out/play -DCMAKE_BUILD_TYPE=Release 
-DLLVM_ENABLE_PROJECTS='clang;openmp' -DCMAKE_CXX_COMPILER=~/Stable/bin/clang++ 
-DCMAKE_C_COMPILER=~/Stable/bin/clang -DCMAKE_INSTALL_PREFIX=/tmp/install/play
  ninja -C /tmp/out/play install

  clang: error: unable to execute command: Executable "clang-offload-packager" 
doesn't exist!
  clang: error: clang-offload-packager command failed with exit code 1 (use -v 
to see invocation)
  [527/5061] Building CXX object 
tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o
  ninja: build stopped: subcommand failed.

`[Clang] Change the offload packager build to be a clang tool` does not fix the 
issue.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125165/new/

https://reviews.llvm.org/D125165

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to