Skip to content

Commit

Permalink
fix: building for AL2 (#4679)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucykorea414 authored Aug 16, 2024
1 parent 45bf1d4 commit de0b39d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,15 @@ sudo yum install cmake3
sudo yum install openssl-devel

# build s2n-tls
cmake . -Bbuild \
cmake3 . -Bbuild \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=./s2n-tls-install \
-DCMAKE_EXE_LINKER_FLAGS="-lcrypto -lz"
cmake --build build -j $(nproc)
CTEST_PARALLEL_LEVEL=$(nproc) ctest --test-dir build
cmake --install build
cmake3 --build build -j $(nproc)
cd build
CTEST_PARALLEL_LEVEL=$(nproc) ctest3
cd ..
cmake3 --install build
```
</details>

Expand Down

0 comments on commit de0b39d

Please sign in to comment.