This patch adds two new flags to make_impala.sh:
-build_shared_libs: Impala libraries (excluding thirdparty ones) will be
built as shared objects (.so), and linked dynamically.
-build_static_libs: Impala libraries will be built as archive
files (.a), and linked statically. This was the behaviour before this
patch, and is still the default for make_impala.sh.
The speedup from dynamic linking for a clean build is significant:
make_impala.sh -clean -build_static_libs: 11m48.676s
make_impala.sh -clean -build_shared_libs: 5m46.943s
make_debug.sh now passes -build_shared_libs by
default. make_[asan|release].sh still builds with statically linked libraries. All
automated builds will be statically linked for now; we can move them to
dynamic linking on a case-by-case basis.
Change-Id: Icfd8101bf8e85cadd61d8995ae8864f8730297ea
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3828
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: jenkins
We had four scripts doing roughly the same thing - calling cmake and
then calling make_impala.sh. This patch pushes the cmake call into
make_impala.sh and then changes make_[asan|debug|release].sh to be
trivial one-line calls into make_impala.sh.
This patch also removes the PGO build, which is no longer used and no
longer worked.
Change-Id: Ib5c8ba910e52b030c172678f86db7d56e3f8c306
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3001
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: jenkins
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3621
The problem was that were were deleting the version.info file because the default
of gen_build_version.py recently changed from --noclean to --clean.
Also fixed a bug in the shell version generation and made debugging a bit easier
by dumping the contents of version.info whenever it is generated.
Change-Id: I764d01c9e46eed1bd39de79bf076c15afa599486
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1901
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: Lenni Kuff <lskuff@cloudera.com>
(cherry picked from commit fa673b4d3342fc825ee7fa942bd254234d222906)
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1910
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
- Fixed issue with SSE file parse.
- Moved build scripts to impala/bin. Rebuilding from just BE does not work.
- Cleanedup a few compiler warnings.
- Add option to disable automatic counters for profilers.