File tree Expand file tree Collapse file tree 4 files changed +22
-18
lines changed
Expand file tree Collapse file tree 4 files changed +22
-18
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ cd "%WORKSPACE%"
2525
2626SET TARGET_ARCH = x86_32
2727SET FAIL_ON_WARNINGS = true
28- SET PROTOBUF_VER = 26 .1
28+ SET PROTOBUF_VER = 33 .1
2929SET PKG_CONFIG_PATH = %ESCWORKSPACE% \\grpc-java-helper32\\protobuf-%PROTOBUF_VER% \\build\\protobuf-%PROTOBUF_VER% \\lib\\pkgconfig
3030SET VC_PROTOBUF_LIBS = /LIBPATH:%ESCWORKSPACE% \\grpc-java-helper32\\protobuf-%PROTOBUF_VER% \\build\\protobuf-%PROTOBUF_VER% \\lib
3131SET VC_PROTOBUF_INCLUDE = %ESCWORKSPACE% \\grpc-java-helper32\\protobuf-%PROTOBUF_VER% \\build\\protobuf-%PROTOBUF_VER% \\include
@@ -66,14 +66,16 @@ for /f "tokens=*" %%a in ('pkg-config --libs protobuf') do (
6666 set lib = !lib:~2 !
6767 @ rem remove spaces
6868 set lib = !lib: =!
69- @ rem Because protobuf is specified as libprotobuf and elsewhere
70- if !lib! NEQ protobuf (
69+ set libprefix = !lib:~ 0 , 4 !
70+ if !libprefix! == absl (
7171 set lib = !lib! .lib
72- if " !libs_list! " == " " (
73- set libs_list = !lib!
74- ) else (
75- set libs_list = !libs_list! ,!lib!
76- )
72+ ) else (
73+ set lib = lib!lib! .lib
74+ )
75+ if " !libs_list! " == " " (
76+ set libs_list = !lib!
77+ ) else (
78+ set libs_list = !libs_list! ,!lib!
7779 )
7880 )
7981 )
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ cd "%WORKSPACE%"
2424
2525SET TARGET_ARCH = x86_64
2626SET FAIL_ON_WARNINGS = true
27- SET PROTOBUF_VER = 26 .1
27+ SET PROTOBUF_VER = 33 .1
2828SET PKG_CONFIG_PATH = %ESCWORKSPACE% \\grpc-java-helper64\\protobuf-%PROTOBUF_VER% \\build\\protobuf-%PROTOBUF_VER% \\lib\\pkgconfig
2929SET VC_PROTOBUF_LIBS = /LIBPATH:%ESCWORKSPACE% \\grpc-java-helper64\\protobuf-%PROTOBUF_VER% \\build\\protobuf-%PROTOBUF_VER% \\lib
3030SET VC_PROTOBUF_INCLUDE = %ESCWORKSPACE% \\grpc-java-helper64\\protobuf-%PROTOBUF_VER% \\build\\protobuf-%PROTOBUF_VER% \\include
@@ -50,14 +50,16 @@ for /f "tokens=*" %%a in ('pkg-config --libs protobuf') do (
5050 set lib = !lib:~2 !
5151 @ rem remove spaces
5252 set lib = !lib: =!
53- @ rem Because protobuf is specified as libprotobuf and elsewhere
54- if !lib! NEQ protobuf (
53+ set libprefix = !lib:~ 0 , 4 !
54+ if !libprefix! == absl (
5555 set lib = !lib! .lib
56- if " !libs_list! " == " " (
57- set libs_list = !lib!
58- ) else (
59- set libs_list = !libs_list! ,!lib!
60- )
56+ ) else (
57+ set lib = lib!lib! .lib
58+ )
59+ if " !libs_list! " == " " (
60+ set libs_list = !lib!
61+ ) else (
62+ set libs_list = !libs_list! ,!lib!
6163 )
6264 )
6365 )
Original file line number Diff line number Diff line change 11choco install -y pkgconfiglite
22choco install -y openjdk --version=17.0
33set PATH = %PATH% ;" c:\Program Files\OpenJDK\jdk-17\bin"
4- set PROTOBUF_VER = 26 .1
4+ set PROTOBUF_VER = 33 .1
55set ABSL_VERSION = 20250127.1
66set CMAKE_NAME = cmake-3.26.3-windows-x86_64
77
Original file line number Diff line number Diff line change 33# Build protoc
44set -evux -o pipefail
55
6- PROTOBUF_VERSION=26 .1
6+ PROTOBUF_VERSION=33 .1
77ABSL_VERSION=20250127.1
88CMAKE_VERSION=3.26.3
99
You can’t perform that action at this time.
0 commit comments