summaryrefslogtreecommitdiff
path: root/solenv/gbuild/Module.mk
AgeCommit message (Collapse)AuthorFilesLines
2015-10-16Missing dependenciesStephan Bergmann1-2/+6
Change-Id: I7e0248c0e238910bedc098d98107a6a1083e41d6
2015-09-03add stagingcheck target for unstable/failing testsBjoern Michaelsen1-2/+36
Change-Id: I4d1e54bdf579b0d6dd143b3a68de259ab7d3d562
2015-03-28make gbuild a bit more quiet by defaultNorbert Thiebaud1-8/+8
On a regular build, gbuild print over and over the 'loaded modules' which is a long landry list that serve little purpsose but to make it hard to read the output If you _really_ want to still see that use verbose=t Change-Id: I0950f471b68e84c0cbd2c0afd2721394f70da398
2014-09-05gbuild: Framework for performance unit tests using callgrindMatúš Kukan1-3/+35
Run them with "make perfcheck" (toplevel or in a module) To add a new performance test: - Add it as a perfcheck target - Use gb_CppunitTest_set_performance_test - Use CALLGRIND_ macros from valgrind/callgrind.h http://valgrind.org/docs/manual/cl-manual.html#cl-manual.clientrequests Change-Id: I67c776dbe4db0a686607efeee7a7e4f3aeae0e5c
2014-07-03CustomTarget_autotextshare is l10n targetDavid Tardon1-1/+1
Change-Id: Id82bbfc94645d9153e0d79475de008adb0edf3b9
2014-04-29make signing depend on slowchecks being doneChristian Lohmaier1-1/+1
otherwise signing (at least on windows) fails because files are in use Change-Id: Ida6a7d43dc74eb278fd79410b9c0a60f823c5933 Reviewed-on: https://gerrit.libreoffice.org/9176 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2013-12-16silence warning introduced by e125dee1 (Shut up, Wesley!)Bjoern Michaelsen1-2/+2
Change-Id: Id08f07ec47b5d3e34e1ef1e73475bfe6b10268c9
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen1-2/+2
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-11-21use BIN (binaries) consistent for non-l10n stuffBjoern Michaelsen1-1/+1
Change-Id: I0434810c13e4e30d5aa36684ed0ed3974fb7e1cf Reviewed-on: https://gerrit.libreoffice.org/6753 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-11-14gbuild: fix typo in Module clean ruleMichael Stahl1-1/+1
regression from 04dead1c6b9fd8ea24b27d2c5824ae889a2fac66 Change-Id: I623ec25a0666cd3cac1d4f6371e6460a25faa6c4
2013-11-14make l10n buildable separatelyBjoern Michaelsen1-8/+50
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-11-03duplicates in the module list break buildDavid Tardon1-1/+2
They might occur in extensions when crosscompiling, because both harfbuzz and lcms2 are listed twice. Change-Id: I6d6eff19043d33160b825f47988e46798da7857a
2013-10-04refactor make check to run subsequentcheck parallel to instsetMichael Stahl1-0/+4
... which saves 4 minutes on a "make check" here, when configured --with-package-format="archive" Change-Id: I415e0e95ae7f4e289fa4797643f5d744015d80ad
2013-07-26'almost finished' doesnt sound like a clean targetBjoern Michaelsen1-1/+1
Change-Id: I0455dce3c41a859a6d3f7c2cc62ba5002559bd29
2013-07-23it is not possible to sign libs that are in useDavid Tardon1-0/+3
... so we have to make sure they are not, by delaying the signing after all unit tests have been run. This is just a workaround; IMHO the real fix is fdo#63315 "sign windows binaries during build". Change-Id: Ia26826ec7d324f840f2606b1928bea71cb4f0c48
2013-07-19gbuild: add an intermediary 'almost' target to ModuleNorbert Thiebaud1-7/+14
This patch is a preparation work for a later patch. that introduce automatic creation and reuse of binary package. In order to be able to run a task after every target of a module have been completed, but without the need to enumerate them all to that post-module task, an extra intermediary 'target' is introduced the 'almost' target. every registered target of a module are depeendencies of 'almost' and the old done-target for the module now has almsot as dependency It then become possible to declare a target that is a dependencies of 'done' and has 'almost' as dependencies to guaranty that this target will be run after the module'w work is completed. Change-Id: Ifa2bc66e3a5554bf5e85785e1582c57fd62ada5c Reviewed-on: https://gerrit.libreoffice.org/4763 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-03re-base on ALv2 code. Includes:Michael Meeks1-21/+12
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-05-24gbuild: simplify reg. of targets for PostprocessDavid Tardon1-1/+2
Change-Id: Id184df89c5c15c55e42f376ed06c83174c486f67
2013-04-15avoid unit testing when cross-compiling more simpleMatúš Kukan1-15/+0
This reverts commit d4ea8c6b7ee32dfbe1525cae45ad44d411052c33. Change-Id: I85dacbf962cf5911c826c55fe08cfe6effe0e9d7
2013-04-15We don't do unit testing when cross-compiling for nowTor Lillqvist1-0/+15
Define the functions that adds the various check targets as empty when cross-compiling. Avoids the needs for corresponding conditionals in .mk files in modules. Change-Id: Ia577e12204b516dc169a8500b4745aac4d7c24e2
2013-04-06provide an easy way to depend on makefile from gbuild classesDavid Tardon1-0/+10
$(lastword $(MAKEFILE_LIST)) is not what is expected if the makefile includes other makefile as the first step (as some do). See UnpackedTarball.mk, where I already tried to workaround the problem. Change-Id: Ib713a698f52ba16f46fbbc4c50b43edd69c9a472
2013-03-13more subtle dependencies for cross-compilationMatúš Kukan1-0/+7
Now we build only what we really need for 'build' platform - there is new build-tools make target. The list of tools is in solenv/gbuild/extensions/pre_BuildTools.mk. Also similar is done to some extent for 'host' platform using gb_Module_add_targets_for_build which is ignored for 'host'. Change-Id: I6acd1762b16aca366aac1a0688500f27869cfca2
2013-03-06do not execute unit tests when cross-compilingMatúš Kukan1-1/+1
For both build and host platform. Change-Id: I0fa9b5d85449887c2c6bd758fb1fecec9776d97c
2013-03-06reintroduce gb_PARTIAL_BUILD to know if we want to run slowcheckMatúš Kukan1-3/+1
Also kills horrible SKIP_TESTS hack along the way. Change-Id: Ida59fb44d247b52ef11ee7ba5e4e006996a87ebf
2013-03-03build userfriendly targets from toplevelPeter Foley1-0/+1
Change-Id: Iffbe6d4570bf4d4bdd7347260a6bb4160af24515
2013-03-03use pattern rule for PostprocessDavid Tardon1-4/+0
Change-Id: Ib8d2ddb2efaef26a0a2aba36e9e1c67b1fb019d7
2013-03-01rename Module_tail_build to RepositoryModuleMichael Stahl1-1/+1
Change-Id: I06783d26f10efabd1aca06a7a1e0647d8ed58b69
2013-02-28cleanup instsetoo dep displayPeter Foley1-1/+1
Change-Id: I857ae6055326e43ad687ac22a6e4a034de5d556f
2013-02-28move android and ios to tail_buildPeter Foley1-1/+1
Change-Id: Ic192b063a4ccc1249194bc7a62a8a90682de08f0
2013-02-27move instsetoo_native to gbuildBjoern Michaelsen1-0/+5
Change-Id: Ie4deddc426356636b76ad4fc27552c6d3a1dd815 Reviewed-on: https://gerrit.libreoffice.org/2429 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-02-25Revert inadvertent changeStephan Bergmann1-1/+1
Change-Id: I203ad92e8a006d1f262203852f05108706a90ee4
2013-02-25Last use of obsolete gb_*_add_api is long goneStephan Bergmann1-1/+1
Change-Id: Ia6c938ef0e45ec86c0c202e95ef28d49fccd3497
2013-01-10optimize for build targets in one placeMatúš Kukan1-5/+4
Change-Id: Ib886a323c1ade6dcd455a44d3dfc6702086416e3
2013-01-10remove effectively unused gb_PARTIALBUILDMatúš Kukan1-37/+0
Change-Id: I5d00db54748de0e1ce3de3dd9c99a88a82e7917b
2013-01-10dev-install target is used from toplevel MakefileMatúš Kukan1-20/+3
Change-Id: I5b53046e9389eac2126e910752d131e7b65bf53c
2013-01-10add rule for generating fresh pot (po template) filesMatúš Kukan1-2/+15
Moved from translations' custom makefile. Change-Id: Ife58bfa3ee607b06617d7db80408afb453b9a10c Reviewed-on: https://gerrit.libreoffice.org/1622 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-12-15src.downloaded is goneMatúš Kukan1-1/+1
Change-Id: I09a6ad82bbb54ce8329e8b2f6152e9f5a1880a68
2012-10-22clean up configure options for debugging buildLubos Lunak1-2/+2
By default a product (non-developer) build is done. Code is optimized and no debugging information is included (may be overriden though, see below). Developers should preferably build with --enable-dbgutil , or at least --enable-debug. The --enable-symbols switch has been removed. Use explicit CFLAGS/CXXFLAGS/LDFLAGS instead if needed. With --enable-debug optimizations are turned off and debugging information is included (in order to make it possible to examine the code in a debugger). Additionally assertions and logging is enabled (see SAL_WARN/SAL_INFO documentation for details and better control). This switch should primarily by used for occassional development (such as when it is needed to debug one module in a non-debug build, see also 'make DEBUG=true' below). Using --enable-dbgutil is the recommended developer option. In addition to --enable-debug it also enables additional checks, such as debugging mode for STL or checking compiler plugins. This switch may also enable additional logging from obsolete debugging tools (which should be converted to SAL_WARN/SAL_INFO for better control). Note that this option makes the build binary incompatible from a --disable-dbgutil build, so it is not possible to mix them. When using --enable-debug/--enable-dbgutil , the build is noticeably larger because of the included debugging information (compiler -g option). When disk space is an issue (or the computer is not very powerful), the --enable-selective-debuginfo option allow specifying where the debugging information should or should not be used. The option takes a list of arguments, where all means everything, - prepended means not to enable, / appended means everything in the directory; there is no ordering, more specific overrides more general, and disabling takes precedence). For example, --enable-selective-debuginfo="all -sw/ -Library_sc" enables debugginfo for everything except for anything in the sw module and the sc library. Explicitly specified CFLAGS/CXXFLAGS/LDFLAGS override optimization and debugging options (can be now also passed to configure which will make the build system use them). If in a non-debug build it is needed to temporary build something as a debug build, 'make DEBUG=true' temporarily works as if --enable-debug was specified. It also temporarily overrides debuginfo disabled using --enable-selective-debuginfo. Old code using old logging functionality also has a concept of a debug level, forced using 'make DBGLEVEL=2'. Using a debug level of 2 (or higher) enables additional logging output. New code should use SAL_WARN/SAL_INFO and use extra areas for additional logging output that can be selectively enabled/disabled using SAL_LOG variable. (Some smaller parts of this design will be implemented by separate follow-up commits.) Change-Id: Ia6420ee3c99c217ead648e8967165eed7f632258
2012-09-29introduce some new top level targetsDavid Ostrovsky1-3/+3
Change-Id: I3ac81132e21710a2c1d974944a5bcd612d796ec6
2012-07-16allow using rtl::OUString etc. simply as OUString, without rtl::Luboš Luňák1-0/+1
http://lists.freedesktop.org/archives/libreoffice/2012-April/029940.html The RTL_USING #define (set by gbuild for anything that's not public API) allows to use such classes simply by their name, without having to use the namespace or do explicit using rtl::OUString (which half of the sources do anyway). Change-Id: I7edaf12cd278489cdc1d5ff782f0a86361c13c0a
2012-06-23Export NOCPPUNIT to disable all cppunit test in gbuild.Norbert Thiebaud1-0/+2
This is convinient when coding/debuging stuff that break unittest downstream, but oen still want to have a fully built product to test Change-Id: I4970db6ede1ed29bb3c421b56b5092c19fd9fa90
2012-06-13gbuild: don't suggest make install on WNTMiklos Vajna1-0/+10
2012-05-08dis-entangle --enable-symbols and --enable-debug:Michael Stahl1-2/+2
OOo used to use debug level this way: 0 is default for product build 1 for --enable-dbgutil 2 for environment variable debug=t, regardless of dbgutil setting in LO these have now morphed into: 0 is default for product build 1 for environment variable debug=t 2 for --enable-dbgutil (at some intermediate stage in the past) 1 for --enable-dbgutil (today) This has caused a lot of confusion and some things were not converted properly, including a check in LinkTarget.mk. Developers should use --enable-debug to get useful information, including full debug info and assertions. --enable-symbols is not intended for developers, but for people who need their builds to be able to produce useful stack traces; --enable-symbols is for example set unconditionally in the Fedora RPM spec, and for this purpose disabling of inlining is not wanted. It is unlikely that somebody wants symbols for only part of the build, and consequently a different mechanism is used to set the corresponding flags: they are set into global gb_LinkTarget_C{,XX}FLAGS. So move the selective symbol feature back to --enable-debug. (this substantially reverts db8df57acd601ed084bd0122683e1bd066a4f143)
2012-05-08gbuild: refactor selective symbols again:Michael Stahl1-2/+6
The previous commit works but results in a ~0.4 second slowdown on tail_build, which is completely unacceptable; seems that at the cost of another ugly global variable in Module.mk we can get the performance back and then some, so refactor this again...
2012-05-08gbuild: refactor the selective symbols supportMichael Stahl1-0/+2
so it doesn't use wildcard but instead the actually registered LinkTargets.
2012-04-25add showmodules target to gbuildBjoern Michaelsen1-1/+7
2012-04-24specific variable for where dev-install installsLuboš Luňák1-1/+1
2012-03-27be consistentMatúš Kukan1-1/+1
2012-02-21Rethink cppunittest "plugins" for iOS, more to comeTor Lillqvist1-12/+0
2012-02-10slowcheck should not be executed in module default targetMarkus Mohrhard1-1/+1