History log of /trunk/main/solenv/gbuild/LinkTarget.mk (Results 1 - 25 of 30)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7a50e16f 04-Oct-2019 Don Lewis

Fix incorrect gbuild usage that can cause intermittent parallel build failures.

There was some misuse of gbuild that was causing make rules to be added
that had solver/*/*/workdir/Extern

Fix incorrect gbuild usage that can cause intermittent parallel build failures.

There was some misuse of gbuild that was causing make rules to be added
that had solver/*/*/workdir/ExternalHeaders/Library and
solver/*/*/workdir/ExternalHeaders/Library listed as dependencies.
If these directories did not exist, then a pattern match rule intended
to create files under the
solver/*/*/workdir/ExternalHeaders/{Library,StaticLibrary} directories
would be triggered. The recipe for that rule would then
mkdir -p solver/*/*/workdir/ExternalHeaders
and then
touch solver/*/*/workdir/ExternalHeaders/{Library,StaticLibrary}
creating it as a plain file. A subsequent make rule would
unconditionally
mkdir -p solver/*/*/workdir/ExternalHeaders/{Library,StaticLibrary}
and fail.

Fix the incorrect gbuild usage and add some sanity checks to gbuild
to catch the problem closer to the source and more deterministically.

show more ...


Revision tags: AOO417, AOO420-Dev-m1
# 3f75c46f 20-Feb-2019 Jim Jagielski

Get apple_remote to build under gbuild, but still not yet working
(see dev@ thread)


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1853976 13f79535-47bb-0310-9956-ffa

Get apple_remote to build under gbuild, but still not yet working
(see dev@ thread)


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1853976 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 7f6ffbef 05-Feb-2019 Damjan Jovanovic

Port main/i18npool to gbuild.

Allow ICU's version.mk to be used by GNU make (= instead of *=).

Add support for building generated C files.

Reference ICU libraries using "gb

Port main/i18npool to gbuild.

Allow ICU's version.mk to be used by GNU make (= instead of *=).

Add support for building generated C files.

Reference ICU libraries using "gb_Library_use_externals" across the tree.
Also ICU is an external library, remove it from RepositoryFixes.mk
which is only for internal ones, and keep it in RepositoryExternal.mk
exclusively. Since we get to specify the full linker parameter over there,
remove the half-baked hacks for it from RepositoryFixes.mk.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1852965 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO416, AOO416-RC1
# 6bf52fda 05-Oct-2018 Damjan Jovanovic

Complete enough of the assembly language building for now,
to successfully build main/basic on Windows.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openo

Complete enough of the assembly language building for now,
to successfully build main/basic on Windows.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1842965 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 7f5180e6 05-Oct-2018 Damjan Jovanovic

Fix a typo.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1842957 13f79535-47bb-0310-9956-ffa450edef68


# 88fe4d89 05-Oct-2018 Damjan Jovanovic

Add building of "flex" files (.ll) to gbuild.

Port main/idlc to gbuild.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1842861 13f7953

Add building of "flex" files (.ll) to gbuild.

Port main/idlc to gbuild.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1842861 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 1bb309c6 26-Sep-2018 Damjan Jovanovic

Add a gbuild API for building assembly language source files.

This will be needed by basic, bridges and possibly other modules.

Patch by: me



git-svn-id: https://s

Add a gbuild API for building assembly language source files.

This will be needed by basic, bridges and possibly other modules.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1841998 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 48bea759 08-Sep-2018 Damjan Jovanovic

Strip carriage returns from the Bison source files.

This hasn't been necessary so far, but dmake did it, so let's be safe.

Patch by: me



git-svn-id: https://svn.ap

Strip carriage returns from the Bison source files.

This hasn't been necessary so far, but dmake did it, so let's be safe.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1840342 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# ea3120fc 05-Sep-2018 Damjan Jovanovic

Further fixes to get Windows building.

Use native paths when calling idlc.

Don't export all symbols from salhelper's SimpleReferenceObject
on Windows, only those we have to, as

Further fixes to get Windows building.

Use native paths when calling idlc.

Don't export all symbols from salhelper's SimpleReferenceObject
on Windows, only those we have to, as some modules fail to link
otherwise.

