[MDBF-644] install libcurl on amd64-builder Created: 2024-02-01 Updated: 2024-02-08 |
|
| Status: | In Progress |
| Project: | MariaDB Foundation Development |
| Component/s: | Buildbot |
| Affects Version/s: | N/A |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Major |
| Reporter: | Daniel Black | Assignee: | Vlad Bogolin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Required to test MDEV-30432 on Windows. See https://github.com/MariaDB/server/pull/2996 |
| Comments |
| Comment by Anel Husakovic [ 2024-02-05 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Direct link for libcurl for W64 here | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2024-02-05 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Installed, Was this a chocolatey install? Can a CMakeOutput.txt/CMakeError.txt be saved from the build to work out its lack of detection. https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindCURL.cmake | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vlad Bogolin [ 2024-02-05 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Curl was installed using choco but libcurl was missing. I have now installed from Anel’s link manually a new version that comes with libcurl for the amd64-windows-packages builder. Not sure if there is any additional env var that needs to be set though. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Anel Husakovic [ 2024-02-07 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I have tested built successfully on windows builder with libcurl by explicitly defining CURL_LIBRARY and CURL_INCLUDE_DIR, using following command:
Library libcurl is properly linked dynamically
The test is now failing
The problem that now exists is that PATH variable should be set. vladbogo can you please add the cmake variables to windows builders and append to env PATH variable C:\ProgramData\chocolatey\lib\curl\tools\curl-7.85.0-win64-mingw\bin ? |