daml/3rdparty/haskell
Nicolas Mattia 117f043698 Fix daml-lf-ast build on Windows (#237)
* Update rules_haskell

This updates to the latest rules_haskell, which fixes a few issues on
Windows. Most importantly it flags a few Windows libraries as "system"
libraries, preventing Hazel to fail because they are not provided
through Bazel.

* Fix the streaming-commons build on Windows

This modifies our custom streaming-commons BUILD file to make it work on
Windows. In particular it swaps some system libraries, passes the
`-DWINDOWS` flag and enables the build of an extra module.

* Clean up bazel_tools BUILD file

This wraps a very long line for legibility.

* Fix shared object issues on Windows

* This fixes rules_haskell to use the correct Windows path separator on Windows.
    GHC expects the LD_LIBRARY_PATH variable to be a list of semi-colon separated
    paths, as opposed to a list of colon separated paths:
    51fd357119/compiler/ghci/Linker.hs (L1646-L1650)

* This fixes the name of Haskell shared objects on Windows. By default
    Bazel's cc_library generates '.so' files, whereas GHC expects a `.dll`
    (or a few other extensions, non of which are `.so`):
    51fd357119/rts/linker/PEi386.c (L684)

* Build daml-lf-ast on Windows CI
2019-04-05 12:39:23 +02:00
..
ffi_windows open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD.arx open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD.clock open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD.network open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD.streaming-commons Fix daml-lf-ast build on Windows (#237) 2019-04-05 12:39:23 +02:00
BUILD.wai-app-static open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD.zlib open-sourcing daml 2019-04-04 09:33:38 +01:00
network-package.bzl open-sourcing daml 2019-04-04 09:33:38 +01:00