GitHub user svarnau opened a pull request:
https://github.com/apache/incubator-trafodion/pull/306
[TRAFODION-1614] Improve time to build external dependencies
This script is for one-time set-up of build environment (aka TOOLSDIR),
but an hour or more is excessive, per the JIRA. So to shrink the time, we
kick off all
the builds in background. All the builds are independent, except
that LLVM depends on udis86.
LLVM is the long pole in build time. Biggest gain is building the
two flavors of LLVM in parallel. All the other tools can be
downloaded and built while we are waiting for LLVM.
Factoring download speed out of the equation (pre-downloaded the source tar
files), it took me 26 minutes to build everything. Roughly 50% improvement.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/svarnau/incubator-trafodion setup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/306.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #306
----
commit bb58c066fee9087dc81a06a99a0bd19043342a72
Author: Steve Varnau <[email protected]>
Date: 2016-02-04T00:17:55Z
[TRAFODION-1614] Improve time to build external dependencies
This script is for one-time set-up of build environment (aka TOOLSDIR),
but an hour or more is excessive. So to shrink the time, we kick off all
the builds in background. All the builds are independent, except
that LLVM depends on udis86.
LLVM is the long pole in build time. Biggest gain is building the
two flavors of LLVM in parallel. All the other tools can be
downloaded and built while we are waiting for LLVM.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---