Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
paperchalice committed Mar 25, 2024
1 parent de60b99 commit 8f65303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/llvm/mlir.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class Mlir < Formula
def install
cmake_args = std_cmake_args+ %W[
-D BUILD_SHARED_LIBS=ON
-D MLIR_INSTALL_AGGREGATE_OBJECTS=OFF
-D Python3_ROOT_DIR=#{Formula["python"].prefix}
-D Python3_FIND_FRAMEWORK=OFF

Expand All @@ -39,7 +40,6 @@ def install
site_package = Language::Python.site_packages "python3"
(prefix/site_package).install prefix/"python_packages/mlir_core/mlir"
rm_rf prefix/"python_packages"
rm_rf Dir[lib/"objects-*"]
end

test do
Expand Down

0 comments on commit 8f65303

Please sign in to comment.