mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
[bazel] Try to remove mingw patch
This commit is contained in:
@@ -11,8 +11,10 @@ single_version_override(
|
||||
patch_strip = 1,
|
||||
patches = [
|
||||
"//patches:llvm_windows_symlink_extract.patch",
|
||||
"//patches:toolchains_llvm_remove_mingw_msvcrt_patch.patch",
|
||||
],
|
||||
)
|
||||
|
||||
# Abseil picks a MinGW pthread TLS path that does not match our hermetic
|
||||
# windows-gnullvm toolchain; force it onto the portable C++11 thread-local path.
|
||||
single_version_override(
|
||||
|
||||
@@ -5,6 +5,7 @@ exports_files([
|
||||
"rules_rust_windows_gnullvm_build_script.patch",
|
||||
"rules_rs_windows_gnullvm_exec.patch",
|
||||
"rusty_v8_prebuilt_out_dir.patch",
|
||||
"toolchains_llvm_remove_mingw_msvcrt_patch.patch",
|
||||
"v8_bazel_rules.patch",
|
||||
"v8_module_deps.patch",
|
||||
"v8_source_portability.patch",
|
||||
|
||||
15
patches/toolchains_llvm_remove_mingw_msvcrt_patch.patch
Normal file
15
patches/toolchains_llvm_remove_mingw_msvcrt_patch.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff --git a/runtimes/mingw/extension/mingw.bzl b/runtimes/mingw/extension/mingw.bzl
|
||||
index 84aeae4..1212a56 100644
|
||||
--- a/runtimes/mingw/extension/mingw.bzl
|
||||
+++ b/runtimes/mingw/extension/mingw.bzl
|
||||
@@ -9,10 +9,6 @@ def _mingw_extension_impl(module_ctx):
|
||||
integrity = "sha256-Wv6CKvXE7b9n2q9F7sYdU49J7vaxlSTeZIl8a5WCjK8=",
|
||||
strip_prefix = "mingw-w64-v13.0.0",
|
||||
build_file = "//runtimes/mingw:mingw.BUILD.bazel",
|
||||
- patches = [
|
||||
- "//runtimes/mingw/patches:remove-fpreset-from-msvcrt-def.patch",
|
||||
- ],
|
||||
- patch_args = ["-p1"],
|
||||
)
|
||||
|
||||
metadata_kwargs = {}
|
||||
Reference in New Issue
Block a user