Skip to content

Commit 0d2722c

Browse files
committed
[libc][Docs] Add proper 'offload' build to use libc with offload
Summary: Since this was added the offloading target now requires `offload`. Fixes: #127458
1 parent 29ca3b8 commit 0d2722c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/docs/gpu/building.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ arguments automatically.
4343
$> cd build
4444
$> cmake ../llvm -G Ninja \
4545
-DLLVM_ENABLE_PROJECTS="clang;lld" \
46-
-DLLVM_ENABLE_RUNTIMES="openmp" \
46+
-DLLVM_ENABLE_RUNTIMES="openmp;offload" \
4747
-DCMAKE_BUILD_TYPE=<Debug|Release> \ # Select build type
4848
-DCMAKE_INSTALL_PREFIX=<PATH> \ # Where the libraries will live
4949
-DRUNTIMES_nvptx64-nvidia-cuda_LLVM_ENABLE_RUNTIMES=libc \

0 commit comments

Comments
 (0)