This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 4b79063133608c2e38b66552e316978ecfe3cb65 Author: Fei Deng <[email protected]> AuthorDate: Tue Mar 26 13:52:00 2024 -0400 build an extra static boringssl for NuRaft (#11185) (cherry picked from commit 29872c258edd21fb05bec51e5667df2deae2e969) --- tools/build_h3_tools.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/tools/build_h3_tools.sh b/tools/build_h3_tools.sh index 9aaf682746..ff5f2ffa5b 100755 --- a/tools/build_h3_tools.sh +++ b/tools/build_h3_tools.sh @@ -127,14 +127,23 @@ if [ ! -d boringssl ]; then fi cd boringssl cmake \ - -B build \ + -B build-shared \ -DGO_EXECUTABLE=${GO_BINARY_PATH} \ -DCMAKE_INSTALL_PREFIX=${BASE}/boringssl \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_CXX_FLAGS='-Wno-error=ignored-attributes' \ -DBUILD_SHARED_LIBS=1 -cmake --build build -j ${num_threads} -sudo cmake --install build +cmake \ + -B build-static \ + -DGO_EXECUTABLE=${GO_BINARY_PATH} \ + -DCMAKE_INSTALL_PREFIX=${BASE}/boringssl \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_FLAGS='-Wno-error=ignored-attributes' \ + -DBUILD_SHARED_LIBS=0 +cmake --build build-shared -j ${num_threads} +cmake --build build-static -j ${num_threads} +sudo cmake --install build-shared +sudo cmake --install build-static sudo chmod -R a+rX ${BASE} cd ..
