{
  "id": "bazel-select-table",
  "kind": "table",
  "slug": "bazel-select",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/bazel-select/",
  "title": "Vary a Bazel attribute by configuration with select()",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "[\":arm_lib\"]",
      "source": "Bazel docs",
      "detail": "{\"cpu\": \"arm\"}"
    },
    {
      "name": "[\":x86_dev_lib\"]",
      "source": "Bazel docs",
      "detail": "{\"cpu\": \"x86\", \"compilation_mode\": \"dbg\"}"
    },
    {
      "name": "[\":generic_lib\"]",
      "source": "Bazel docs",
      "detail": "//conditions:default"
    }
  ],
  "related_slugs": [
    "bazel-visibility",
    "bazel-sandboxing"
  ],
  "license": "CC-BY-4.0",
  "source_license": "Apache-2.0 (Bazel docs); Apache-2.0 (Bazel source); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}