Skip to content

Add usages of VCPKG manager to docker files

Pavel Kisliak requested to merge use_vcpkg_in_docker_and_ci into main

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [Yes]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Updates description

This MR is last step of integration VCPKG manager, in addition to add usages VCPKG to docker files, there were fixed several related issues:

  • Update Docker files and "build.sh" script for use VCPKG manager
  • Fix and make cross-platform installation of third-party libraries (didn't get libs from VCPKG and was not worked on Win). Will be used just only CMake (required version 3.21). Tested on Linux, Windows
  • Fix discovering AvroCpp library, add support multi configuration Debug/Release (required for VCPKG, otherwise it always take Debug version)
  • Add VCPKG_FEATURE_FLAGS to main "CMakeLists.txt" (for reduce number of parameters that need to be passed to CMake)
  • Remove scripts that are no longer needed for build third-party dependencies

Things for further improvements:

  • Remove support of local directory with third-party libraries. Do you have any objections?
  • Investigate possibilities to improve build time on CI (via caching the libraries).

Related issue: #30 (closed)

Edited by Pavel Kisliak

Merge request reports