From 6ff0dbddc2674daa368242b93e13c63674a301c6 Mon Sep 17 00:00:00 2001 From: thewh1teagle <61390950+thewh1teagle@users.noreply.github.com> Date: Mon, 6 Jan 2025 03:55:28 +0200 Subject: [PATCH] Comment out static build steps in build.sh for clarity and future reference --- build.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index 65e061b..7610c27 100755 --- a/build.sh +++ b/build.sh @@ -8,11 +8,11 @@ cmake --build build --config Release cmake --install build # Static archive (not for Windows) -if [[ ! "$(uname -s)" =~ MINGW|MSYS|CYGWIN ]]; then - cmake -B build -DBUILD_SHARED_LIBS=OFF -DENABLE_TESTS=OFF -DCOMPILE_INTONATIONS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=_static . $EXTRA_CMAKE_ARGS - cmake --build build --config Release - cmake --install build -fi +# if [[ ! "$(uname -s)" =~ MINGW|MSYS|CYGWIN ]]; then +# cmake -B build -DBUILD_SHARED_LIBS=OFF -DENABLE_TESTS=OFF -DCOMPILE_INTONATIONS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=_static . $EXTRA_CMAKE_ARGS +# cmake --build build --config Release +# cmake --install build +# fi # Remove unnecessary files rm -rf _dynamic/share @@ -25,7 +25,7 @@ if [[ "$(uname -s)" =~ MINGW|MSYS|CYGWIN ]]; then mv _dynamic espeak-ng-libs else # Package for Unix - cp _static/lib/libespeak-ng.a _dynamic/lib + # cp _static/lib/libespeak-ng.a _dynamic/lib # Package the libraries mv _dynamic espeak-ng-libs fi