There is no "date" component any more, it's been renamed.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1840081 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 390c74e1 03-Sep-2018 Damjan Jovanovic

Allow specifying the .rdb file, and which UNO types to generate headers
from, in the gbuild *_set_private_api function. Fix codemaker's
makefile to use this.

Port main/scaddins to gb

Allow specifying the .rdb file, and which UNO types to generate headers
from, in the gbuild *_set_private_api function. Fix codemaker's
makefile to use this.

Port main/scaddins to gbuild.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1839908 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 7de6b1b1 31-Aug-2018 Damjan Jovanovic

Implement gbuild functions for building Bison files.

Port main/rsc to gbuild.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1839782 1

Implement gbuild functions for building Bison files.

Port main/rsc to gbuild.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1839782 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 69307761 25-Aug-2018 Damjan Jovanovic

Windows needs abbreviate_dirs_native as cppumaker doesn't handle
/cygdrive/c/... paths.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1839

Windows needs abbreviate_dirs_native as cppumaker doesn't handle
/cygdrive/c/... paths.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1839019 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 0f0bb070 24-Aug-2018 Damjan Jovanovic

Add the solenv/gbuild changes I accidentally left out from my last commit,
which allow extracting custom .hpp files from .rdb using cppumaker.

Patch by: me



git-svn-id:

Add the solenv/gbuild changes I accidentally left out from my last commit,
which allow extracting custom .hpp files from .rdb using cppumaker.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1838933 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 8f71f2da 23-Aug-2018 Damjan Jovanovic

Port main/codemaker to gbuild.

Also ported the Java tests in codemaker to JUnit
instead of the internal test framework,
and enabled them during the subsequent test phase.

A

Port main/codemaker to gbuild.

Also ported the Java tests in codemaker to JUnit
instead of the internal test framework,
and enabled them during the subsequent test phase.

A gbuild API for building private UNO APIs using cppumaker was also added,
and used to run the C++ subsequent tests in codemaker.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1838757 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# c4c42a0e 30-Mar-2018 Damjan Jovanovic

Port main/lingucomponent to gbuild.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1828081 13f79535-47bb-0310-9956-ffa450edef68


Revision tags: AOO415
# e10cbedd 15-Dec-2017 Don Lewis

Enhance gb_LinkTarget_set_*_optimization functions to allow multiple
targets to be specified.

Convert optimization overrides in the gbuild library makefiles to
use gb_LinkTarget_set_

Enhance gb_LinkTarget_set_*_optimization functions to allow multiple
targets to be specified.

Convert optimization overrides in the gbuild library makefiles to
use gb_LinkTarget_set_*_optimization.

There should be no functional change.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1818290 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 8e6bd3e9 12-Dec-2017 Don Lewis

Improvements to per-object optimization overrides in gbuild:

* Less Library.mk editing required to add an optimization exception
than what has been normally done to date.

*

Improvements to per-object optimization overrides in gbuild:

* Less Library.mk editing required to add an optimization exception
than what has been normally done to date.

* Add a variable to specify an override to -O1 instead of only
allowing -O0.

* Don't lose debug flags when overriding optimization.


Convert the recent Mac optimization override in framework/Library_fwk.mk
to the new style.


Improvements to Windows debug builds in gbuild:

* There are multiple dependency paths that trigger compiling a source
file. Add a target specific $(PDBFILE) to the root of each so
that $(PDBFILE) is set properly when compiling.

Note: $(PDBFILE) is not getting set when compiling the sources
for the per-module (Google Test) tests.

* Don't inadvertantly disable the use of pre-compiled headers when
enabling debug (not specific to Windows).

Note: If both debug and pre-compiled headers are enabled, building
of modules that contain more than one library will fail due to
limitations of Visual Studio. The problem is that when we
build the precompiled header, the output file(s) are based on the
module name. Even though each Library_*.mk specifies the rule
to build the precompiled header, it is only built once for the
module. Visual Studio requires that the $(PDBFILE) used when
compiling the sources match the $(PDBFILE) used when compiling
the precompiled header, but the value of $(PDBFILE) is specific
to each library. The best fix would be to compile the headers
once for each library and stash the output in a per-library
specific place, but this requires some fairly extensive changes.
Another potential fix would be to use -Z7 optimization so that the
debug information is stored in the object files.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1817946 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 3b02a9c8 28-Nov-2017 Damjan Jovanovic

