diff --git a/build.py b/build.py index be45e3d22..9b8fc783c 100755 --- a/build.py +++ b/build.py @@ -188,7 +188,7 @@ def generate_project( my_cmake_prefix_paths.append(HALIDE_ROOT_PATH) elif SYSTEM == "Darwin": cmake_options.append("-D SARA_USE_HALIDE:BOOL=ON") - llvm_dir = subprocess.check_output(["brew", "--prefix", "llvm"]) + llvm_dir = subprocess.check_output(["brew", "--prefix", "llvm@16"]) llvm_dir = llvm_dir.decode(sys.stdout.encoding).strip() llvm_cmake_dir = pathlib.Path(llvm_dir) / "lib" / "cmake" / "llvm" cmake_options.append(f"-D LLVM_DIR={llvm_cmake_dir}")