# SPDX-FileCopyrightText: Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# The MLIR-AIE and LLVM-AIE (Peano) packages are not on the official PyPI, so
# we add them as additional indices here. Furthermore, we want the CPU-only
# version of torch (don't need CUDA). Note that pip does NOT respect index
# ordering when resolving versions: it gathers candidates from every index and
# picks the highest, so listing the CPU index first is not enough to avoid the
# CUDA build served from PyPI. We therefore also pin torch to the "+cpu" local
# version below, which is only available from the PyTorch CPU index.
--index-url https://download.pytorch.org/whl/cpu
--find-links https://github.com/Xilinx/mlir-aie/releases/expanded_assets/latest-wheels-4
--find-links https://github.com/Xilinx/llvm-aie/releases/expanded_assets/nightly
--extra-index-url https://pypi.org/simple

mlir_aie==1.3.5.dev20+g167f34d
llvm-aie==21.0.0.2026062301+cb664e8c

black
reuse
torch==2.13.0+cpu
pytest
pytest-xdist

# Install the local python code as the package "iron"
-e .
