Skip to content

Commit

Permalink
Another ppc attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Jan 28, 2021
1 parent f2ea346 commit 6665f6c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
mkdir build
cd build

if [ ${target_platform} == "linux-ppc64le" ]; then
WARNING_FLAGS=-DCMAKE_CXX_FLAGS="-Wno-deprecated-copy"
else
WARNING_FLAGS=
fi

cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=$PREFIX \
Expand All @@ -19,7 +25,8 @@ cmake .. \
-DOGRE_INSTALL_PDB=FALSE \
-DOGRE_RESOURCEMANAGER_STRICT=0 \
-DOGRE_CONFIG_THREAD_PROVIDER="std" \
-DOGRE_BUILD_LIBS_AS_FRAMEWORKS=0
-DOGRE_BUILD_LIBS_AS_FRAMEWORKS=0 \
${WARNING_FLAGS}

if [ ${target_platform} == "linux-ppc64le" ]; then
make -j${CPU_COUNT} >/dev/null || make
Expand Down

0 comments on commit 6665f6c

Please sign in to comment.