Skip to content

Commit

Permalink
first attempt at adding aws-sdk-cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
quasiben committed Aug 28, 2024
1 parent 6fac4bf commit 29aa01f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .devcontainer/rapids.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,27 @@ RUN apt update -y \
libcurl4-openssl-dev \
&& rm -rf /tmp/* /var/tmp/* /var/cache/apt/* /var/lib/apt/lists/*;

# https://github.com/conda-forge/aws-sdk-cpp-feedstock/blob/main/recipe/meta.yaml
# https://github.com/conda-forge/aws-sdk-cpp-feedstock/blob/main/recipe/build.sh
# maybe we don't need -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
ENV AWS_SDK_VER=1.11.379
RUN curl -L -o /tmp/aws-sdk-cpp.tar.gz https://github.com/aws/aws-sdk-cpp/archive/${AWS_SDK_VER}.tar.gz \
&& tar xvzf aws-sdk-cpp.tar.gz && cd aws-sdk-cpp-${AWS_SDK_VER} \
&& mkdir -p aws-sdk-cpp-${AWS_SDK_VER}/build \
&& cd aws-sdk-cpp-${AWS_SDK_VER}/build \
&& cmake ${CMAKE_ARGS} .. -GNinja \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_MODULE_PATH="/usr/lib/cmake" \
-DBUILD_ONLY='s3;core;transfer;config;identity-management;sts;sqs;sns;monitoring;logs' \
-DCMAKE_POLICY_DEFAULT_CMP0075=NEW \
-DENABLE_UNITY_BUILD=ON \
-DENABLE_TESTING=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_DEPS=OFF \
-DCURL_HAS_H2=ON \
-DCURL_HAS_TLS_PROXY=ON \
ninja install

ENV DEFAULT_VIRTUAL_ENV=rapids

FROM ${BASE} as conda-base
Expand Down

0 comments on commit 29aa01f

Please sign in to comment.