mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
## Why V8's Abseil and protobuf's shared Abseil can be built for different C++ runtimes. Give V8's copy a distinct inline namespace so both can link into one binary without interposing incompatible functions. ## What changed - Move pinned V8 dependency imports and BUILD overlays into `third_party/v8`, and inject those repositories into V8 through a module-extension bridge with no fallback downloads. - Build V8's Abseil with a V8-specific inline namespace while preserving protobuf's shared Abseil namespace. - Apply V8's C++ runtime settings in the Abseil, Highway, and simdutf overlays, and remove the shared `rules_cc` patch. - Document source dependency ownership and the version, checksum, and overlay review procedure for V8 upgrades. GitOrigin-RevId: 2b8e3deed285559f8dd3324647cb4b81089f2f56
13 lines
413 B
Plaintext
13 lines
413 B
Plaintext
# Codex overlay for the V8 DEPS revision. Mirrors :lib_fp16 in V8's
|
|
# BUILD.bazel, exporting its headers at V8's expected include path.
|
|
load("@rules_cc//cc:defs.bzl", "cc_library")
|
|
|
|
cc_library(
|
|
name = "fp16",
|
|
hdrs = glob(["include/**/*.h"]),
|
|
include_prefix = "third_party/fp16/src/include",
|
|
includes = ["include"],
|
|
strip_include_prefix = "include",
|
|
visibility = ["//visibility:public"],
|
|
)
|