def METHOD_NAME(repo_ctx):
    auto_cpu = _detect_cpu_extension(repo_ctx)
    repo_ctx.template(
        "BUILD",
        Label("@onedal//dev/bazel/config:config.tpl.BUILD"),
        substitutions = {
            "%{auto_cpu}":         auto_cpu,
            "%{version_major}":    "2024",
            "%{version_minor}":    "0",
            "%{version_update}":   "0",
            "%{version_build}":    utils.datestamp(repo_ctx),
            "%{version_buildrev}": "work",
            "%{version_status}":   "P",
        },
    )