From c34992612ddcff00ce0368f13e0367879fb15974 Mon Sep 17 00:00:00 2001 From: justkw Date: Fri, 30 Jun 2023 13:50:44 -0700 Subject: [PATCH] upgrade curl to 8.1.2 --- tensorflow/workspace2.bzl | 6 +++--- third_party/curl.BUILD | 15 +++++++++++++-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/tensorflow/workspace2.bzl b/tensorflow/workspace2.bzl index da9295adababdc..a1e176d1c3794a 100644 --- a/tensorflow/workspace2.bzl +++ b/tensorflow/workspace2.bzl @@ -506,10 +506,10 @@ def _tf_repositories(): tf_http_archive( name = "curl", build_file = "//third_party:curl.BUILD", - sha256 = "5fd29000a4089934f121eff456101f0a5d09e2a3e89da1d714adf06c4be887cb", - strip_prefix = "curl-8.0.1", + sha256 = "2e5a9b8fcdc095bdd2f079561f369de71c5eb3b80f00a702fbe9a8b8d9897891", + strip_prefix = "curl-8.1.2", system_build_file = "//third_party/systemlibs:curl.BUILD", - urls = tf_mirror_urls("https://curl.haxx.se/download/curl-8.0.1.tar.gz"), + urls = tf_mirror_urls("https://curl.haxx.se/download/curl-8.1.2.tar.gz"), ) # WARNING: make sure ncteisen@ and vpai@ are cc-ed on any CL to change the below rule diff --git a/third_party/curl.BUILD b/third_party/curl.BUILD index 4de0704b099e42..d75445d82bb3f2 100644 --- a/third_party/curl.BUILD +++ b/third_party/curl.BUILD @@ -42,6 +42,8 @@ cc_library( "lib/base64.c", "lib/bufref.c", "lib/bufref.h", + "lib/bufq.c", + "lib/bufq.h", "lib/c-hyper.c", "lib/c-hyper.h", "lib/cf-https-connect.c", @@ -62,6 +64,8 @@ cc_library( "lib/conncache.h", "lib/connect.c", "lib/connect.h", + "lib/cf-haproxy.c", + "lib/cf-haproxy.h", "lib/content_encoding.c", "lib/content_encoding.h", "lib/cookie.c", @@ -121,6 +125,8 @@ cc_library( "lib/doh.h", "lib/dynbuf.c", "lib/dynbuf.h", + "lib/dynhds.c", + "lib/dynhds.h", "lib/easy.c", "lib/easy_lock.h", "lib/easygetopt.c", @@ -147,8 +153,6 @@ cc_library( "lib/getinfo.h", "lib/gopher.c", "lib/gopher.h", - "lib/h2h3.c", - "lib/h2h3.h", "lib/hash.c", "lib/hash.h", "lib/headers.c", @@ -164,6 +168,8 @@ cc_library( "lib/hsts.h", "lib/http.c", "lib/http.h", + "lib/http1.c", + "lib/http1.h", "lib/http2.c", "lib/http2.h", "lib/http_aws_sigv4.c", @@ -178,12 +184,17 @@ cc_library( "lib/http_ntlm.h", "lib/http_proxy.c", "lib/http_proxy.h", + "lib/cf-h1-proxy.c", + "lib/cf-h1-proxy.h", + "lib/cf-h2-proxy.c", + "lib/cf-h2-proxy.h", "lib/idn.c", "lib/idn.h", "lib/if2ip.c", "lib/if2ip.h", "lib/imap.c", "lib/imap.h", + "lib/inet_ntop.c", "lib/inet_ntop.h", "lib/inet_pton.c", "lib/inet_pton.h",