daml/3rdparty
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
..
c open-sourcing daml 2019-04-04 09:33:38 +01:00
haskell Fix daml-lf-ast build on Windows (#237) 2019-04-05 12:39:23 +02:00
jvm open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD open-sourcing daml 2019-04-04 09:33:38 +01:00
dependencies.digest open-sourcing daml 2019-04-04 09:33:38 +01:00
NO_AUTO_COPYRIGHT open-sourcing daml 2019-04-04 09:33:38 +01:00
README.md open-sourcing daml 2019-04-04 09:33:38 +01:00
workspace.bzl open-sourcing daml 2019-04-04 09:33:38 +01:00

Third-Party JVM Dependencies

This subtree contains a Bazel workspace file workspace.bzl and BUILD files underneath jvm/ describing external Java and Scala dependencies. These files are automatically generated and should not be modified manually. If you need to add a third party dependency then modify the file dependencies.yaml in the repository root and re-run bazel-deps in order to regenerate these files as described at the top of the file dependencies.yaml.

Third-Party Haskell Dependencies

The haskell/ subtree contains BUILD files defining custom Hazel builds for Cabal packages imported via Hazel's hazel_custom_package_* rules in the WORKSPACE.