[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #11420 [Tor bundles/installation]: Expand gitian/check-prerequisites.sh tests
#11420: Expand gitian/check-prerequisites.sh tests
-------------------------------------------------+-------------------------
Reporter: michael | Owner: michael
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Tor bundles/installation | Version:
Keywords: Build, Compile, Requirements, | Actual Points:
Autotools | Points:
Parent ID: |
-------------------------------------------------+-------------------------
check-prerequisites.sh should include logic to test for known build
requirements:
AMD64 architecture
Enough RAM memory
Enough disk storage
Assuming that builds on IA32 VMs (using LXC) and bare metal build
environments fail due to the current OSX cross-compile toolchain and/or
linking of libxul.so, check-prerequisites.sh should include (pseudocode):
uname -m | grep -q x86_64 ~|~| echo 'Wrong CPU arch!'
Assuming a minimum 4Go RAM build requirement, check-prerequisites.sh
should include (pseudocode):
free -g | grep Mem | sed(1)/awk(1)
Assuming a minumum 48Go disk storage requirement, check-prerequisites.sh
should include (pseudcode):
pwd(1)/mount(1)/df(1) script code to determine max storage in current
path.
NOTE: These requirements depend on other variables, at the very least
whether KVM or LXC is in use (already determined by check-
prerequisites.sh.
Lastly, once these requirements are sorted out they should be documented
(separate ticket) in or near [1] for human consumption.
[1] https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking/
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11420>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs