Commit graph

8749 commits

Author SHA1 Message Date
Norbert Thiebaud
ecbda593ef remove apparentely accidental addition of a linux binary module for make 2011-12-26 12:51:40 -06:00
David Tardon
95754019f4 revamp Rdb class 2011-12-26 17:40:26 +01:00
Norbert Thiebaud
fd9366c85c prep work to eliminated Env.*.sh, introduce config_{host,build}.mk
This introduce config_host.mk and config_build.mk
generated from config_host.mk.in
The intent is for that file to be both sourcable in a shell and includable
in a gnu Makefile.
Eventually all the environment set-up will be in config_host.mk.in
and so there won't be a need to source anything in shell before make.
2011-12-24 21:42:08 -06:00
Peter Foley
99d994dcd2 don't display bootstrap and src.downloaded as top level modules 2011-12-24 10:17:37 -05:00
David Tardon
88b5b3688e gb_Jar_add_packagefile needs three args after all
This partially reverts commit 713e536fe9 .
2011-12-23 17:45:56 +01:00
David Tardon
7fe7126248 allow use of generated files in gb_Jar 2011-12-23 16:43:02 +01:00
David Tardon
713e536fe9 work around deficiency in jar 2011-12-23 16:43:02 +01:00
David Tardon
c438af4d8a eval at the calling side, like other gbuild classes 2011-12-23 16:42:59 +01:00
David Tardon
07a87420ad eval at the calling side, like other gbuild classes 2011-12-23 16:42:59 +01:00
Tor Lillqvist
e685a684eb Initial untested implementation of dirent style functions for the .apk 2011-12-22 15:45:34 +02:00
David Tardon
a6511b9d9a add some explanation for gb_SrsTemplateTarget 2011-12-22 13:28:58 +01:00
David Tardon
bc3683aecd use the same dir structure for images as sc and sw 2011-12-22 13:24:48 +01:00
Caolán McNamara
700d04cf24 default to dbglevel=2 for callcatcher 2011-12-22 09:30:58 +00:00
Rene Engelhard
b31375be84 don't remove configure and aclocal.m4 in distclean anymore 2011-12-21 17:21:55 +01:00
Petr Mladek
c84ac758aa do not use ABOUTBOXPRODUCTVERSIONSUFFIX in download name
I did not read the code carfully enough when added this line few days ago.
2011-12-21 16:44:26 +01:00
Matúš Kukan
683e471f35 gbuild, sal: dl is linux only 2011-12-21 15:27:26 +01:00
Robert Nagy
1c184292ad sync the gb_LinkTarget__command_dynamiclink function from unxgcc.mk 2011-12-21 15:27:05 +01:00
Petr Mladek
ec9230598e allow to call ooinstall twice with $DESTDIR 2011-12-20 19:47:34 +01:00
Tor Lillqvist
7d3c674a04 Abandon attempt to use the debug CRT in a dbgutil build 2011-12-20 18:08:08 +02:00
Luboš Luňák
0e44efd374 missed this in b55dbc1e - show extension for .c files as well 2011-12-20 16:36:10 +01:00
Tor Lillqvist
a3c01095c0 Add gb_STDLIBS and override gb_Library_PLAINLIBS_NONE 2011-12-20 01:12:23 +02:00
Michael Stahl
a0a21ffa5b gbuild: macosx.mk: install names with SOVERSION:
gb_LinkTarget__get_installname should append the SOVERSION, because the
installation set only contains the versioned libraries, not the
unversioned symlinks.
2011-12-19 18:23:02 +01:00
Stephan Bergmann
f039057048 Warning clean-up (Mac OS X). 2011-12-19 13:08:27 +01:00
Matúš Kukan
a9e130ab82 sal: convert to gbuild 2011-12-19 10:14:53 +01:00
Robert Nagy
b23f2d78c4 use the same memory alignment for *BSD as on Linux 2011-12-18 11:18:28 +01:00
Norbert Thiebaud
5ed43db9e8 Revert "gbuild: macosx.mk: remove salhelper hack"
This reverts commit 1d90f180cd.
2011-12-17 21:13:05 -06:00
Norbert Thiebaud
8c0242d3a9 do not run cppunit on Mac when cross-compiling 2011-12-17 18:12:07 -06:00
Norbert Thiebaud
05e787fb5e oops... bad handling of multiple ../ 2011-12-17 12:34:29 -06:00
Norbert Thiebaud
e3e94f141e use a c-version of concat-deps.pl
This touch configure.in with a trivial space removal to force a
./bootstrap on the tinderboxes

This make ./bootstrap build a 'build-side' executable concat-deps
and modify LinkTarget.mk to use it instead of concat-deps.pl

The impact is a conservative x10 times improvement in both elapsed and
cpu time in overhead due to DEP generations.


