Add podman note

This commit is contained in:
mborgerson 2024-07-28 12:04:42 -07:00 committed by GitHub
parent 499d754603
commit eb50532ec8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,13 +4,14 @@ Users are recommended to use the [pre-built xemu binaries](https://xemu.app/docs
## Windows
Windows builds are cross-compiled from Ubuntu. If you would like to build *on* Windows, you can use WSL2 and Docker. See [official Docker
documentation](https://docs.docker.com/docker-for-windows/wsl/) for how to get WSL2 and Docker set up.
Windows builds are cross-compiled from Ubuntu. If you would like to build *on* Windows, you can use Windows Subsystem for Linux (WSL) and podman / Docker with the xemu build container image.
See [here](https://learn.microsoft.com/en-us/windows/wsl/install) for details on how to install WSL. To install podman, run `sudo apt install podman-docker`.
```bash
# Clone and build
git clone --recurse-submodules https://github.com/xemu-project/xemu.git
docker run -u $(id -u):$(id -g) --rm -v $PWD/xemu:/xemu -w /xemu \
git clone https://github.com/xemu-project/xemu
docker run --rm -v $PWD/xemu:/xemu -w /xemu \
-e CCACHE_DIR=/xemu/ccache \
ghcr.io/xemu-project/xemu-win64-toolchain:latest \
./build.sh -p win64-cross