Skip to content

Commit a88a635

Browse files
committed
fix: change condition
1 parent 3a16cd9 commit a88a635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ $(IREE_INSTALL_DIR): $(NX_IREE_SOURCE_DIR) $(CMAKE_SOURCES)
104104
cmake --install $(IREE_CMAKE_BUILD_DIR) --config $(IREE_CMAKE_CONFIG) --prefix $(IREE_INSTALL_DIR)
105105

106106
.PHONY: iree_host
107-
ifdef IREE_HOST_BUILD_DIR
107+
ifeq ($(IREE_BUILD_TARGET), host)
108108
iree_host:
109109
@echo "Building IREE runtime host binaries at $(IREE_HOST_BUILD_DIR)."
110110
cmake -G Ninja -B $(IREE_HOST_BUILD_DIR) \

0 commit comments

Comments
 (0)