Browse Source

Merge pull request #2453 from TriedAngle/patch-1

Fix: `Unable to find LLVM-config` on Ubuntu
Jeroen van Rijn 2 years ago
parent
commit
073f51e284
1 changed files with 2 additions and 0 deletions
  1. 2 0
      build_odin.sh

+ 2 - 0
build_odin.sh

@@ -97,6 +97,8 @@ config_linux() {
 			LLVM_CONFIG=llvm-config-11
 		elif [ -x "$(command -v llvm-config-11-16)" ]; then
 			LLVM_CONFIG=llvm-config-11-64
+		elif [ -x "$(command -v llvm-config-14)" ]; then
+			LLVM_CONFIG=llvm-config-14
 		else
 			panic "Unable to find LLVM-config"
 		fi