File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed
Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 6363 - name : Clone IREE
6464 if : steps.cache-iree-dir.outputs.cache-hit != 'true'
6565 run : make clone_iree
66+ - name : Compile Host
67+ run : ./scripts/build_and_package.sh --target=host
6668 - name : Compile
67- run : ./scripts/build_and_package.sh --target=${{ matrix.build_target }} --build-host
69+ run : ./scripts/build_and_package.sh --target=${{ matrix.build_target }}
6870 - name : Release Artifacts
6971 uses : softprops/action-gh-release@v2
7072 if : startsWith(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change @@ -10,20 +10,13 @@ get_nproc() {
1010 fi
1111}
1212
13- # Initialize variable
14- build_host_flag=false
15-
1613# Parse options
1714while [[ $# -gt 0 ]]; do
1815 case $1 in
1916 --target=* )
2017 IREE_BUILD_TARGET=" ${1#* =} "
2118 shift # Shift past the argument
2219 ;;
23- --build-host)
24- build_host_flag=true
25- shift # Shift past the argument
26- ;;
2720 * )
2821 echo " Unknown option: $1 "
2922 exit 1
@@ -75,12 +68,6 @@ build() {
7568 fi
7669}
7770
78- if $build_host_flag ; then
79- echo " Building Host Runtime"
80- build host
81- echo " Done building Host Runtime"
82- fi
83-
8471build $IREE_BUILD_TARGET
8572IREE_INSTALL_DIR=$( install_dir $IREE_BUILD_TARGET )
8673
You can’t perform that action at this time.
0 commit comments