Benjamin-Loison / android

0 stars 0 forks source link

Compilation environment #63

Open Benjamin-Loison opened 2 months ago

Benjamin-Loison commented 2 months ago

https://wiki.lineageos.org/devices/FP4/build/#what-youll-need recommends:

Using work IPOL computation server Ubuntu 18.04 with 32 threads, 126 GB of RAM would help very much but as I do not see much any link to my work so it does not seem justified.

Otherwise I have:

I can use a dedicated SSD SATA 1 TB for this purpose. For the Framework it could only be used with USB adaptator which is maybe not worth it then.

OVH is maybe enough with its 32 threads and 64 GB of RAM.

Related to Benjamin_Loison/Improve_websites_thanks_to_open_source/issues/{786,787}.

Benjamin-Loison commented 2 months ago

Ideally having enough RAM like 300 GB to make it behave like the disk to make the process faster.

Should try first using Debian 12, then if I am not able to make it work, then move to Ubuntu 24.04, then 22.04 and finally 20.04.

Benjamin-Loison commented 1 month ago

Related to Benjamin_Loison/MacOS/issues/1.

Benjamin-Loison commented 1 month ago

On OVH c3-64:

# are useless statements.

sudo apt update
sudo apt upgrade -y
#sudo apt autoremove -y
#sudo apt dist-upgrade -y
if [ -e /var/run/reboot-required ]
then
    sudo reboot
fi
sudo apt install -y htop

Skipped:

sudo apt install repo does not work.

mkdir -p ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

cat >> ~/.bashrc<< EOF
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi
EOF

source ~/.bashrc
sudo apt install -y git
git config --global user.email 'benjamin.loison@example.com'
git config --global user.name 'Benjamin Loison'
sudo apt install -y git-lfs
Benjamin-Loison commented 1 month ago

Related to Benjamin_Loison/FileZilla/issues/2.

Benjamin-Loison commented 1 month ago

Related to Improve_websites_thanks_to_open_source/issues/799.

Benjamin-Loison commented 1 month ago

Related to Improve_websites_thanks_to_open_source/issues/802.

Benjamin-Loison commented 1 week ago

If need to re-compile to integrate app updates and security patches and clear steps to proceed to for first build and a following one, then can proceed on own computer as the workload should not be that significant. However, first need a powerful setup to quickly iterate on possibly significant changes at least as far as I understand things yet.