mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Add mingw to `pytorch-linux-jammy-cuda12.8-cudnn9-py3-gcc11` docker image to support AOTI cross-compilation This PR will make docker container rebuild, and upgrade python version from 3.13.7 to 3.13.8. and it relies on https://github.com/pytorch/pytorch/pull/165667 Pull Request resolved: https://github.com/pytorch/pytorch/pull/165560 Approved by: https://github.com/malfet
11 lines
207 B
Bash
11 lines
207 B
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
# Install MinGW-w64 for Windows cross-compilation
|
|
apt-get update
|
|
apt-get install -y g++-mingw-w64-x86-64-posix
|
|
|
|
echo "MinGW-w64 installed successfully"
|
|
x86_64-w64-mingw32-g++ --version
|