Skip to content

Commit

Permalink
HPCC-33205 Re-enable CentOS-7 builds
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon Smith <[email protected]>
  • Loading branch information
GordonSmith committed Jan 17, 2025
1 parent 30c5ecb commit c4f033b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
10 changes: 9 additions & 1 deletion cmake_modules/vcpkg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ set(CMAKE_TOOLCHAIN_FILE ${HPCC_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cma
set(VCPKG_ROOT ${HPCC_SOURCE_DIR}/vcpkg)
set(VCPKG_INSTALLED_DIR "${VCPKG_FILES_DIR}/vcpkg_installed")
set(VCPKG_INSTALL_OPTIONS "--x-abi-tools-use-exact-versions;--downloads-root=${VCPKG_FILES_DIR}/vcpkg_downloads;--x-buildtrees-root=${VCPKG_FILES_DIR}/vcpkg_buildtrees;--x-packages-root=${VCPKG_FILES_DIR}/vcpkg_packages")
set(VCPKG_VERBOSE OFF)

if(WIN32)
set(VCPKG_HOST_TRIPLET "x64-windows" CACHE STRING "host triplet")
Expand All @@ -24,6 +23,15 @@ elseif(UNIX)
set(VCPKG_TARGET_TRIPLET "x64-linux-dynamic" CACHE STRING "target triplet")
endif()

message("-- vcpkg settings:")
message("---- VCPKG_FILES_DIR: ${VCPKG_FILES_DIR}")
message("---- CMAKE_TOOLCHAIN_FILE: ${CMAKE_TOOLCHAIN_FILE}")
message("---- VCPKG_ROOT: ${VCPKG_ROOT}")
message("---- VCPKG_INSTALLED_DIR: ${VCPKG_INSTALLED_DIR}")
message("---- VCPKG_INSTALL_OPTIONS: ${VCPKG_INSTALL_OPTIONS}")
message("---- VCPKG_HOST_TRIPLET: ${VCPKG_HOST_TRIPLET}")
message("---- VCPKG_TARGET_TRIPLET: ${VCPKG_TARGET_TRIPLET}")

# Create a catalog of the vcpkg dependencies ---
file(GLOB VCPKG_PACKAGES ${VCPKG_FILES_DIR}/vcpkg_packages/*/CONTROL)
list(APPEND VCPKG_PACKAGE_LIST "-----------------\n")
Expand Down
4 changes: 4 additions & 0 deletions dockerfiles/vcpkg/centos-7.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ RUN yum install -y \

ENTRYPOINT ["/bin/bash", "--login", "-c"]

RUN yum install -y \
rpm-build && \
yum -y clean all && rm -rf /var/cache

CMD ["/bin/bash"]
1 change: 1 addition & 0 deletions plugins/couchbase/couchbaseembed.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#endif

//Using cpp wrapper from https://github.com/couchbaselabs/libcouchbase-cxx
#include <cassert>
#include <libcouchbase/couchbase++.h>
#include <libcouchbase/couchbase++/views.h>
#include <libcouchbase/couchbase++/query.h>
Expand Down
2 changes: 1 addition & 1 deletion vcpkg
Submodule vcpkg updated 4319 files
2 changes: 1 addition & 1 deletion vcpkg-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"default-registry": {
"kind": "git",
"repository": "https://github.com/microsoft/vcpkg",
"baseline": "f7423ee180c4b7f40d43402c2feb3859161ef625"
"baseline": "b2cb0da531c2f1f740045bfe7c4dac59f0b2b69c"
},
"registries": [],
"overlay-ports": [
Expand Down
4 changes: 2 additions & 2 deletions vcpkg.json.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
"name": "hpcc-platform",
"version": "9.8.0",
"version": "9.10.0",
"dependencies": [
{
"name": "apr",
Expand Down Expand Up @@ -166,7 +166,6 @@
"name": "openssl",
"platform": "@VCPKG_OPENSSL@"
},
"pcre2",
{
"name": "opentelemetry-cpp",
"default-features": false,
Expand All @@ -175,6 +174,7 @@
"otlp-grpc"
]
},
"pcre2",
{
"name": "python3",
"platform": "@VCPKG_PYTHON3@ & windows"
Expand Down

0 comments on commit c4f033b

Please sign in to comment.