Skip to content

Commit

Permalink
MAINT: fix build script on MacOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Odd Kiva committed Nov 21, 2023
1 parent a6c0101 commit 5166d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 5166d84

Please sign in to comment.