Skip to content

Commit

Permalink
change to llvm-aie-native-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed May 2, 2024
1 parent a503877 commit ec43cc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/amd-aie-distro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
# Turning off cone mode ensures that files in the project root are not included during checkout
sparse-checkout-cone-mode: false

- uses: makslevental/mlir-wheels/actions/setup_base@b3d5c60b3c6f51e9ce9015e5c3529efc07919f21
- uses: makslevental/mlir-wheels/actions/setup_base@d77bf5dc69c46a8c2738b44528749768888eb361
id: setup_base
with:
# optional
Expand All @@ -193,7 +193,7 @@ jobs:
MATRIX_OS: ${{ matrix.OS }}
MATRIX_ARCH: ${{ matrix.ARCH }}

- uses: makslevental/mlir-wheels/actions/setup_ccache@b3d5c60b3c6f51e9ce9015e5c3529efc07919f21
- uses: makslevental/mlir-wheels/actions/setup_ccache@d77bf5dc69c46a8c2738b44528749768888eb361
id: setup_ccache
with:
MATRIX_OS: ${{ matrix.OS }}
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
echo "CMAKE_GENERATOR=Ninja" >> $GITHUB_ENV
echo "HOST_CCACHE_DIR="$(ccache --get-config cache_dir)"" >> $GITHUB_ENV
echo "PARALLEL_LEVEL=2" >> $GITHUB_ENV
echo "PIP_FIND_LINKS=https://github.com/makslevental/mlir-wheels/releases/expanded_assets/latest" >> $GITHUB_ENV
echo "PIP_FIND_LINKS=https://${{ github.actor }}:${{ github.token }}@github.com/Xilinx/llvm-aie/releases/expanded_assets/nightly" >> $GITHUB_ENV
# build

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/amd_aie_releases/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ requires = [
"pybind11[global]>=2.10.4",
"numpy",
"dataclasses",
"mlir-native-tools",
"llvm-aie-native-tools",
"PyYAML",
]
build-backend = "setuptools.build_meta"
Expand All @@ -20,7 +20,7 @@ manylinux-aarch64-image = "manylinux_2_28"
manylinux-x86_64-image = "manylinux_2_28"

[tool.cibuildwheel.linux]
environment = { PATH = "/usr/lib/ccache:/usr/lib64/ccache:/usr/lib/ccache/bin:$PATH", PIP_FIND_LINKS = "https://github.com/makslevental/mlir-wheels/releases/expanded_assets/latest" }
environment = { PATH = "/usr/lib/ccache:/usr/lib64/ccache:/usr/lib/ccache/bin:$PATH" }
before-build = [
"{project}/scripts/docker_prepare_ccache.sh",
"{project}/scripts/apply_patches.sh",
Expand All @@ -47,7 +47,7 @@ repair-wheel-command = [
]

[tool.cibuildwheel.macos]
environment = { PATH = "/usr/local/opt/ccache/libexec:$PATH", PIP_FIND_LINKS = "https://github.com/makslevental/mlir-wheels/releases/expanded_assets/latest" }
environment = { PATH = "/usr/local/opt/ccache/libexec:$PATH" }
before-build = [
"{project}/scripts/apply_patches.sh",
]
Expand All @@ -56,7 +56,6 @@ repair-wheel-command = [
]

[tool.cibuildwheel.windows]
environment = { PIP_FIND_LINKS = "https://github.com/makslevental/mlir-wheels/releases/expanded_assets/latest" }
before-build = [
"pip install delvewheel",
"bash {project}\\scripts\\apply_patches.sh",
Expand Down

0 comments on commit ec43cc4

Please sign in to comment.