Skip to content

Commit

Permalink
Eliminate redundant Makefile variable (#1364)
Browse files Browse the repository at this point in the history
Eliminate redundant variable
  • Loading branch information
dime10 authored Dec 9, 2024
1 parent eb710d1 commit 626e823
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mlir/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ BUILD_TYPE?=Release
TARGET_FILE=$(MK_DIR)/mlir-hlo/mhlo/transforms/CMakeLists.txt
PATCH_FILE=$(MK_DIR)/patches/mhlo-Add-PassesIncGen-in-transforms-CMakeList.patch
LLVM_EXTERNAL_LIT ?= $(LLVM_BUILD_DIR)/bin/llvm-lit
MLIR_DIR ?= $(shell pwd)/llvm-project/build/lib/cmake/mlir

ifeq ($(shell uname), Darwin)
DEFAULT_ENABLE_LLD := OFF
Expand Down Expand Up @@ -129,7 +128,7 @@ standalone-plugin:
patch -p0 < $(MK_DIR)/patches/test-plugin-with-catalyst.patch; \
fi
cmake -B standalone/build -G Ninja \
-DMLIR_DIR=$(MLIR_DIR) \
-DMLIR_DIR=$(LLVM_BUILD_DIR)/lib/cmake/mlir \
-DLLVM_EXTERNAL_LIT=$(LLVM_EXTERNAL_LIT) \
-DCATALYST_TOOLS_DIR=$(DIALECTS_BUILD_DIR)/bin \
-DPython3_EXECUTABLE=$(PYTHON) \
Expand Down

0 comments on commit 626e823

Please sign in to comment.