github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/third_party/hwloc/BUILD.system (about)

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