|
|
@ -6,7 +6,7 @@
|
|
|
|
# Exit on error, rather than continuing with the rest of the script.
|
|
|
|
# Exit on error, rather than continuing with the rest of the script.
|
|
|
|
set -e
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
|
|
ccache -s
|
|
|
|
ccache -sv
|
|
|
|
|
|
|
|
|
|
|
|
mkdir build || true && cd build
|
|
|
|
mkdir build || true && cd build
|
|
|
|
cmake .. \
|
|
|
|
cmake .. \
|
|
|
@ -15,8 +15,8 @@ cmake .. \
|
|
|
|
-DSUYU_USE_PRECOMPILED_HEADERS=OFF \
|
|
|
|
-DSUYU_USE_PRECOMPILED_HEADERS=OFF \
|
|
|
|
-DDYNARMIC_USE_PRECOMPILED_HEADERS=OFF \
|
|
|
|
-DDYNARMIC_USE_PRECOMPILED_HEADERS=OFF \
|
|
|
|
-DCMAKE_CXX_FLAGS="-march=x86-64-v2" \
|
|
|
|
-DCMAKE_CXX_FLAGS="-march=x86-64-v2" \
|
|
|
|
-DCMAKE_CXX_COMPILER=/usr/bin/g++ \
|
|
|
|
-DCMAKE_CXX_COMPILER=/usr/local/bin/g++ \
|
|
|
|
-DCMAKE_C_COMPILER=/usr/bin/gcc \
|
|
|
|
-DCMAKE_C_COMPILER=/usr/local/bin/gcc \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
|
|
|
-DDISPLAY_VERSION=$1 \
|
|
|
|
-DDISPLAY_VERSION=$1 \
|
|
|
|
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=OFF \
|
|
|
|
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=OFF \
|
|
|
@ -31,7 +31,7 @@ cmake .. \
|
|
|
|
|
|
|
|
|
|
|
|
ninja
|
|
|
|
ninja
|
|
|
|
|
|
|
|
|
|
|
|
ccache -s
|
|
|
|
ccache -sv
|
|
|
|
|
|
|
|
|
|
|
|
ctest -VV -C Release
|
|
|
|
ctest -VV -C Release
|
|
|
|
|
|
|
|
|
|
|
|