-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathBUILD.bazel
49 lines (42 loc) · 1002 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
load("@rules_cc//cc:defs.bzl", "cc_library")
load(
"@rules_haskell//haskell:defs.bzl",
"haskell_library",
"haskell_toolchain_library",
)
haskell_toolchain_library(name = "base")
haskell_toolchain_library(name = "deepseq")
haskell_toolchain_library(name = "ghc-prim")
cc_library(
name = "vector.h",
testonly = 1,
hdrs = ["include/vector.h"],
strip_include_prefix = "include",
)
cc_library(
name = "unbox-tuple-instances",
testonly = 1,
hdrs = ["internal/unbox-tuple-instances"],
strip_include_prefix = "internal",
)
haskell_library(
name = "vector",
testonly = 1,
srcs = glob(["Data/**/*.*hs"]),
version = "0",
visibility = ["//visibility:public"],
deps = [
":base",
":deepseq",
":ghc-prim",
":unbox-tuple-instances",
":vector.h",
"//primitive",
],
)
filegroup(
name = "all_files",
testonly = True,
srcs = glob(["**"]),
visibility = ["//visibility:public"],
)