Skip to content

Commit de0b39d

Browse files
authored
fix: building for AL2 (#4679)
1 parent 45bf1d4 commit de0b39d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/BUILD.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,15 @@ sudo yum install cmake3
5656
sudo yum install openssl-devel
5757

5858
# build s2n-tls
59-
cmake . -Bbuild \
59+
cmake3 . -Bbuild \
6060
-DCMAKE_BUILD_TYPE=Release \
6161
-DCMAKE_INSTALL_PREFIX=./s2n-tls-install \
6262
-DCMAKE_EXE_LINKER_FLAGS="-lcrypto -lz"
63-
cmake --build build -j $(nproc)
64-
CTEST_PARALLEL_LEVEL=$(nproc) ctest --test-dir build
65-
cmake --install build
63+
cmake3 --build build -j $(nproc)
64+
cd build
65+
CTEST_PARALLEL_LEVEL=$(nproc) ctest3
66+
cd ..
67+
cmake3 --install build
6668
```
6769
</details>
6870

0 commit comments

Comments
 (0)