Remove executable filename check on windows
authorklebinger.andreas@gmx.at <klebinger.andreas@gmx.at>
Mon, 15 Jan 2018 18:52:15 +0000 (13:52 -0500)
committerBen Gamari <ben@smart-cactus.org>
Mon, 15 Jan 2018 18:53:46 +0000 (13:53 -0500)
commit1bf70b2041dc2b7c89565fcb46cad8f151f96790
tree42835b40ef9799a40165c09a88e6d29091679c4b
parentf380115cd834ffbe51aca60f5476a51b94cdd413
Remove executable filename check on windows

On Windows GHC enforces currently that the real executable is named
ghc.exe/ghc-stage[123].exe.

I don't see a good reason why this is neccessary.
This patch removes this restriction and fixes #14652

Test Plan: ci

Reviewers: bgamari, Phyx

Reviewed By: Phyx

Subscribers: Phyx, rwbarton, thomie, carter

GHC Trac Issues: #14652

Differential Revision: https://phabricator.haskell.org/D4296
compiler/main/SysTools/BaseDir.hs