Skip to content

Commit

Permalink
resolved errors of libhdfs3
Browse files Browse the repository at this point in the history
  • Loading branch information
tekdogan committed Jul 12, 2024
1 parent 42257cc commit 607dea5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion custom-triplets/x64-linux-nes.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ set(VCPKG_LIBRARY_LINKAGE static)

set(VCPKG_CMAKE_SYSTEM_NAME Linux)

set(VCPKG_CXX_FLAGS -std=c++20)
set(VCPKG_C_FLAGS "")

if(NOT CMAKE_HOST_SYSTEM_PROCESSOR)
execute_process(COMMAND "uname" "-m" OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_PROCESSOR OUTPUT_STRIP_TRAILING_WHITESPACE)
endif()
Expand All @@ -30,4 +33,4 @@ endif()

if (PORT STREQUAL oatpp)
set(VCPKG_LIBRARY_LINKAGE static)
endif()
endif()
6 changes: 6 additions & 0 deletions docker/Dockerfile-ubuntu-22.04
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,15 @@ RUN apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -qq \
ninja-build \
flex \
bison \
libgsasl7 \
libkrb5-3 \
&& apt-get clean -qq

RUN apt-get install -y libc-client-dev libkrb5-dev

RUN apt-get install -y libc-client-dev libgsasl7-dev

RUN apt-get install -y libc-client-dev uuid-dev

ADD ./entrypoint-build.sh /entrypoint.sh

Expand Down
6 changes: 6 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
"supports": "x64 & (linux | osx)",
"builtin-baseline": "daa7215f3d68c2a2f2e18c398cb73dab63cda829",
"dependencies": [
"libuuid",
"libhdfs3"
],
"overrides": [
{
"name": "krb5", "version": "1.21.3", "port-version": 0
}
]
}

0 comments on commit 607dea5

Please sign in to comment.