Skip to content

Commit

Permalink
Merge pull request #1805 from emankov/HIPIFY
Browse files Browse the repository at this point in the history
[HIPIFY][#1800][doc][Linux][clang][fix] Fix instructions on building `LLVM` for `HIPIFY` on `Linux`
  • Loading branch information
emankov authored Dec 18, 2024
2 parents 46401eb + b30e5a4 commit 6dcfb1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/hipify-clang.rst
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ LLVM <= 9.0.1
cmake \
-DCMAKE_INSTALL_PREFIX=../dist \
-DLLVM_SOURCE_DIR=../llvm \
-DLLVM_TARGETS_TO_BUILD="X86;NVPTX" \
-DLLVM_TARGETS_TO_BUILD="X86" \
-DLLVM_INCLUDE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release \
../llvm
Expand All @@ -466,7 +466,7 @@ LLVM <= 9.0.1
-Thost=x64 \
-DCMAKE_INSTALL_PREFIX=../dist \
-DLLVM_SOURCE_DIR=../llvm \
-DLLVM_TARGETS_TO_BUILD="NVPTX" \
-DLLVM_TARGETS_TO_BUILD="" \
-DLLVM_INCLUDE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release \
../llvm
Expand All @@ -492,7 +492,7 @@ LLVM >= 10.0.0
cmake \
-DCMAKE_INSTALL_PREFIX=../dist \
-DLLVM_TARGETS_TO_BUILD="" \
-DLLVM_TARGETS_TO_BUILD="X86" \
-DLLVM_ENABLE_PROJECTS="clang" \
-DLLVM_INCLUDE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release \
Expand Down

0 comments on commit 6dcfb1f

Please sign in to comment.