Skip to content

Commit

Permalink
Windows + choco OpenSSL 3.2.1 + CMake woes
Browse files Browse the repository at this point in the history
Installing openssl 3.2.1 with Chocolatey if openssl 1.x is already present gives
interesting results (it uses the include files from 3.x but the libraries of 1.x).  You'd
think that uninstalling openssl 1.x, then installing openssl 3.2.1 would solve all
problems, but then CMake says it can't find OpenSSL at all, and indeed it can't find the
libraries in the locations where it is looking for them.

Let's see what happens when we don't touch the system image and use whatever openssl
version is present.

Signed-off-by: Erik Boasson <eb@ilities.com>
  • Loading branch information
eboasson committed Mar 8, 2024
1 parent 823ac28 commit 5cbf287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .azure/templates/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ steps:
} else {
Write-Host "###vso[task.setvariable variable=build_tool_options;]-j 4"
}
choco install -y openssl
#choco install -y openssl
condition: eq(variables['Agent.OS'], 'Windows_NT')
name: setup_windows
- task: Cache@2
Expand Down Expand Up @@ -143,7 +143,7 @@ steps:
-DBUILD_IDLC_XTESTS=${IDLC_XTESTS:-on} \
-DBUILD_EXAMPLES=on \
-DWERROR=on \
${GENERATOR:+-G}${GENERATOR} -A "${PLATFORM}" -T "${TOOLSET}" ..
${GENERATOR:+-G} "${GENERATOR}" -A "${PLATFORM}" -T "${TOOLSET}" ..
${SCAN_BUILD} cmake --build . --config ${BUILD_TYPE} --target install -- ${BUILD_TOOL_OPTIONS}
cmake --build . --config ${BUILD_TYPE} --target package -- ${BUILD_TOOL_OPTIONS}
name: script
Expand Down

0 comments on commit 5cbf287

Please sign in to comment.