Skip to content

Commit

Permalink
QuestandachievementBuild 314_AcidCaos src ver Sun Apr 26 00:50:40 202…
Browse files Browse the repository at this point in the history
…0 +0200_Transmission Mon Apr 27 13:01:56 +07 2020

+ Compiler Performance Optimization
+ CPU to HDD intensive optimization
  • Loading branch information
Questandachievement7Developer committed Apr 27, 2020
1 parent 69d3e6c commit 25e965c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ rootfs
**/*saveSnapshot*
**/*compiledbin*
**/*packageManager.log*
**/*.devflag*
**/*.log*
empires-server
2 changes: 1 addition & 1 deletion empiresservercontainer/buildnumber
Original file line number Diff line number Diff line change
@@ -1 +1 @@
311
314
3 changes: 2 additions & 1 deletion empiresservercontainer/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ fi

. ${origindir}/devTool/compileToolset
source ${origindir}/devTool/compileToolset
pkginstall "python3 dialog build-essential git"
#install dependencies
dependenciesCompilerInstall

# to make sure that ndk-build or sdkmanager able to call within this script
echo ${PATH}
Expand Down
12 changes: 10 additions & 2 deletions empiresservercontainer/devTool/compileToolset
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,14 @@ done

}


dependenciesCompilerInstall(){
if [ ! -f ${origindir}/depinstalled.devflag ]; then
echo "Installing dependencies"
pkginstall "python3 dialog build-essential git cmake jdk-openjdk npm patchelf dialog python python3 python3-setuptools python-setuptools nano wget busybox python python-setuptools upx binutils fish wine-staging build-essential base-devel git pip git+git://github.com/christhechris/libscrc"
else
echo "dependencies installed"
fi
}


compileUniversal(){
Expand Down Expand Up @@ -568,7 +575,8 @@ distroDetection
#for a in ${list} ;do
#${packmanager} ${installParameter} ${a}
#done
pkginstall "cmake jdk-openjdk npm patchelf dialog python python3 python3-setuptools python-setuptools nano wget busybox python python-setuptools upx binutils fish wine-staging build-essential base-devel git pip git+git://github.com/christhechris/libscrc"
#Superseeded by dependenciesCompilerInstall
#pkginstall "cmake jdk-openjdk npm patchelf dialog python python3 python3-setuptools python-setuptools nano wget busybox python python-setuptools upx binutils fish wine-staging build-essential base-devel git pip git+git://github.com/christhechris/libscrc"
#pip install git+git://github.com/christhechris/libscrc
#npmRuntime=$( npm install -g grunt > /dev/tty ) #compile tool swf to html5
#easy_install pip
Expand Down
4 changes: 2 additions & 2 deletions empiresservercontainer/empires-server-routines.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export origindir=$(pwd)
export RUNTIMEDIR=${origindir}/._MEI202028
python3 -m pip install tendo py3amf flask flask_session flask_sqlalchemy flask_compress flask_socketio daiquiri git+git://github.com/christhechris/libscrc python-editor
pkg install python git clang dialog openssh -y
pip3 install tendo py3amf flask flask_session flask_sqlalchemy flask_compress flask_socketio daiquiri git+git://github.com/christhechris/libscrc python-editor
export RaiseTheEmpiresRNTINI=RaiseTheEmpires/RaiseTheEmpires.ini
echo "[Info]" > ${RaiseTheEmpiresRNTINI}
echo "Name=RaiseTheEmpires_GNU_LINUX_EDITION" >> ${RaiseTheEmpiresRNTINI}
Expand All @@ -11,7 +12,6 @@ echo "InstallPath=$(pwd)/RaiseTheEmpires" >> ${RaiseTheEmpiresRNTINI}
echo "MyGamesPath=$(pwd)/RaiseTheEmpires/fileSave" >> ${RaiseTheEmpiresRNTINI}
echo "[InstallSettings]" >> ${RaiseTheEmpiresRNTINI}
echo "Arch=$(uname -m)" >> ${RaiseTheEmpiresRNTINI}
export TMPDIR=$(pwd)/RaiseTheEmpires/RNT
export origindir=$(pwd)
HEIGHT=15
WIDTH=80
Expand Down

0 comments on commit 25e965c

Please sign in to comment.