Skip to content

Commit bebb3ba

Browse files
authored
Remove dependencies section (#738)
Building the dependencies individually from what I understand is no longer supported, so best to just remove it from our readme to avoid confusion.
1 parent 97360ab commit bebb3ba

File tree

1 file changed

+0
-50
lines changed

1 file changed

+0
-50
lines changed

README.md

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -56,56 +56,6 @@ __Jump To:__
5656
cmake <path-to-root-of-this-source-code> -G Xcode -DTARGET_ARCH="APPLE" -DCMAKE_BUILD_TYPE=Debug
5757
xcodebuild -target ALL_BUILD
5858
```
59-
60-
### Third party dependencies:
61-
Starting from version 1.7.0, we added several third party dependencies, including [`aws-c-common`](https://github.com/awslabs/aws-c-common), [`aws-checksums`](https://github.com/awslabs/aws-checksums) and [`aws-c-event-stream`](https://github.com/awslabs/aws-c-event-stream). By default, they will be built and installed in `<BUILD_DIR>/.deps/install`, and copied to default system directory during SDK installation. You can change the location by specifying `CMAKE_INSTALL_PREFIX`.
62-
63-
However, if you want to build and install these libraries in custom locations:
64-
1. Download, build and install `aws-c-common`:
65-
```sh
66-
git clone https://github.com/awslabs/aws-c-common
67-
cd aws-c-common
68-
# checkout to a specific commit id if you want.
69-
git checkout <commit-id>
70-
mkdir build && cd build
71-
# without CMAKE_INSTALL_PREFIX, it will be installed to default system directory.
72-
cmake .. -DCMAKE_INSTALL_PREFIX=<deps-install-dir> <extra-cmake-parameters-here>
73-
make # or MSBuild ALL_BUILD.vcxproj on Windows
74-
make install # or MSBuild INSTALL.vcxproj on Windows
75-
```
76-
2. Download, build and install `aws-checksums`:
77-
```sh
78-
git clone https://github.com/awslabs/aws-checksums
79-
cd aws-checksums
80-
# checkout to a specific commit id if you want
81-
git checkout <commit-id>
82-
mkdir build && cd build
83-
# without CMAKE_INSTALL_PREFIX, it will be installed to default system directory.
84-
cmake .. -DCMAKE_INSTALL_PREFIX=<deps-install-dir> <extra-cmake-parameters-here>
85-
make # or MSBuild ALL_BUILD.vcxproj on Windows
86-
make install # or MSBuild INSTALL.vcxproj on Windows
87-
```
88-
3. Download, build and install `aws-c-event-stream`:
89-
```sh
90-
git clone https://github.com/awslabs/aws-c-event-stream
91-
cd aws-c-event-stream
92-
# checkout to a specific commit id if you want
93-
git checkout <commit-id>
94-
mkdir build && cd build
95-
# aws-c-common and aws-checksums are dependencies of aws-c-event-stream
96-
# without CMAKE_INSTALL_PREFIX, it will be installed to default system directory.
97-
cmake .. -DCMAKE_INSTALL_PREFIX=<deps-install-dir> -DCMAKE_PREFIX_PATH=<deps-install-dir> <extra-cmake-parameters-here>
98-
make # or MSBuild ALL_BUILD.vcxproj on Windows
99-
make install # or MSBuild INSTALL.vcxproj on Windows
100-
```
101-
4. Turn off `BUILD_DEPS` when building C++ SDK:
102-
```sh
103-
cd BUILD_DIR
104-
cmake <path-to-root-of-this-source-code> -DBUILD_DEPS=OFF -DCMAKE_PREFIX_PATH=<deps-install-dir>
105-
```
106-
You may also find the following link helpful for including the build in your project:
107-
https://aws.amazon.com/blogs/developer/using-cmake-exports-with-the-aws-sdk-for-c/
108-
10959
#### Other Dependencies:
11060
To compile in Linux, you must have the header files for libcurl, libopenssl. The packages are typically available in your package manager.
11161

0 commit comments

Comments
 (0)