Changes between Initial Version and Version 1 of Ticket #54363, comment 9


Ignore:
Timestamp:
Jul 1, 2017, 5:17:43 PM (7 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54363, comment 9

    initial v1  
    55The inelegant but easy workaround for systems that have this problem is to install the missing compiler manually, once you see which one it is looking for. Or force a rebuild of ghc from source, which fixes it (until the user someday uninstalls that compiler, like I did).
    66
     7Or we could check each of the prebuilt ghc binaries for each buildbot, look at the `clang-wrapper` script in each one, see what compiler has been defaulted, and for each system, set that compiler as a runtime dep for ghc if it's not the default compiler already on the system.
     8
     9This would fix the buildbots, and although it might force an unnecessary compiler install here and there (like on my system with libc++ / clang-3.9) that might not be such a bit deal.
     10
    711The elegant solution would be to rewrite/overwrite/edit the `clang-wrapper` script with some suitable compiler the machine has installed already, if there is one, and if there is not, to request or require the installation of one. No idea how that might accomplished, though.
    812