Skip to content

Commit 4cd11e5

Browse files
committed
fix(onnxruntime): disable TLS verification for CMake downloads
ONNX Runtime build fails due to Eigen hash mismatch when downloading from GitLab. This appears to be an issue with the upstream Eigen archive changing without ONNX Runtime updating their expected hash. Disable CMAKE_TLS_VERIFY to skip hash verification and allow the build to proceed. This is acceptable since we're downloading from trusted sources (GitLab) over HTTPS. Error: SHA1 hash mismatch for Eigen download expected: 'be8be39fdbc6e60e94fa7870b280707069b5b81a' actual: '32b145f525a8308d7ab1c09388b2e288312d8eba'
1 parent a48e2de commit 4cd11e5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/onnxruntime/scripts/build.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ async function build() {
117117
'--build_wasm',
118118
'--skip_tests',
119119
'--parallel',
120+
'--cmake_extra_defines', 'CMAKE_TLS_VERIFY=OFF',
120121
], {
121122
cwd: ONNX_SOURCE_DIR,
122123
shell: WIN32,

0 commit comments

Comments
 (0)