feat(third_party/bazel): Check in rules_haskell from Tweag

This commit is contained in:
Vincent Ambo 2019-07-04 11:18:12 +01:00
parent 2eb1dc26e4
commit f723b8b878
479 changed files with 51484 additions and 0 deletions

View file

@ -0,0 +1,49 @@
major_version: "local"
minor_version: ""
toolchain {
toolchain_identifier: "ghc_windows_mingw64"
abi_version: "local"
abi_libc_version: "local"
builtin_sysroot: ""
compiler: "ghc-mingw-gcc"
host_system_name: "local"
needsPic: false
target_libc: "mingw"
target_cpu: "x64_windows"
target_system_name: "local"
artifact_name_pattern {
category_name: 'executable'
prefix: ''
extension: '.exe'
}
tool_path { name: "ar" path: "mingw/bin/ar" }
tool_path { name: "compat-ld" path: "mingw/bin/ld" }
tool_path { name: "cpp" path: "mingw/bin/cpp" }
tool_path { name: "dwp" path: "mingw/bin/dwp" }
tool_path { name: "gcc" path: "mingw/bin/gcc" }
tool_path { name: "gcov" path: "mingw/bin/gcov" }
tool_path { name: "ld" path: "mingw/bin/ld" }
tool_path { name: "nm" path: "mingw/bin/nm" }
tool_path { name: "objcopy" path: "mingw/bin/objcopy" }
tool_path { name: "objdump" path: "mingw/bin/objdump" }
tool_path { name: "strip" path: "mingw/bin/strip" }
cxx_builtin_include_directory: "mingw"
cxx_flag: "-std=gnu++0x"
# Needed to prevent Bazel from complaining about undeclared inclusions of
# MingW headers.
#
# See: https://github.com/bazelbuild/bazel/issues/4605
unfiltered_cxx_flag: "-no-canonical-prefixes"
unfiltered_cxx_flag: "-fno-canonical-system-headers"
linker_flag: "-lstdc++"
objcopy_embed_flag: "-I"
objcopy_embed_flag: "binary"
feature { name: "targets_windows" implies: "copy_dynamic_libraries_to_binary" enabled: true }
feature { name: "copy_dynamic_libraries_to_binary" }
linking_mode_flags { mode: DYNAMIC }
}