Llvm 19.1.0: no library 'libomptarget-nvptx-sm_80.bc' found

I thought I was following the instructions: Support, Getting Involved, and FAQ — LLVM/OpenMP 20.0.0git documentation (I’m not sure where to find 19.1 documentation).
I built LLVM with:

[build.ompoffload] cmake -G “Unix Makefiles”
-DLLVM_TARGETS_TO_BUILD=“X86;NVPTX”
-DLIBOMPTARGET_DEVICE_ARCHITECTURES=‘sm_70;sm_80’
-DCMAKE_BUILD_TYPE=“Release”
-DLIBOMP_ARCH=“x86_64”
-DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX}
-DLLVM_ENABLE_PROJECTS=“clang;clang-tools-extra;cross-project-tests;libc;lld;lldb;polly;pstl”
-DLLVM_ENABLE_RUNTIMES=“compiler-rt;libc;libcxx;libcxxabi;libunwind;openmp”
…/llvm

But when I try to compile offload program:

clang++ -O3 -o target.clangxx target.cxx -fopenmp --offload-arch=sm_80 -fopenmp-offload-mandatory
clang++: error: no library ‘libomptarget-nvptx-sm_80.bc’ found in the default clang lib directory or in LIBRARY_PATH; use ‘–libomptarget-nvptx-bc-path’ to specify nvptx bitcode library

Looking in the source build and the final install directory I see no files by that name.

-DLLVM_ENABLE_RUNTIMES=“compiler-rt;libc;libcxx;libcxxabi;libunwind;openmp;offload”

Magic! The “offload” did the trick. Not sure if someone can get that fixed in the FAQ and save others some time.

Thanks.

Yeah we need to update the document.