Commit Graph

4 Commits (1125b86e722d32daf769699bb26472f96774e919)

Author SHA1 Message Date
Milian Wolff 2c4e7b6a7e Properly pass --qt-config value from build.sh to src/qt/preconfig.sh.
This way one can properly cross-compile PhantomJS for different
platforms e.g. by passing --qt-config '-platform ...' to build.sh.

ISSUE: 507 (http://code.google.com/p/phantomjs/issues/detail?id=507)
2012-04-20 13:38:11 +02:00
Milian Wolff 3a84eb6d16 Reuse number of jobs configured in MAKEFLAGS env var if available
Especially on machines that are connected to a compile farm, the
MAKEFLAGS env var is usually set to configure the default number
of jobs that should be used. This way, one can just call the
PhantomJS build script without passing the number of jobs every
time.

ISSUE: 503 (http://code.google.com/p/phantomjs/issues/detail?id=503)
2012-04-18 14:19:43 +02:00
Ariya Hidayat edc93dc8d0 Build system: do not assume 4 parallel jobs on Linux.
Try to grab the number of CPU cores from /proc/cpuinfo and use it as
the number of parallel make jobs (limit to 8 as a safety measure).

http://code.google.com/p/phantomjs/issues/detail?id=454
2012-04-15 18:21:02 -07:00
Ariya Hidayat 4ccfa463b9 Qt import: Script to build everything, for Linux and Mac OS X.
http://code.google.com/p/phantomjs/issues/detail?id=226
2012-03-06 19:01:24 -08:00