1# hwloc: Portable Hardware Locality Library
2
3licenses(["notice"])
4
5config_setting(
6    name = "with_numa_support",
7    define_values = {"with_numa_support": "true"},
8)
9
10filegroup(
11    name = "COPYING",
12    visibility = ["//visibility:public"],
13)
14
15cc_library(
16    name = "hwloc",
17    linkopts = select({
18        ":with_numa_support": ["-lhwloc"],
19        "//conditions:default": [],
20    }),
21    visibility = ["//visibility:public"],
22)
23