summaryrefslogtreecommitdiff
path: root/Utilities/cmcurl
Commit message (Collapse)AuthorAgeFilesLines
* curl: Restore build within CMake after update to 8.0.1Brad King2023-03-201-3/+7
| | | | | | Restore changes from commit 2be5a7de4e (Build: Use imported target `ZLIB::ZLIB` instead of variables, 2022-08-21, v3.25.0-rc1~97^2~10) that were undone by the update to curl 8.0.1. The code was moved.
* Merge branch 'upstream-curl' into update-curlBrad King2023-03-2076-1538/+1934
| | | | | * upstream-curl: curl 2023-03-20 (b16d1fa8)
* Merge branch 'upstream-curl' into update-curlBrad King2023-02-21360-9802/+14331
| | | | | * upstream-curl: curl 2023-02-20 (046209e5)
* curl: Backport upstream fix for SecureTransport on macOSBrad King2023-02-091-40/+88
| | | | | | | Backport upstream curl commit `16bb32e104d` (sectransp: fix for incomplete read/writes, 2023-01-05) to fix TLS support on macOS. Fixes: #24398
* curl: Enable schannel TLS 1.3 support on Windows 11Brad King2023-02-081-7/+0
| | | | | | | | | | Revert commit c0a4536cec (curl: Disable schannel TLS 1.3 support on Windows 11, 2022-11-09, v3.25.0~13^2). The curl bug it avoided was fixed by upstream curl commit `4f42150d0` (sendf: change Curl_read_plain to wrap Curl_recv_plain , 2022-11-14, curl-7_87_0~129), which we have since recently updating to curl 7.87.0. Issue: #24147
* curl: Work around missing OpenSSL symbol on machine with LCC 1.23Brad King2023-01-301-0/+6
| | | | | | | On a nightly build using LCC 1.23, OpenSSL 2.0.0 is found but does not seem to have the `X509_STORE_up_ref` symbol used by curl 7.87. Pending further investigation, disable use of the symbol based on the compiler version.
* Merge branch 'upstream-curl' into update-curlBrad King2023-01-27141-5989/+8202
| | | | | * upstream-curl: curl 2022-12-21 (c12fb3dd)
* curl: Disable schannel TLS 1.3 support on Windows 11Brad King2022-11-091-0/+7
| | | | | | | | Curl 7.85.0 introduced support for TLS 1.3 support with schannel. We've observed connection failures in some cases, so disable the support pending further investigation. Fixes: #24147
* curl: Set build options the way we need for CMakeBrad King2022-10-311-0/+10
|
* Merge branch 'upstream-curl' into update-curlBrad King2022-10-31348-4295/+8246
| | | | | * upstream-curl: curl 2022-10-26 (cd95ee9f)
* Build: Use imported target `ZLIB::ZLIB` instead of variablesAlex Turbov2022-09-223-16/+5
|
* MSVC: Recognize -XYZ as well as /XYZ when parsing MS tool command linesDubach, Joev2022-07-271-0/+2
| | | | Fixes: #23772
* curl: make libcmcurl buildable with old LibreSSLmakise-homura2022-06-281-7/+17
| | | | | | | | LibreSSL older than 2.6.0 is not supported correctly in upstream curl, and as a consequence, in libcmcurl. Such LibreSSL versions can be used in old distros, like OS Elbrus 4.x and 5.x, so until this fix, CMake wasn't buildable there either.
* Utilities: Activate POSIX APIs even without compiler extensionsBrad King2022-06-041-0/+14
| | | | | | | | | | | Compile some third-party libraries with preprocessor definitions that activate POSIX APIs even when compiler extensions are not enabled. We already do this in libuv, inherited from the upstream buildsystem. This extends commit f034b0f663 (CMake compilation: do not use compiler extensions, 2020-03-14, v3.18.0-rc1~494^2). Issue: #20454
* Merge branch 'upstream-curl' into update-curlBrad King2022-05-1626-158/+290
| | | | | * upstream-curl: curl 2022-05-11 (462196e6)
* Merge branch 'upstream-curl' into update-curlBrad King2022-04-28146-4572/+4737
| | | | | * upstream-curl: curl 2022-04-27 (1669b17d)
* Utilities: Suppress warnings in third-party code with IBMClangAaron Liu2022-01-271-1/+1
|
* curl: Set build options the way we need for CMakeBrad King2022-01-072-16/+19
|
* Merge branch 'upstream-curl' into update-curlBrad King2022-01-07101-2001/+3551
| | | | | * upstream-curl: curl 2022-01-05 (801bd513)
* LCC: Add dedicated support for MCST LCC compilermakise-homura2021-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | | Divert LCC compiler as a new one, instead of treating it as GNU. Since old times, Elbrus C/C++/Fortran Compiler (LCC) by MCST has been passing checks for GNU compilers, so it has been identified as GNU. Now, with intent of seriously upstreaming its support, it has been added as a separate LCC compiler, and its version displays not a supported GCC version, but LCC version itself (e.g. LCC 1.25.19 instead of GNU 7.3.0). This commit adds its support for detection, and also converts basically every check like 'is this compiler GNU?' to 'is this compiler GNU or LCC?'. The only places where this check is untouched, is where it regards other platforms where LCC is unavailable (primarily non-Linux), and where it REALLY differs from GNU compiler. Note: this transition may break software that are already ported to Elbrus, but hardly relies that LCC will be detected as GNU; still such software is not known.
* Merge branch 'upstream-curl' into update-curlBrad King2021-09-249-47/+65
| | | | | * upstream-curl: curl 2021-09-22 (c7aef0a9)
* curl: Set build options the way we need for CMakeBrad King2021-09-151-0/+12
|
* Merge branch 'upstream-curl' into update-curlBrad King2021-09-15124-3029/+3817
| | | | | * upstream-curl: curl 2021-09-14 (8e82f2a0)
* curl: backport upstream fix to 7.77.0 regressionBrad King2021-06-281-0/+1
| | | | | | | | Backport upstream curl commit `ee97f1769` (schannel: set ALPN length correctly for HTTP/2, 2021-05-26) to get a fix to curl issue 7138, a regression in 7.77.0. Fixes: #22355
* Merge branch 'upstream-curl' into update-curlBrad King2021-05-27145-4479/+6384
| | | | | * upstream-curl: curl 2021-05-26 (6b951a69)
* Utilities: Suppress warnings in third-party code with NVHPCBrad King2021-04-201-1/+1
|
* curl: Set build options the way we need for CMakeBrad King2021-02-031-0/+2
|
* Merge branch 'upstream-curl' into update-curlBrad King2021-02-03145-6620/+9148
| | | | | * upstream-curl: curl 2021-02-03 (2f33be81)
* Utilities: Suppress warnings in third-party code when using IntelLLVMBrad King2021-01-281-1/+1
|
* curl: Set build options the way we need for CMakeBrad King2020-12-111-1/+3
|
* Merge branch 'upstream-curl' into update-curlBrad King2020-12-09327-3682/+4809
| | | | | * upstream-curl: curl 2020-12-09 (e0528597)
* curl: Set build options the way we need for CMakeBrad King2020-08-191-1/+4
|
* Merge branch 'upstream-curl' into update-curlBrad King2020-08-1955-417/+940
| | | | | * upstream-curl: curl 2020-08-19 (9d954e49)
* Merge branch 'upstream-curl' into update-curlBrad King2020-07-0139-218/+250
| | | | | * upstream-curl: curl 2020-06-30 (5a1fc8d3)
* curl: Set build options the way we need for CMakeBrad King2020-06-241-0/+6
|
* Merge branch 'upstream-curl' into update-curlBrad King2020-06-24172-4702/+8362
| | | | | * upstream-curl: curl 2020-06-23 (e9db32a0)
* curl: Use KWIML to get integer type sizesBrad King2020-06-022-19/+12
|
* curl: Avoid checking 'send' and 'recv' signaturesBrad King2020-05-201-0/+17
| | | | | | | | | | | | | | cURL detects the `send` and `recv` signatures using a large loop of `try_compile` checks. The results are used for the following: * Casting argument types in calls to `send` and `recv`, perhaps to avoid conversion warnings. We compile with `-w` anyway. * Providing debug variants for `CURLDEBUG`, which we do not use. Replace the detection loops with hard-coded results that should work well enough everywhere. This significantly reduces the number of configure-time checks for building CMake on some platforms.
* curl: Enable HTTP/2 support by using nghttp2Brad King2020-04-031-0/+1
|
* curl: When building inside CMake, link dependencies as PRIVATEBrad King2020-04-031-1/+1
|
* curl: Set build options the way we need for CMakeBrad King2020-03-041-0/+7
|
* Merge branch 'upstream-curl' into update-curlBrad King2020-03-04226-6740/+13074
| | | | | * upstream-curl: curl 2020-03-04 (b8d13668)
* replace remove and remove_directory with rm in testsJohnny Jazeix2019-11-131-1/+1
|
* OpenSSL: Issue an error if OpenSSL is not foundKyle Edwards2019-07-181-1/+6
| | | | | | | | | | | | | | When building with the built-in Curl, CMAKE_USE_OPENSSL is only set to ON by default if an OpenSSL installation is detected. However, this can cause the user to mistakenly build without OpenSSL support if OpenSSL is not installed, because CMAKE_USE_OPENSSL is set to OFF in that case. Always set CMAKE_USE_OPENSSL to ON by default on systems where it could be available, skipping the initial detection, resulting in an error when we try to use OpenSSL later on. Detect this error and advise the user to either install OpenSSL or set CMAKE_USE_OPENSSL to OFF. Co-Authored-by: Brad King <brad.king@kitware.com>
* Fix elseif() in place of else()Artalus2019-07-031-1/+1
|
* curl: Update build within CMake to account for 7.65 changesBrad King2019-05-221-2/+5
|
* Merge branch 'upstream-curl' into update-curlBrad King2019-05-22171-5993/+6565
| | | | | * upstream-curl: curl 2019-05-22 (885ce314)
* Utilities: Suppress warnings in third-party code when using XLClangBrad King2019-02-251-1/+1
|
* Remove now-unused code once used for MIPSpro on IRIXBrad King2019-02-211-1/+1
| | | | | | In commit beb991110d (Remove now-unused code once used on IRIX, 2019-01-11, v3.14.0-rc1~167^2) we removed remnants of IRIX support. Also remove remnants of MIPSpro compiler support.
* curl: do not disable IPv6 supportRechi Rechi2019-01-101-1/+1
| | | | Allow curl's detection of IPv6 to proceed when building in CMake.