Commit Graph

29 Commits

Author SHA1 Message Date
bkuschel
0d61ab29f7
Update Curl to 7.87.0 2023-02-09 12:55:05 -05:00
Azat Khuzhin
e8f5cd3c68 Add separate option to omit symbols from heavy contrib
Sometimes it is useful to build contrib with debug symbols for further
debugging.

With everything turned ON (i.e. debug build) I got 3.3GB vs 3.0GB w/o
this patch, 9% bloat, thoughts about this is this OK or not for you, if
not STRIP_DEBUG_SYMBOLS_HEAVY_CONTRIB can be OFF by default (regardless
of build type).

P.S. aws debug symbols adds just 1.7%.
v2: rename STRIP_HEAVY_DEBUG_SYMBOLS
v3: OMIT_HEAVY_DEBUG_SYMBOLS
v4: documentation had been removed
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-02 06:32:03 +03:00
Suzy Wang
17fb5d8068 upgrade curl to 7.83.1 2022-06-01 21:30:02 -07:00
Meena Renganathan
0d0b1ef7dc Fix to restrict the curl, azure and sentry build in MacOS 2022-04-06 06:28:35 -07:00
Meena Renganathan
05ffa45907 Further updates to the CMakeLists.txt to fix the build error in MacOS 2022-03-25 16:22:34 -07:00
Meena Renganathan
b85ada8ff6 Upgrdaed the curl package to fix vulnerabilities reported by WhiteSource 2022-03-08 09:35:56 -08:00
Azat Khuzhin
a2b7e0e6b2 contrib/curl: cleanup cmake
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:22 +03:00
Azat Khuzhin
4f4ec8912b Remove unbundled curl support 2022-01-20 10:02:00 +03:00
Amos Bird
6d62060e16
Build improvement 2022-01-17 22:36:27 +08:00
Alexey Milovidov
4ff812db7f Maybe better support for paths with whitespaces 2021-04-24 22:47:52 +03:00
Konstantin Podshumok
e296997b6c
cmake: fix potential curl linking problems
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:44 +03:00
Konstantin Podshumok
87a2ae1820
cmake: contrib/curl-cmake: use FAIL_ON_UNSUPPORTED_OPTIONS_COMBINATION
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:38 +03:00
alexey-milovidov
89419ceb9b
Revert "cmake: Add option to fail configuration instead of auto-reconfiguration" 2020-08-13 23:10:06 +03:00
Konstantin Podshumok
262080132b cmake: disabling silent reconfigurations in contrib/*/CMakeLists.txt
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-09 21:37:46 +03:00
Azat Khuzhin
9258368de2 Fail if curl library was enabled and was not found in case of unbundled build 2020-07-04 16:48:25 +03:00
Azat Khuzhin
0700a705bc Rewrite curl dependency in a more ch compatible way
- add support of unbundled curl
- add CURL::libcurl libraries
- avoid explicit linkage of daemon with curl (added with sentry)
- set CACHE variables for non-direct users:
  - mariadb-connector-c
  - aws-s3-cmake
  - sentry-native

Cc: @alexey-milovidov
Cc: @alesapin (requires docker image update)
Cc: @abyss7

Refs: #11300
Refs: #8011
Refs: #8905

v2: replace cmake/find/curl.cmake with proper contrib/curl-cmake (as
pointed by @abyss7, cmake/find/*.cmake is deprecated)
2020-07-03 00:57:08 +03:00
Ivan Blinkov
709b4f42c8 Prototype sending crash reports on segfaults 2020-05-27 22:11:04 +03:00
Ivan
9251fb803a
Enable OpenSSL support in Curl (#9039)
* Enable OpenSSL support in Curl
* Define macro CURL_CA_BUNDLE
2020-02-10 15:41:13 +03:00
Ivan
ec5c513faa
Implement separate CMake build file for curl library (#8905) 2020-01-30 12:51:04 +03:00
Alexey Milovidov
3d8703e81b Minor cleanups 2019-12-29 16:20:41 +03:00
Alexey Milovidov
d635441090 Removed all harmful libraries 2019-12-29 16:04:11 +03:00
Pavel Kovalenko
d04f38fb9c Fix quiet mode for curl. 2019-12-16 14:13:33 +03:00
Pavel Kovalenko
67b463a027 CMake curl build quiet mode. 2019-12-13 15:52:22 +03:00
Pavel Kovalenko
988e4e4390 AWS SDK integration - add patch file for original curl CMakeLists.txt 2019-12-12 20:08:51 +03:00
Pavel Kovalenko
98c5ab5094 AWS SDK integration - set default ca_bundle and ca_path for curl build. 2019-12-12 19:57:37 +03:00
Pavel Kovalenko
980c82a2b5 AWS SDK integration - add curl license and references to original curl CMake files. 2019-12-11 17:31:48 +03:00
Pavel Kovalenko
50173584c1 AWS SDK integration - don't use CA in curl build if openssl is disabled. 2019-12-10 17:33:07 +03:00
Pavel Kovalenko
509068c513 AWS SDK integration - curl makefile cleanup. 2019-12-10 16:23:49 +03:00
Pavel Kovalenko
28d4e7db65 AWS SDK integration - build curl manually. 2019-12-10 15:30:39 +03:00