22 lines
434 B (Stored with Git LFS)
Text
22 lines
434 B (Stored with Git LFS)
Text
# hwloc: Portable Hardware Locality Library
|
|
|
|
licenses(["notice"])
|
|
|
|
config_setting(
|
|
name = "with_numa_support",
|
|
define_values = {"with_numa_support": "true"},
|
|
)
|
|
|
|
filegroup(
|
|
name = "COPYING",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "hwloc",
|
|
linkopts = select({
|
|
":with_numa_support": ["-lhwloc"],
|
|
"//conditions:default": [],
|
|
}),
|
|
visibility = ["//visibility:public"],
|
|
)
|