Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save shunting314/89f626c6459fc30fc4f274820d892c61 to your computer and use it in GitHub Desktop.

Select an option

Save shunting314/89f626c6459fc30fc4f274820d892c61 to your computer and use it in GitHub Desktop.
diff --git a/scripts/build-llvm-project.sh b/scripts/build-llvm-project.sh
index e45356d5c3..dc65139895 100755
--- a/scripts/build-llvm-project.sh
+++ b/scripts/build-llvm-project.sh
@@ -18,8 +18,8 @@ if [ -z "$CMAKE_ARGS" ]; then
-DCMAKE_BUILD_TYPE="$LLVM_BUILD_TYPE"
-DLLVM_CCACHE_BUILD=OFF
-DLLVM_ENABLE_ASSERTIONS=ON
- -DCMAKE_C_COMPILER=clang
- -DCMAKE_CXX_COMPILER=clang++
+ -DCMAKE_C_COMPILER=gcc
+ -DCMAKE_CXX_COMPILER=g++
-DLLVM_ENABLE_LLD=ON
-DLLVM_OPTIMIZED_TABLEGEN=ON
-DMLIR_ENABLE_BINDINGS_PYTHON=OFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment