Created
October 26, 2021 15:30
-
-
Save hardikmdev/5beeebe5525342e09dfdd9689bbb7563 to your computer and use it in GitHub Desktop.
Building Aws CPP SDK on CentOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #------------------------------------------------------------- | |
| ## PART 6B -- AWS SDK building on centos | |
| #------------------------------------------------------------- | |
| sudo yum install libcurl-devel openssl-devel libuuid-devel pulseaudio-libs-devel ## imp for sdk to build on centos | |
| mkdir ~/code/aws && cd ~/code/aws | |
| git clone https://github.com/awslabs/aws-lc.git | |
| # cmake -S aws-lc -B aws-lc/build -DCMAKE_INSTALL_PREFIX=<install-path> | |
| cmake -S aws-lc -B aws-lc/build | |
| # cmake --build aws-lc/build --target install | |
| sudo cmake --build aws-lc/build --target install | |
| git clone https://github.com/aws/s2n-tls.git | |
| # cmake -S s2n-tls -B s2n-tls/build -DCMAKE_INSTALL_PREFIX=<install-path> -DCMAKE_PREFIX_PATH=<install-path> | |
| cmake -S s2n-tls -B s2n-tls/build | |
| cmake --build s2n-tls/build --target install | |
| git clone https://github.com/aws/aws-sdk-cpp.git | |
| cd aws-sdk-cpp | |
| mkdir sdk_build && cd sdk_build | |
| cmake .. | |
| # cmake -DCMAKE_BUILD_TYPE=[Debug | Release] -DCMAKE_PREFIX_PATH=<path/to/install/sdk> -DBUILD_ONLY="s3" | |
| make | |
| # make install | |
| sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment