7373 RUNS_ON : ${{ inputs.runs-on }}
7474 PYTHONDONTWRITEBYTECODE : 1
7575 TTLANG_TEST_SEED : 42
76+ TT_LANG_HOME : ${{ github.workspace }}
77+ TTMLIR_TOOLCHAIN_DIR : ${{ github.workspace }}/ttmlir-toolchain
7678
7779 steps :
7880 - name : Checkout tt-lang
@@ -95,10 +97,24 @@ jobs:
9597 ARTIFACT_FILE=$(.github/scripts/get-artifact-archive-name.sh "${{ github.sha }}")
9698 tar -I 'zstd --long=31' -xf "${ARTIFACT_FILE}"
9799 rm -f "${ARTIFACT_FILE}"
98- echo "Checking tt-mlir-install structure..."
99- ls -la tt-mlir-install/ tt-mlir-install/python_packages/ || echo "Did not unpack tt-mlir-install"
100- ls -la /opt/ttmlir-toolchain/venv/bin || echo "No valid ttmlir-toolchain found"
101- find tt-mlir-install/python_packages -name "*ttcore*" 2>/dev/null || echo "No ttcore in tt-mlir-install"
100+
101+ # TODO: Remove after debugging
102+ - name : Debug - Check unpacked archive structure
103+ run : |
104+ echo "=== Top-level directories ==="
105+ ls -la
106+ echo "=== ttmlir-toolchain contents ==="
107+ ls -la ttmlir-toolchain/ || echo "No ttmlir-toolchain directory"
108+ echo "=== ttmlir-toolchain/python_packages ==="
109+ ls -la ttmlir-toolchain/python_packages/ || echo "No python_packages"
110+ echo "=== Looking for ttmlir package ==="
111+ find ttmlir-toolchain -name "ttmlir*" -type d 2>/dev/null | head -20
112+ echo "=== Looking for ttmlir module ==="
113+ find ttmlir-toolchain -name "ttmlir" -type d 2>/dev/null
114+ echo "=== Checking venv ==="
115+ ls -la ttmlir-toolchain/venv/bin/ 2>/dev/null | head -10 || echo "No venv/bin"
116+ echo "=== build/env/activate contents ==="
117+ head -30 build/env/activate || echo "No build/env/activate"
102118
103119 - name : Install test dependencies
104120 run : |
0 commit comments