Add the ability to set a linker script in gbuild that is used to
version symbols.

This has been a bottleneck in continued gbuild porting and should
help further development considera

Add the ability to set a linker script in gbuild that is used to
version symbols.

This has been a bottleneck in continued gbuild porting and should
help further development considerably.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1816518 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO414, AOO413
# cf91f1ae 31-Jan-2017 Damjan Jovanovic

We need to pass "-DEBUG" to the linker on Windows for debugging to work.

Patch by: me
Tested by: pats



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@178

We need to pass "-DEBUG" to the linker on Windows for debugging to work.

Patch by: me
Tested by: pats



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1781019 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 69f987b1 25-Jan-2017 Damjan Jovanovic

When debug symbols are produced for C / C++ / Objective C, produce them
for Java too.

Patch by: me


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1780248 13f

When debug symbols are produced for C / C++ / Objective C, produce them
for Java too.

Patch by: me


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1780248 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 9e1b801e 25-Jan-2017 Damjan Jovanovic

Add debug symbols to gbuild modules when any of --enable-debug,
--enable-symbols, or --enable-crashdump are passed to ./configure (just
like it already is for dmake modules), as opposed to th

Add debug symbols to gbuild modules when any of --enable-debug,
--enable-symbols, or --enable-crashdump are passed to ./configure (just
like it already is for dmake modules), as opposed to the previous behaviour
of only doing it on --enable-debug.

Also implemented --enable-symbols=small for gbuild modules on platforms
where AOO is built with GCC and Clang compilers (MSVC on Windows doesn't
seem to support that).

Patch by: me


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1780246 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# e6091915 28-Aug-2016 truckman

Follow up to r1758061. Only pass -DPRECOMPILED_HEADERS to the compiler
when the precompiled header is actually going to be used.



git-svn-id: https://svn.apache.org/repos/asf/o

Follow up to r1758061. Only pass -DPRECOMPILED_HEADERS to the compiler
when the precompiled header is actually going to be used.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1758092 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 7517f704 27-Aug-2016 truckman

#i117845# [gbuild] invalid link-target dep-files can be generated

Fix the Windows build performance regression with precompiled headers
introduced by the fix for #i117845# that was merg

#i117845# [gbuild] invalid link-target dep-files can be generated

Fix the Windows build performance regression with precompiled headers
introduced by the fix for #i117845# that was merged from
branches/gbuild-reintegration by r1755455.

The use of precompiled headers is triggered by the use of two compiler
flags, -DPRECOMPILED_HEADERS which triggers the inclusion of a special
header for the library that includes all of the include files needed
for any source file in the library, and -Yu[headername] which tells the
the Microsoft compiler to use the precompiled version of this header.

It would be nice if these two flags were added to the compiler flags
at the same time, but they are not. The -DPRECOMPILED_HEADERS flag
is always added if the library is configured to use precompiled
headers, but the -Yu flag is only added conditionally if the flags
for building a particular source file match those that were used to
precompile the header. A further condition is the presence of
$(PCH_NAME), which is set as a target-specific variable on the
library, and which is supposed to be inherited by its dependencies
to be used when compiling the source files for the library.
Unfortunately the fix for #i117845 caused the source and object
files to be dependencies of a different target, which did not
have $(PCH_NAME) set. They did not inherit $(PCH_NAME), so they
were compiled with -DPRECOMPILED_HEADERS, but not -Yu, causing the
compiler to do more work than in the case where the precompiled
header option is disabled resulting in longer builds with the use
of this option.

Fix by setting a target-specific $(PCH_NAME) for the new target.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1758061 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# b63233d8 07-Aug-2016 damjan

Merge branches/gbuild-reintegration to trunk.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1755455 13f79535-47bb-0310-9956-ffa450edef68


Revision tags: AOO4121, AOO412, SNAPSHOT, AOO411
# 86e1cf34 29-Apr-2014 Pedro Giffuni

Many spelling fixes: directories r* - z*.

Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame

Many spelling fixes: directories r* - z*.

Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame the international nature of the code but
it is somewhat shameful that this wasn't done before.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1591062 13f79535-47bb-0310-9956-ffa450edef68

show more ...


12