mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
IncrediBuildがあるなら使うように
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@637 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
d7cdb29852
commit
42e7731a92
@ -6,12 +6,13 @@ CTR_SDK-3_3 branch r45925
|
|||||||
ARM C/C++ Compiler, 4.1 [Build 791] for Nintendo
|
ARM C/C++ Compiler, 4.1 [Build 791] for Nintendo
|
||||||
|
|
||||||
【ビルド時の注意】
|
【ビルド時の注意】
|
||||||
開発機・量産機でAES鍵を変えるため
|
開発機・量産機でAES鍵を変えるため、
|
||||||
|
|
||||||
量産機用ビルドの場合
|
量産機用ビルドの場合
|
||||||
PROD_BUILD=true
|
build.sh RELEASE
|
||||||
|
|
||||||
|
でビルドすること。
|
||||||
|
|
||||||
を有効にしてomakeを実行すること。
|
|
||||||
|
|
||||||
【その他】
|
【その他】
|
||||||
PC上でのgoogletestを使う場合BOM付きのUTF-8を
|
PC上でのgoogletestを使う場合BOM付きのUTF-8を
|
||||||
|
|||||||
@ -9,15 +9,27 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ $releaseBuild ] ; then
|
if [ $releaseBuild ] ; then
|
||||||
BUILD_TYPE=release
|
BUILD_TYPE=release,development
|
||||||
OPTION="PROD_BUILD=true"
|
OPTION="PROD_BUILD=true"
|
||||||
else
|
else
|
||||||
BUILD_TYPE=development
|
BUILD_TYPE=development
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# IncrediBuild‚ªŽg‚¦‚é‚©
|
||||||
|
which xgConsole > /dev/null 2>&1
|
||||||
|
if [ "$?" -eq 0 ]; then
|
||||||
|
echo "Use IncrediBuild"
|
||||||
|
useIncrediBuild=true
|
||||||
|
fi
|
||||||
|
|
||||||
#################### 通常ビルド ####################
|
#################### 通常ビルド ####################
|
||||||
# ツールのビルド
|
# ツールのビルド
|
||||||
omake BUILD=$BUILD_TYPE FILTER=CTR-TS.*fast -j8 $OPTION
|
toolBuildExec="omake BUILD=$BUILD_TYPE FILTER=CTR-TS.*fast -j8 $OPTION"
|
||||||
|
if [ $useIncrediBuild ] ; then
|
||||||
|
xgConsole /command="$toolBuildExec" /profile="profile.xml"
|
||||||
|
else
|
||||||
|
$toolBuildExec
|
||||||
|
fi
|
||||||
|
|
||||||
#Releaseはツールのみ
|
#Releaseはツールのみ
|
||||||
if [ $releaseBuild ] ; then
|
if [ $releaseBuild ] ; then
|
||||||
@ -25,11 +37,21 @@ if [ $releaseBuild ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# CTR自動テストのビルド
|
# CTR自動テストのビルド
|
||||||
|
testBuildExec="omake -j8 dotests-emumem BUILD=development FILTER=CTR-TS*.fast SKIP_RUN=true"
|
||||||
cd tests
|
cd tests
|
||||||
omake -j8 dotests-emumem BUILD=development FILTER=CTR-TS*.fast SKIP_RUN=true
|
if [ $useIncrediBuild ] ; then
|
||||||
|
xgConsole /command="$testBuildExec" /profile="../profile.xml"
|
||||||
|
else
|
||||||
|
$testBuildExec
|
||||||
|
fi
|
||||||
cd ../
|
cd ../
|
||||||
|
|
||||||
# PC上のテストのビルド
|
# PC上のテストのビルド
|
||||||
cd tests/googletest/
|
cd tests/googletest/
|
||||||
|
if [ $useIncrediBuild ] ; then
|
||||||
|
xgConsole /command="omake -j8" /profile="../../profile.xml"
|
||||||
|
else
|
||||||
omake -j8
|
omake -j8
|
||||||
|
fi
|
||||||
|
|
||||||
cd ../../
|
cd ../../
|
||||||
10
trunk/ConsoleDataMigration/sources/profile.xml
Normal file
10
trunk/ConsoleDataMigration/sources/profile.xml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||||
|
<Profile FormatVersion="1">
|
||||||
|
<Tools>
|
||||||
|
<Tool Filename="omake" AllowIntercept="true" />
|
||||||
|
<Tool Filename="armcc" AllowRemote="true" DeriveCaptionFrom="lastparam" />
|
||||||
|
<Tool Filename="armlink" AllowRemote="true" DeriveCaptionFrom="lastparam" />
|
||||||
|
<Tool Filename="perl" AllowRemote="false" AllowIntercept="true" />
|
||||||
|
</Tools>
|
||||||
|
</Profile>
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user