Skip to content

Instantly share code, notes, and snippets.

@sp1187
Created May 17, 2020 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sp1187/36a57ec78989a5800ff772e4b9bbef7a to your computer and use it in GitHub Desktop.
Save sp1187/36a57ec78989a5800ff772e4b9bbef7a to your computer and use it in GitHub Desktop.
diff --git a/build.sh b/build.sh
index 049e314..c01757c 100755
--- a/build.sh
+++ b/build.sh
@@ -19,22 +19,22 @@ mkdir -p $install_dir
base_dir=$PWD
cd $base_dir/mupen64plus-core/projects/unix
-make OSD=0 NO_ASM=1 -j4 all
+make OSD=0 NO_ASM=1 all
cp -P $base_dir/mupen64plus-core/projects/unix/*$suffix* $install_dir
cp $base_dir/mupen64plus-core/data/* $install_dir
cd $base_dir/mupen64plus-rsp-hle/projects/unix
-make -j4 all
+make all
cp $base_dir/mupen64plus-rsp-hle/projects/unix/*$suffix $install_dir
cd $base_dir/mupen64plus-input-raphnetraw/projects/unix
-make -j4 all
+make all
cp $base_dir/mupen64plus-input-raphnetraw/projects/unix/*$suffix $install_dir
mkdir -p $base_dir/mupen64plus-input-qt/build
cd $base_dir/mupen64plus-input-qt/build
qmake ../mupen64plus-input-qt.pro
-make -j4
+make
if [[ $UNAME == *"MINGW"* ]]; then
cp $base_dir/mupen64plus-input-qt/build/release/mupen64plus-input-qt.dll $install_dir
else
@@ -42,7 +42,7 @@ else
fi
cd $base_dir/mupen64plus-audio-sdl2/projects/unix
-make -j4 all
+make all
cp $base_dir/mupen64plus-audio-sdl2/projects/unix/*$suffix $install_dir
GUI_DIRECTORY=$base_dir/mupen64plus-gui
@@ -60,7 +60,7 @@ fi
mkdir -p $base_dir/mupen64plus-gui/build
cd $base_dir/mupen64plus-gui/build
qmake ../mupen64plus-gui.pro
-make -j4
+make
if [[ $UNAME == *"MINGW"* ]]; then
cp $base_dir/mupen64plus-gui/build/release/mupen64plus-gui.exe $install_dir
else
@@ -74,7 +74,7 @@ cd $base_dir/GLideN64/src/GLideNUI
mkdir -p build
cd build
qmake ../GLideNUI.pro
-make -j4
+make
cd $base_dir/GLideN64/projects/cmake
if [[ $UNAME == *"MINGW"* ]]; then
@@ -82,7 +82,7 @@ if [[ $UNAME == *"MINGW"* ]]; then
else
cmake -DNOHQ=On -DVEC4_OPT=On -DCRC_OPT=On -DMUPENPLUSAPI=On ../../src/
fi
-make -j4
+make
if [[ $UNAME == *"MINGW"* ]]; then
cp mupen64plus-video-GLideN64$suffix $install_dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment