Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CRT to v0.30.1 #3283

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Update CRT to v0.30.1 #3283

merged 1 commit into from
Feb 3, 2025

Conversation

sbiscigl
Copy link
Contributor

@sbiscigl sbiscigl commented Jan 31, 2025

Issue #, if available:

#3281

Description of changes:

  • updates the CRT version.
  • similar to what the IoT v2 SDK has done and update -DBUILD_DEPS=OFF to work with the corrected location of the CRT installation now.
  • removes some std::cout statements i saw that were producing log noise during builds

tested with the following docker build

FROM public.ecr.aws/amazonlinux/amazonlinux:2023

RUN yum groupinstall "Development Tools" -y
RUN yum install -y curl-devel openssl-devel ninja-build cmake3

RUN git clone -b v0.30.1 --recursive https://github.com/awslabs/aws-crt-cpp &&\
    cd aws-crt-cpp &&\
    mkdir build &&\
    cd build &&\
    cmake3 .. -DCMAKE_INSTALL_PREFIX="~/crt-install" &&\
    cmake3 --build . &&\
    cmake3 --install .

RUN git clone -b updateCrt/v0.30.1 --recursive https://github.com/aws/aws-sdk-cpp.git &&\
    cd aws-sdk-cpp &&\
    mkdir build &&\
    cd build &&\
    cmake3 -DBUILD_ONLY="s3" \
        -DCMAKE_PREFIX_PATH="~/crt-install" \
        -DBUILD_DEPS=OFF \
        -DENABLE_TESTING=OFF .. &&\
    cmake3 --build . &&\
    cmake3 --install .

Check all that applies:

  • Did a review by yourself.
  • Added proper tests to cover this PR. (If tests are not applicable, explain.)
  • Checked if this PR is a breaking (APIs have been changed) change.
  • Checked if this PR will not introduce cross-platform inconsistent behavior.
  • Checked if this PR would require a ReadMe/Wiki update.

Check which platforms you have built SDK on to verify the correctness of this PR.

  • Linux
  • Windows
  • Android
  • MacOS
  • IOS
  • Other Platforms

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sbera87 sbera87 self-requested a review January 31, 2025 20:48
@sbiscigl sbiscigl force-pushed the updateCrt/v0.30.1 branch 2 times, most recently from ec838e0 to c21716b Compare January 31, 2025 21:15
@fossdd
Copy link

fossdd commented Feb 3, 2025

Builds and works fine with Alpine Linux packaging.

Tested-By: fossdd <fossdd@pwned.life>

@sbiscigl sbiscigl marked this pull request as ready for review February 3, 2025 14:00
@sbiscigl sbiscigl merged commit e932b19 into main Feb 3, 2025
2 of 3 checks passed
@sbiscigl sbiscigl deleted the updateCrt/v0.30.1 branch February 3, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants