-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Fix libgit2 build when
USE_BINARYBUILDER=0
(#38121)
This fixes a regression in the libgit2 build system which is unable to find the `mbedTLS` headers at compile time. It also synchronizes the `mbedTLS` configuration to include `MD4`, which `libgit2` expects.
- Loading branch information
1 parent
e3da30c
commit 1c8ab63
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
commit 1822b0827a652d5c970a3a906e1801fb8251135b | ||
Author: Elliot Saba <staticfloat@gmail.com> | ||
Date: Tue Oct 20 23:26:47 2020 +0000 | ||
|
||
Include `${MBEDTLS_INCLUDE_DIR}` when compiling `crypt_mbedtls.c` | ||
|
||
Without this, mbedTLS installs in non-default install locations | ||
that are otherwise found by the `FindmbedTLS.cmake` module are not | ||
found by the C preprocessor at compile time. | ||
|
||
diff --git a/deps/ntlmclient/CMakeLists.txt b/deps/ntlmclient/CMakeLists.txt | ||
index 5fbf0d0f4..d933f4919 100644 | ||
--- a/deps/ntlmclient/CMakeLists.txt | ||
+++ b/deps/ntlmclient/CMakeLists.txt | ||
@@ -16,6 +16,7 @@ ELSEIF(USE_HTTPS STREQUAL "OpenSSL") | ||
SET(SRC_NTLMCLIENT_CRYPTO "crypt_openssl.c") | ||
ELSEIF(USE_HTTPS STREQUAL "mbedTLS") | ||
ADD_DEFINITIONS(-DCRYPT_MBEDTLS) | ||
+ INCLUDE_DIRECTORIES(${MBEDTLS_INCLUDE_DIR}) | ||
SET(SRC_NTLMCLIENT_CRYPTO "crypt_mbedtls.c") | ||
ELSE() | ||
MESSAGE(FATAL_ERROR "Unable to use libgit2's HTTPS backend (${USE_HTTPS}) for NTLM crypto") |
1c8ab63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Executing the daily benchmark build, I will reply here when finished:
@nanosoldier
runbenchmarks(ALL, isdaily = true)
1c8ab63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Executing the daily package evaluation, I will reply here when finished:
@nanosoldier
runtests(ALL, isdaily = true)
1c8ab63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something went wrong when running your job:
Logs and partial data can be found here
cc @christopher-dG
1c8ab63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your package evaluation job has completed - possible new issues were detected. A full report can be found here. cc @maleadt