summaryrefslogtreecommitdiff
path: root/solenv/gbuild
AgeCommit message (Collapse)Author
2014-09-25Fix PythonTest on windowsPeter Foley
Change-Id: I8d9d2757020fe4d2cf51bfd257e4bcb573baaaf5 Reviewed-on: https://gerrit.libreoffice.org/11631 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-24Revert "Make PythonTests depend on the ExternalExecutable"Matúš Kukan
This reverts commit 9416f4e8ab5fe9e1006bf8afd0b9d0ed2655a315. Change-Id: Id187b98c26e0fb109c26b31fb88bb50d0960d6fb Reviewed-on: https://gerrit.libreoffice.org/11627 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-09-24Make PythonTests depend on the ExternalExecutablePeter Foley
This fixes builds on windows with fully-internal python where the package is built but the exe isn't in instdir when building a PythonTest. Change-Id: Iab1d330a36adf1c849635b990bfe5d31359bec2b Reviewed-on: https://gerrit.libreoffice.org/11618 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-09-24fix a typo in gbuild help and improve a autoconf error messagePeter Foley
Change-Id: Iaee342ae6d612e35d1d2dfa91edbc952d4f73b4e Reviewed-on: https://gerrit.libreoffice.org/11616 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-09-23PPC Mac support can go away now (again)Tor Lillqvist
Change-Id: Ie1b2ab13eda584c48aaa0a4a0941f1be451697c1
2014-09-19Add support for external hamcrest when using junit 4.11+Peter Foley
Starting with junit 4.11 hamcrest is no longer bundled, so add a --with-hamcrest option to support this. Change-Id: Icdae946af82b9c56bf25d37cbf88275fc6a6a1eb Reviewed-on: https://gerrit.libreoffice.org/11383 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-18Don't use gnu++03 alias of gnu++98 for ODK buildsJan-Marek Glogowski
gnu++03 is just an alias for gnu++98 and was introduced in gcc 4.8. This prevents older compilers from building the code. Change-Id: I7e09338f26376c08c476561cdcddde39c7e62b09 Reviewed-on: https://gerrit.libreoffice.org/11501 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-17s/INSTDIR/INSTROOTTor Lillqvist
Fixes cross-compilation on OS X. Change-Id: I416e8b54c4c33c390c90139a82e4562668eb9ad4
2014-09-17Set up the instdir_for_build URE unorc file when cross-compilingTor Lillqvist
Change-Id: Icde8c214f510d168b52f2594821071a5aff19ecf
2014-09-17Bye bye VS2010Tor Lillqvist
Change-Id: I9d16f4f0df42ae4b046bc1e4ac4fba95c4b9d785
2014-09-15More forced-C++03 -Werror tweakingStephan Bergmann
Change-Id: I69c0311df4bd234ebecb866b950fa7f58a13563c
2014-09-15Filter out non-interesting -Wvariadic-macros / -Werror=non-virtual-dtorMiklos Vajna
- 'anonymous variadic macros were introduced in C99' is not interesting when building with -std=gnu++03 - 'class cppu::PropertySetMixinImpl has virtual functions and accessible non-virtual destructor' is not interesting when we implicitly disable the ability to disable warnings from code Change-Id: I391817f9fc793d9b38f97111138aebd63c3a443f
2014-09-15check that ODK headers compile with C++03Luboš Luňák
Change-Id: Ief191a5bbbdca45aaaa8ae5bcc395124ed189796
2014-09-15build ODK headers check without LIBO_INTERNAL_ONLYLuboš Luňák
Change-Id: Ia8bca09a877bed6070c10e1c008bdb05ac088485
2014-09-15gbuild command for disabling usage of compiler plugins for a targetLuboš Luňák
to be used by odk/ checkapi test Change-Id: I6bbb508cc6950a63218e8e4f3364306c7c79b087
2014-09-15two missing CppunitTest gbuild functionsLuboš Luňák
Change-Id: Ie56471d30dfcd8883d54ff00cb85af945649b9b1
2014-09-13mac: clean-up obsolete conditional code based on old SDKNorbert Thiebaud
Change-Id: Ie2d476780a48b5815961598e214343d5def962c1
2014-09-12Use $(LIBO_SHARE_FOLDER) instead of hardcoded 'share'Tor Lillqvist
Change-Id: I073d44c0e3e8c6eff0e885f827fa661e3c8e5206
2014-09-12Handle LIBO_SHARE_HELP_FOLDERTor Lillqvist
Change-Id: I4f004321c58da1d81a2cc3c80504347db583d86a
2014-09-11(Rudimentary) C++11 support is a hard requirement nowStephan Bergmann
Change-Id: I43ed776d52336b822aa6152f0f2a29e39303bb75
2014-09-09Fix help and showmodules build targetsPeter Foley
Change-Id: I096798159f4d3d59306be1b3843de1daca280f7a Reviewed-on: https://gerrit.libreoffice.org/11342 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-09-05gbuild: Framework for performance unit tests using callgrindMatúš Kukan
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-09-03Fix mergelibs build by adding dbtools to libmergedMatúš Kukan
Because svxcore links against dbtools since 86bdb13704d9d85a247339071a86d301ce86cd7f Change-Id: Ibbdd76fc77c3739756d011ae0c1fd99bab57834b
2014-09-03This local hack was pushed by mistakeStephan Bergmann
...as part of 5ab1098d5fbc1ba092da73af2b92e5bcdd7a3f8d "Generalize -fsanitize=address checks." Change-Id: I6141746b2d8059bd6bbcc466a86dd3da3c55f592
2014-08-30Start of support for Android on AArch64Tor Lillqvist
The build does not get far before it runs into trouble in the GNU libstdc++ headers, though: android-ndk-r10/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include/bits/opt_random.h:33:23: fatal error: x86intrin.h: No such file or directory Change-Id: I9d459c64980091ba8bf5b3d631d47342625f6be9
2014-08-29Linux AArch64 portStephan Bergmann
Change-Id: I37044a37348b203944a8eb9d2204e619055f069d
2014-08-14fdo#82430: configure: MSVC build: avoid using SSE2 instructionsMichael Stahl
MSVC 2012 for x86 defaults to -arch:SSE2; binaries do not run on any AMD 32-bit CPU, neither on Intel Pentium III. http://msdn.microsoft.com/en-us/library/vstudio/7t5yh4fd%28v=vs.110%29.aspx Change-Id: Ie8253137db2699f2a7fa69c4ac4e7ded90931e3e
2014-08-14TypoTor Lillqvist
Change-Id: I8d4ce3f0ebd894d2550c5c7788121308f77b0b2a
2014-08-14If we disable C4189 we should also disable C4100Tor Lillqvist
They are both bogusly emitted from SAL_WARN_IF in an optimizing compilation. Change-Id: Ia56687422a29c61a7a8ad0d48541300c7643120e
2014-08-14MSVC: disable C4189 again in optimizing buildsThomas Arnhold
MSVC2012 emits bogus "unused variable" warnings for variables only used in a condition of SAL_WARN_IF in optimizing compilations. Nevertheless it's quite useful to have these warnings when not optimizing, then it does not emit them bogusly. Change-Id: I58a071db65bed15f753def793da8c0f9677abd4b
2014-08-13gbuild: MSVC: disable warning C4373 againMichael Stahl
Making our code acceptable for ancient compilers that we don't use and that don't actually support C++ is a complete waste of time. (partially reverts 856b7f5f783471388cd811d92172cc1d2da7e331) Change-Id: I26a1a67d8c4beb31d6c0c301a56a948552683422
2014-08-13msvc: enable some warnings, as they are usefulThomas Arnhold
Change-Id: I30d1b5a5f5c21f6bb520fb9a36cdfc5445be1124
2014-08-11OSX: drop -malign-natural flag for non-clang compilersDouglas Mencken
Change-Id: I8956ccfd71032909c2f164a8f5b5f9586b6eb285 Reviewed-on: https://gerrit.libreoffice.org/10479 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-10Use $(LIBO_SHARE_FOLDER) instead of hardcoded "share"Tor Lillqvist
Change-Id: Ic97e51efaa280c64764b1c5f38c3b87af82a422b
2014-08-08Generalize -fsanitize=address checksStephan Bergmann
...that are at least also relevant for -fsanitize=undefined Change-Id: I39044d2a73912a605af8e965eb1cdf8dfd4f0051
2014-08-07Under -fsanitize=undefined, always link with C++ compilerStephan Bergmann
Change-Id: I4ded563245dd6d491420a69903796d933cbd449c
2014-08-07Fix tarball.rebuild on windowsZolnai Tamás
Change-Id: I0a649548088428bd1a1fcedab76325fffa6b72a0
2014-08-02fix python deps for services testDavid Tardon
Change-Id: Ia82a735c6075771d5096647905c4722ada1d1d40
2014-08-02gbuild: ensure py files for a component are thereDavid Tardon
... when the component is used by a unit test. Change-Id: I5e3b1770c18d8f7dd8166f30f82bbbba1aa72dc1
2014-08-02fix java deps for services testDavid Tardon
Change-Id: Ifa7a67862fca71dfd96dc55eec9f065f303d88a9
2014-08-02gbuild: require java UNO runtime explicitlyDavid Tardon
Change-Id: I83e468a729ef72b74c2718fe98dd3998dac6c21e
2014-07-29gbuild: allow a unit test to depend on a jar fileDavid Tardon
Change-Id: I68edf70e41023d3056859d49005c684b7c4e24d6
2014-07-29gbuild: clean target is phonyDavid Tardon
Change-Id: I39dd1d10f086fd17fd9cf3a511452831a06bf81a
2014-07-28Improvements for Windows build with only VS2013 installedTor Lillqvist
I thought it was possible now to build on Windows with Visual Studio 2013 as the only installed Visual Studio version, but no. I tried on a fresh Windows 8.1 installation. This commit fixes the configury a bit at least. (One needs to pass the --with-visual-studio=2013 option. Otherwise configure gets confused by the partial (?) VS2012 that seems to be installed, too, when installing VS2013, and prefers that...) The build fails at least in external/lcms2, but I'll leave sorting out that for later. Change-Id: I15942e4b088a3f0a62c3f7fa8f9b45f77beaff6f
2014-07-24allow to continue build after removing workdir/DepDavid Tardon
Change-Id: Ia5ccf924979fc3c72ce585af46a7443733be2ad3
2014-07-23OSX: change CXXFLAGS_CXX11 to be used not only with clangDouglas Mencken
Otherwise, zillions of warnings are displayed like: "defaulted and deleted functions only available with -std=c++11 or -std=gnu++11" "override controls (override/final) only available with -std=c++11 or -std=gnu++11" Change-Id: Icedaf55c4f301d44587141ad937abbfce8d10457 Reviewed-on: https://gerrit.libreoffice.org/10130 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-20scp2: move postgresqlsdbc libraries to AutoInstallMichael Stahl
Change-Id: Ia96e85191d877ebfd7621f7aa572f29e6482716c
2014-07-18gbuild: really fix the build of instset with missing .ui translationsMichael Stahl
workdir zip file was not copied to instdir Change-Id: I47f86745613a1b99836523036fba2b393f9ba1bd
2014-07-18gbuild: fix build of installation set with missing .ui translationsMichael Stahl
As demonstrated by commit b875362cd576b29aee4da899335b8d8f6c74d192, scp2 will reference all languages' UIConfig zip file, but gbuild only builds those that have existing input files from translations; tweak UIConfig class to always build a zip file, and the Zip command to work with no inputs as well, which requires a little hack. Change-Id: If6dbb07aa856c94802b9abdcaa20ba03e59d37fa
2014-07-16gbuild: set VCL_HIDE_WINDOWS for non-headless CppunitTestsMiklos Vajna
This avoids the flashing window even on Linux, while making such tests headless would make them fail. Change-Id: I7cf8d410e257574f0177ca8b7e6465a5efd62280