Hadrian doesn't support --enable-distro-toolchain on Windows
When GHC is configured with --enable-distro-toolchain
, hadrian still attempts to copy the inplace toolchain to _build
, resulting in the following error:
| Copy directory: C:/Users/terrorjack/Downloads/ghc/inplace/mingw => _build
cp: cannot stat 'C:/Users/terrorjack/Downloads/ghc/inplace/mingw': No such file or directory
Development.Shake.cmd, system command failed
Command line: cp -r C:/Users/terrorjack/Downloads/ghc/inplace/mingw _build
Exit code: 1
Stderr:
cp: cannot stat 'C:/Users/terrorjack/Downloads/ghc/inplace/mingw': No such file or directory
Build failed.
This is a problem when building cross GHC with windows host, because GHC needs to be configured to use explicitly passed toolchain instead of the auto-downloaded tarballs.