mirror of
https://github.com/openai/codex.git
synced 2026-11-10 21:00:47 +00:00
## Why Windows MSVC builds relied on installed C++ toolchains, and V8 snapshot generation required native Windows execution. Cross-compiling V8 also needs a Windows snapshot generator to preserve Windows unwind metadata. ## What changed - Use the registered hermetic LLVM toolchain and declared Microsoft SDK for Windows MSVC builds, with static CRT linkage and the toolchain's declared `lld-link` for Rust. - Run Windows V8 snapshot generators natively or through `rules_wine` on Linux, preserving target CPU, OS, and sandbox settings. Keep separate archive and binding pairs for the workspace's ISO stdio ABI and the distributed MSVC stdio ABI. - Update build dependencies and bindgen, scope V8's Chromium libc++ settings to its own targets, and adapt native voice dependencies for clang-cl and Windows ARM64. - Build SQLite directly with Bazel and give `openssl-sys` an explicit build using Bazel's OpenSSL. - Remove build-worker source-directory dependencies from Bazel resource lookup, schema output discovery, and snapshot paths; embed assets in debug builds as well. GitOrigin-RevId: fd224d9d28d73a67baf90f6d73c6079d60f20351
34 lines
1.3 KiB
Python
34 lines
1.3 KiB
Python
exports_files([
|
|
"opusic_sys_install_headers.patch",
|
|
"protobuf_windows_arm64_seh.patch",
|
|
"opusic-sys_presume_neon.patch",
|
|
"llvm_mingw_import_warnings.patch",
|
|
"rules_rust_declared_msvc_linker.patch",
|
|
"rules_rs_bindgen_v0_0_4.patch",
|
|
"abseil_windows_gnullvm_thread_identity.patch",
|
|
"bzip2_windows_stack_args.patch",
|
|
"mxc-sdk_utf8_resources.patch",
|
|
"rules_rust_compiler_thp.patch",
|
|
"rules_rust_process_wrapper_param_file.patch",
|
|
"rules_rust_release_build_script_profile.patch",
|
|
"rules_rust_windows_execroot_separators.patch",
|
|
"rules_foreign_cc_make_cppflags.patch",
|
|
"rules_foreign_cc_make_xcompile.patch",
|
|
"rules_foreign_cc_make_msvc_stdint.patch",
|
|
"rules_rs_build_script_deps_annotation.patch",
|
|
"rules_rs_rust_debug_modes.patch",
|
|
"rules_rs_workspace_package_version.patch",
|
|
"rusty_v8_prebuilt_out_dir.patch",
|
|
"ring_windows_msvc_include_dirs.patch",
|
|
"tikv-jemalloc-sys_make_env.patch",
|
|
"tikv-jemalloc-sys_dependency_flags.patch",
|
|
"tonic-zstd-level1.patch",
|
|
"v8_array_sort_elements_kind.patch",
|
|
"v8_source_portability.patch",
|
|
"webrtc-sys_hermetic_darwin_sysroot.patch",
|
|
"windows-link.patch",
|
|
"windows-support-remote-case-aliases.patch",
|
|
"windows-support-native-tools.patch",
|
|
"xz_windows_stack_args.patch",
|
|
])
|