File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
.builders/images/windows-x86_64 Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,8 @@ RUN Get-RemoteFile `
116
116
117
117
ENV OPENSSL_VERSION="3.3.2"
118
118
119
+ ENV CURL_VERSION="8.11.1"
120
+
119
121
# Set up runner
120
122
COPY runner_dependencies.txt C:\r unner_dependencies.txt
121
123
RUN python -m pip install --no-warn-script-location -r C:\r unner_dependencies.txt
Original file line number Diff line number Diff line change @@ -21,15 +21,26 @@ Remove-Item "librdkafka-${kafka_version}.tar.gz"
21
21
# Based on this job from upstream:
22
22
# https://github.com/confluentinc/librdkafka/blob/cb8c19c43011b66c4b08b25e5150455a247e1ff3/.semaphore/semaphore.yml#L265
23
23
# Install vcpkg
24
- Set-Location " C:\"
25
24
$triplet = " x64-windows"
25
+ $vcpkg_dir = " C:\vcpkg"
26
26
$librdkafka_dir = " C:\librdkafka\librdkafka-${kafka_version} "
27
+ $desired_tag = " 2024.12.16"
28
+
29
+ # Clone and configure vcpkg
30
+ if (-Not (Test-Path - Path " $vcpkg_dir \.git" )) {
31
+ git clone https:// github.com / Microsoft/ vcpkg.git $vcpkg_dir
32
+ }
33
+
34
+ Set-Location $vcpkg_dir
35
+ git checkout $desired_tag
36
+
37
+ Write-Host " Bootstrapping vcpkg..."
38
+ .\bootstrap-vcpkg.bat
27
39
28
- & " ${librdkafka_dir} \win32\setup-vcpkg.ps1"
29
40
# Get deps
30
41
Set-Location " $librdkafka_dir "
31
- # Patch the the vcpkg manifest to to override the OpenSSL version
32
- python C:\update_librdkafka_manifest.py vcpkg.json -- set-version openssl:${Env: OPENSSL_VERSION}
42
+ # Patch the the vcpkg manifest to to override the OpenSSL version and CURL version
43
+ python C:\update_librdkafka_manifest.py vcpkg.json -- set-version openssl:${Env: OPENSSL_VERSION} -- set-version curl: ${ Env: CURL_VERSION}
33
44
34
45
C:\vcpkg\vcpkg integrate install
35
46
C:\vcpkg\vcpkg -- feature- flags= versions install -- triplet $triplet
You can’t perform that action at this time.
0 commit comments