Skip to content

Commit

Permalink
Comment out static build steps in build.sh for clarity and future ref…
Browse files Browse the repository at this point in the history
…erence
  • Loading branch information
thewh1teagle committed Jan 6, 2025
1 parent c781a08 commit 6ff0dbd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6ff0dbd

Please sign in to comment.