Bladeren bron

Update LLVM installation steps (#1207)

Signed-off-by: Lucas Steuernagel <lucas.tnagel@gmail.com>
Lucas Steuernagel 2 jaren geleden
bovenliggende
commit
2e8bc66fa7
1 gewijzigde bestanden met toevoegingen van 5 en 4 verwijderingen
  1. 5 4
      docs/installing.rst

+ 5 - 4
docs/installing.rst

@@ -173,10 +173,11 @@ Now run cmake to create the makefiles. Replace the *installdir* argument to ``CM
 
 .. code-block:: bash
 
-	cmake -G Ninja -DLLVM_ENABLE_ASSERTIONS=On '-DLLVM_ENABLE_PROJECTS=clang;lld'  \
-		-DLLVM_ENABLE_TERMINFO=Off -DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_INSTALL_PREFIX=installdir -B build llvm
-	cmake --build build --target install
+    cmake -G Ninja -DLLVM_ENABLE_ASSERTIONS=On '-DLLVM_ENABLE_PROJECTS=clang;lld'  \
+        -DLLVM_ENABLE_TERMINFO=Off -DCMAKE_BUILD_TYPE=Release \
+        -DLLVM_ENABLE_ZSTD=Off \
+        -DCMAKE_INSTALL_PREFIX=installdir -B build llvm
+    cmake --build build --target install
 
 Once the build has succeeded, the *installdir*/bin has to be added to your path so the
 Solang build can find the ``llvm-config`` from this build: