mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
並列数の指定
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@638 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
42e7731a92
commit
e50f822f0c
@ -20,15 +20,18 @@ which xgConsole > /dev/null 2>&1
|
|||||||
if [ "$?" -eq 0 ]; then
|
if [ "$?" -eq 0 ]; then
|
||||||
echo "Use IncrediBuild"
|
echo "Use IncrediBuild"
|
||||||
useIncrediBuild=true
|
useIncrediBuild=true
|
||||||
|
PARALLEL=-j16
|
||||||
|
else
|
||||||
|
PARALLEL=-j8
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#################### 通常ビルド ####################
|
#################### 通常ビルド ####################
|
||||||
# ツールのビルド
|
# ツールのビルド
|
||||||
toolBuildExec="omake BUILD=$BUILD_TYPE FILTER=CTR-TS.*fast -j8 $OPTION"
|
toolBuildExec="omake BUILD=$BUILD_TYPE FILTER=CTR-TS.*fast $OPTION"
|
||||||
if [ $useIncrediBuild ] ; then
|
if [ $useIncrediBuild ] ; then
|
||||||
xgConsole /command="$toolBuildExec" /profile="profile.xml"
|
xgConsole /command="$toolBuildExec $PARALLEL" /profile="profile.xml"
|
||||||
else
|
else
|
||||||
$toolBuildExec
|
$toolBuildExec $PARALLEL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Releaseはツールのみ
|
#Releaseはツールのみ
|
||||||
@ -37,21 +40,21 @@ if [ $releaseBuild ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# CTR自動テストのビルド
|
# CTR自動テストのビルド
|
||||||
testBuildExec="omake -j8 dotests-emumem BUILD=development FILTER=CTR-TS*.fast SKIP_RUN=true"
|
testBuildExec="omake dotests-emumem BUILD=development FILTER=CTR-TS*.fast SKIP_RUN=true"
|
||||||
cd tests
|
cd tests
|
||||||
if [ $useIncrediBuild ] ; then
|
if [ $useIncrediBuild ] ; then
|
||||||
xgConsole /command="$testBuildExec" /profile="../profile.xml"
|
xgConsole /command="$testBuildExec $PARALLEL" /profile="../profile.xml"
|
||||||
else
|
else
|
||||||
$testBuildExec
|
$testBuildExec $PARALLEL
|
||||||
fi
|
fi
|
||||||
cd ../
|
cd ../
|
||||||
|
|
||||||
# PC上のテストのビルド
|
# PC上のテストのビルド
|
||||||
cd tests/googletest/
|
cd tests/googletest/
|
||||||
if [ $useIncrediBuild ] ; then
|
if [ $useIncrediBuild ] ; then
|
||||||
xgConsole /command="omake -j8" /profile="../../profile.xml"
|
xgConsole /command="omake $PARALLEL" /profile="../../profile.xml"
|
||||||
else
|
else
|
||||||
omake -j8
|
omake $PARALLEL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ../../
|
cd ../../
|
||||||
Loading…
Reference in New Issue
Block a user