Skip to content

Commit

Permalink
flatten native_tools tar
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed Jul 10, 2023
1 parent 8cf2225 commit 142e67c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,10 @@ jobs:
shell: bash
if: ${{ matrix.native_tools_artifact != '' }}
run: |
XZ_OPT='-T0 -9' tar -cJf \
$PWD/"${{ matrix.os }}-${{ matrix.arch }}-native_tools.tar.xz" \
-C $LLVM_PROJECT_HOST_MAIN_BINARY_DIR \
$LLVM_PROJECT_HOST_MAIN_BINARY_DIR/bin/llvm-tblgen* \
$LLVM_PROJECT_HOST_MAIN_BINARY_DIR/bin/mlir-tblgen* \
$LLVM_PROJECT_HOST_MAIN_BINARY_DIR/bin/mlir-linalg-ods-yaml-gen* \
$LLVM_PROJECT_HOST_MAIN_BINARY_DIR/bin/mlir-pdll*
TARF="$PWD/${{ matrix.os }}-${{ matrix.arch }}-native_tools.tar.xz"
pushd $LLVM_PROJECT_HOST_MAIN_BINARY_DIR/bin
XZ_OPT='-T0 -9' tar -cJ -f $TARF llvm-tblgen* mlir-tblgen* mlir-linalg-ods-yaml-gen* mlir-pdll*
popd
- name: Upload host tools
if: ${{ matrix.native_tools_artifact != '' }}
Expand Down

0 comments on commit 142e67c

Please sign in to comment.