time make -sr build in tail_build after removing
workdir/$INPATH/Dep/LinkTarget/Library/*

(all on Intel X3360, 2.83GHz, 4-core)

before:
elapsed: 116.5 cpu: 115.9
after
elapsed: 24.3 cpu: 23.9
base (no dep processing, i.e no rm of Dep/...)
elapsed: 17.5 cpu: 17.4
overhead ratio:
elapsed: 14.5x cpu: 15x

same with -j6
before:
elapsed: 47 cpu: 116
after:
elapsed: 20.8 cpu: 24
base:
elapsed: 17.5 cpu: 17.5
overhead ratio:
elapsed: 9x cpu: 15x

Note: for now the executable is generated directly in the source tree
(in solevn/bin ). That is not ideal. It and other similar polution
should be moved, to workdir most likely..
For now we just hide the mess under the .gitignore carpet
2011-12-17 10:54:45 -06:00
Norbert Thiebaud
3adb006b52 concat-deps.c deal with /../ in dep path 2011-12-17 07:07:25 -06:00
Michael Stahl
0ef8beedb1 gbuild: refactor gb_Library_set_componentfile:
Reverse the dependency: now the component target depends (order-only) on the
library, which should ensure that gb_CppunitTest_add_component can set up
dependencies such that the unit test does not run concurrently with
a library loaded via UNO being overwritten.

Unfortunately this requires introducing another phony dummy library
target, on which the module can depend (because we don't want to register
the component target as a module target).
2011-12-16 22:07:48 +01:00
Michael Stahl
268cfdf23c gbuild: gb_LinkTarget_set_auxtargets => add_auxtargets 2011-12-16 22:07:48 +01:00
Luboš Luňák
b55dbc1e19 make gbuild output [Build CXX] filename also with the .cxx extension 2011-12-16 19:00:03 +01:00
Stephan Bergmann
54a918bbfb Report backtraces for all threads. 2011-12-16 15:00:12 +01:00
Petr Mladek
dac89858f6 add version suffix (beta1) to about dialog
configurable at build time via ABOUTBOXPRODUCTVERSIONSUFFIX in
instsetoo_native/util/openoffice.lst

configurable at runtime via registry/data/org/openoffice/Setup.xcu
and ooSetupVersionAboutBoxSuffix property
2011-12-16 14:29:13 +01:00
Tor Lillqvist
5e57d6d5f0 Override gb_Library__set_soversion_script_platform as empty 2011-12-16 13:13:45 +02:00
Michael Stahl
514cefbcb7 gbuild: solaris.mk: deprecate SunStudio 2011-12-16 11:30:46 +01:00
Michael Stahl
3eba78e141 gbuild: fix gb_Library_set_soversion_script
so it does nothing on platforms where soversions are not used
2011-12-16 11:30:46 +01:00
Michael Stahl
883b12a76d gbuild: macosx.mk: tinderbox fails on version script 2011-12-15 22:59:18 +01:00
Michael Stahl
1d90f180cd gbuild: macosx.mk: remove salhelper hack 2011-12-15 22:59:18 +01:00
Michael Stahl
039cdb19e6 gbuild: add gb_Library_set_soversion_script:
This allows for setting a SONAME and version script, which is required
for UNO runtime libraries where we want to maintain a stable ABI.

The old build system did apparently not set an SONAME on MacOSX or
Solaris, so don't do that here either.
2011-12-15 22:14:27 +01:00
Michael Stahl
817a7f6b86 gbuild: Deliver.mk: preserve symlinks on deliver
The option -P seems to be supported by a lot of ancient cp
implementations, let's hope it actually works.
2011-12-15 22:14:27 +01:00
Luboš Luňák
e87fc0bfde Revert "enable -gdwarf-4 by default if possible"
It turns out even quite recent gdb (7.1) reportedly does not
support DWARF4, moreover while the produced binaries are smaller,
faster and make gdb initially use less memory, this quickly ceases
to the case as soon as one actually does anything in gdb.
Presumably the DWARF4 handling in current gdb is very inefficient
(http://sourceware.org/bugzilla/show_bug.cgi?id=13498).

This reverts commit 5214f7843c.

Conflicts:

	solenv/gbuild/platform/WNT_INTEL_GCC.mk
	solenv/gbuild/platform/unxgcc.mk
2011-12-15 17:02:36 +01:00
Luboš Luňák
039fd52b96 fix one -ggdb3 that got in in a merge after 0b5b56be4d 2011-12-15 14:26:05 +01:00
Matúš Kukan
a4312af08c convert salhelper to gbuild
This is a cherry-pick of Matúš's e2f30c078fcf26d481c2e90398b450f6c475a483
from the feature/gbuild branch, with the following modifications by
Stephan Bergmann <sbergman@redhat.com>:

* Adapt salhelper/Makefile to what all those Makefiles currently need to
  look like.

* Do not remove salhelper/source/gcc3.map, instead add directly into it
  what otherwise solenv/bin/addsym.awk would add to it on Linux.

* In salhelper/Library_salhelper.mk, add code that on Linux takes care of
  the soname and symbol versioning required for backwards compatibility.
  Solaris would need those features too, and its backwards compatibility
  is thus currently broken.  Also add a bad hack to create the soname
  symlink (xxx.3 -> xxx) in the solver needed on non-Windows platforms (it
  is a bad hack for now in that it e.g. is not removed by "make clean").

* In solenv/gbuild/platform/macosx.mk, add an even worse hack to set the
  correct install name for libuno_salhelpergcc3.dylib.3, with a trailing
  ".3".
2011-12-15 11:59:03 +01:00
Bjoern Michaelsen
d8729cfc64 bootstrap can be kept in both phases as it has a proper touchfile 2011-12-14 14:19:17 +01:00
Bjoern Michaelsen
fe6499cee5 adding noop rules for auxtargets in buildpl, moved deps of buildpl into that phase 2011-12-14 12:13:23 +01:00
Bjoern Michaelsen
9c197011a5 skip AuxTargets in buildpl phase 2011-12-14 12:03:33 +01:00
Thorsten Behrens
05d08f187a Add latest tag name to buildid string. 2011-12-14 10:44:20 +01:00
David Tardon
ee29bb2a47 force gbuild stage for CustomTargets
gb_SourceEnvAndRecurse_STAGE is unset in CustomTarget's make process
when the parent make has been started in sourced environment. This leads
to all sorts of "interesting" failures because the gbuild classes and
platform stuff are not loaded...
2011-12-14 07:11:51 +01:00