blob: b979067ccf23aeb6dfa54e98910c9267062bdd3e [file] [log] [blame]
Mauro Rossi4bdf3032018-08-25 12:44:44 +02001cc_binary_host {
Mauro Rossi6f676672019-02-23 13:23:31 +01002 name: "llvm80-tblgen",
3 defaults: ["llvm80-defaults-no-generated-headers"],
Mauro Rossi4bdf3032018-08-25 12:44:44 +02004 srcs: ["*.cpp"],
5
6 static_libs: [
Mauro Rossi6f676672019-02-23 13:23:31 +01007 "libLLVM80TableGen",
8 "libLLVM80Support",
Mauro Rossi4bdf3032018-08-25 12:44:44 +02009 ],
10
11 host_ldlibs: ["-lm"],
12 target: {
13 windows: {
14 enabled: false,
15 },
Mauro Rossi6f676672019-02-23 13:23:31 +010016 // llvm80-defaults turns off host builds by default, turn it back on for
17 // modules that are used to build llvm80-tblgen
Mauro Rossi4bdf3032018-08-25 12:44:44 +020018 host: {
19 enabled: true,
20 },
21 darwin: {
22 host_ldlibs: [
23 "-lpthread",
24 "-ldl",
25 ],
26 },
27 linux: {
28 host_ldlibs: [
29 "-lpthread",
30 "-ldl",
31 ],
32 },
33 },
34}