Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Jan 28, 2021
1 parent 6665f6c commit e4020e1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
mkdir build
cd build

# This is needed as otherwise the log limit exceeds on Travis
if [ ${target_platform} == "linux-ppc64le" ]; then
WARNING_FLAGS=-DCMAKE_CXX_FLAGS="-Wno-deprecated-copy"
else
Expand All @@ -28,9 +29,5 @@ cmake .. \
-DOGRE_BUILD_LIBS_AS_FRAMEWORKS=0 \
${WARNING_FLAGS}

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

0 comments on commit e4020e1

Please sign in to comment.