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 OSX quickstart instructions #2700

Merged
merged 2 commits into from
Mar 31, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,20 @@ If you are building on OSX, or simply don't want to execute the entire build scr
An example of building on OSX:

```sh
# Install required dependencies using homebrew
brew install ninja cmake

# Clone the s2n-tls source repository into the `s2n-tls` directory
git clone https://github.com/${YOUR_GITHUB_ACCOUNT_NAME}/s2n-tls.git

# Create a build directory parallel to the source directory
mkdir s2n_tls_build
cd s2n_tls_build

# Build with debug symbols and a specific OpenSSL version
# From the build directory, build s2n-tls with debug symbols and a specific OpenSSL version
cd s2n_tls_build
cmake -GNinja \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_PREFIX_PATH=/usr/local/Cellar/openssl@1.1/1.1.1g \
-DCMAKE_PREFIX_PATH=$(dirname $(dirname $(brew list openssl@1.1|grep libcrypto.dylib))) \
../s2n-tls
ninja -j6
CTEST_PARALLEL_LEVEL=5 ninja test
Expand Down