mirror of
https://github.com/openai/codex.git
synced 2026-10-23 18:08:45 +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
12 lines
419 B
Plaintext
12 lines
419 B
Plaintext
# Codex header-only overlay for the V8 DEPS revision; the include prefix
|
|
# preserves V8's third_party checkout layout across the repository boundary.
|
|
load("@rules_cc//cc:defs.bzl", "cc_library")
|
|
|
|
cc_library(
|
|
name = "fast_float",
|
|
hdrs = glob(["include/fast_float/*.h"]),
|
|
include_prefix = "third_party/fast_float/src/include",
|
|
strip_include_prefix = "include",
|
|
visibility = ["//visibility:public"],
|
|
)
|