summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge topic 'update-curl'Brad King2018-11-05125-2179/+5098
|\ | | | | | | | | | | | | | | | | | | | | | | c1ad5118de curl: backport upstream fix to 7.62.0 regression 03bf934fbe curl: Modernize tiny test code used for build inside CMake 2b3c1bb9b0 curl: Update build within CMake to account for 7.62 changes 636bcefeab Merge branch 'upstream-curl' into update-curl 9835e90750 curl 2018-10-30 (19667715) 9c6574795c curl: Update script to get curl 7.62.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2550
| * curl: backport upstream fix to 7.62.0 regressionBrad King2018-11-021-1/+2
| | | | | | | | | | | | Backport upstream curl commit 2c5ec339ea (Curl_follow: accept non-supported schemes for "fake" redirects, 2018-11-01) to get a fix to curl issue 3210, a regression in 7.62.0.
| * curl: Modernize tiny test code used for build inside CMakeBrad King2018-11-012-134/+56
| | | | | | | | | | Drop unused code. Report the error message on failure. Format the source file using clang-format.
| * curl: Update build within CMake to account for 7.62 changesBrad King2018-10-311-0/+2
| |
| * Merge branch 'upstream-curl' into update-curlBrad King2018-10-31124-2046/+5040
| | | | | | | | | | * upstream-curl: curl 2018-10-30 (19667715)
* | curl: Do not call cmake_minimum_required inside CMake itselfBrad King2018-10-251-1/+0
|/ | | | Re-use the requirements from the top-level.
* Tests: Add missing BUILD_TESTING conditionsBrad King2018-10-241-1/+1
| | | | | | We should not call `add_test` unless `BUILD_TESTING` is enabled. Fixes: #18500
* Merge branch 'update-curl' into release-3.13Brad King2018-10-22112-1857/+2567
|\ | | | | | | Merge-request: !2509
| * curl: Update build within CMake to account for 7.61 changesBrad King2018-10-221-1/+1
| | | | | | | | | | | | | | The_CURL_STATICLIB option was replaced by BUILD_SHARED_LIBS. Drop our own CURL_STATICLIB compile definition because it is now provided by curl's usage requirements.
| * curl: Backport to work with CMake 3.1 againBrad King2018-10-221-2/+3
| | | | | | | | | | | | Curl 7.61.1 requires CMake 3.4 to build from source and also exposes a dependency on OpenSSL imported targets. Revert that part of the changes imported from curl upstream.
| * Merge branch 'upstream-curl' into update-curlBrad King2018-10-22112-1858/+2567
| | | | | | | | | | * upstream-curl: curl 2018-09-04 (432eb5f5)
* | curl: add missing type sizes for 'long long' and '__int64'Brad King2018-10-221-0/+6
|/ | | | | | | | | | | | | When generating `curl_config.h`, add size information for `long long` and `__int64` types. These are needed as candidates for defining the `ssize_t` type because on MSVC, `long` is not the same size as `size_t`. This problem did not affect upstream curl because it computes the `ssize_t` type in CMake code where all sizes are available. CMake's port computes it in preprocessor logic because universal binaries on macOS do not know type sizes until compile time. Fixes: #18477
* Merge branch 'upstream-curl' into update-curlBrad King2018-05-18107-1760/+3629
| | | | | * upstream-curl: curl 2018-05-15 (cb013830)
* Merge branch 'upstream-curl' into update-curlBrad King2018-01-24100-4124/+8933
| | | | | * upstream-curl: curl 2018-01-23 (d6c21c8e)
* Fix trivial typos in textluzpaz2017-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some are user facing. Found using codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt` whereby the whitelist contained: ans dum helpfull emmited emmitted buil iff isnt nto ot pathes substract te todays upto whitespaces
* curl: Update build within CMake to account for 7.56 changesBrad King2017-10-102-1/+5
|