File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 7272 if : steps.cache-iree-dir.outputs.cache-hit != 'true'
7373 run : make clone_iree
7474 - name : Compile Host
75- run : ./scripts/build_and_package.sh --target=host
75+ run : BUILD_IREE_RUNTIME=true ./scripts/build_and_package.sh --target=host
7676 - name : Compile
77- run : ./scripts/build_and_package.sh --target=${{ matrix.build_target }}
77+ run : BUILD_IREE_RUNTIME=false ./scripts/build_and_package.sh --target=${{ matrix.build_target }}
7878 - name : Release Artifacts
7979 uses : softprops/action-gh-release@v2
8080 if : startsWith(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change 1717 NX_IREE_PREFER_PRECOMPILED : false
1818 NX_IREE_SOURCE_DIR : ./build-cache/iree
1919 IREE_GIT_REV : candidate-20240604.914
20+ BUILD_IREE_RUNTIME : false
2021 strategy :
2122 fail-fast : false
2223 matrix :
@@ -112,7 +113,7 @@ jobs:
112113 - name : Setup cmake
113114 uses : jwlawson/actions-setup-cmake@v2
114115 with :
115- cmake-version : ' 3.21.x'
116+ cmake-version : " 3.21.x"
116117
117118 - name : checkout
118119 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ $(IREE_INSTALL_DIR): $(NX_IREE_SOURCE_DIR) $(CMAKE_SOURCES)
109109 cmake --install $(IREE_CMAKE_BUILD_DIR ) --config $(IREE_CMAKE_CONFIG ) --prefix $(IREE_INSTALL_DIR )
110110
111111.PHONY : iree_host
112- ifeq ($(IREE_BUILD_TARGET ) , host )
112+ ifeq ($(BUILD_IREE_RUNTIME ) , true )
113113iree_host :
114114 @echo " Building IREE runtime host binaries at $( IREE_HOST_BUILD_DIR) ."
115115 cmake -G Ninja -B $(IREE_HOST_BUILD_DIR ) \
@@ -120,7 +120,7 @@ iree_host:
120120 cmake --build $(IREE_HOST_BUILD_DIR ) --target install
121121else
122122iree_host :
123- @echo " No host build directory specified . Skipping."
123+ @echo " Not building IREE runtime host binaries . Skipping."
124124endif
125125
126126# ## NxIREE Runtime NIF library
You can’t perform that action at this time.
0 commit comments