...as emsdk 5.0.3 deprecated the predefined EMSCRIPTEN macro (see <https://github.com/emscripten-core/emscripten/commit/506052bd8b4e23ded7f2351c62ca3b24d40c8cf3> "Warn about usage of deprecated EMSCRIPTEN macro. NFC (#26381)"), causing failures like > In file included from static/source/unoembindhelpers/PrimaryBindings.cxx:29: > In file included from include/sfx2/viewsh.hxx:35: > In file included from include/editeng/outliner.hxx:32: > In file included from include/tools/color.hxx:26: > include/osl/endian.h:66:15: error: macro 'EMSCRIPTEN' has been marked as deprecated: use __EMSCRIPTEN__ instead [-Werror,-Wdeprecated-pragma] > 66 | #elif defined EMSCRIPTEN > | ^ > /home/sberg/emsdk/5.0.4/emsdk/emscripten/main/cache/sysroot/include/emscripten/emscripten.h:35:66: note: macro marked 'deprecated' here > 35 | #pragma clang deprecated(EMSCRIPTEN, "use __EMSCRIPTEN__ instead") > | ^ To avoid confusion, also suppress the -D$(OS) in solenv/gbuild/platform/unxgcc.mk that would unnecessarily keep defining EMSCRIPTEN. Change-Id: Ic1f187cf1c6417cd95d4092e9cea01a665bd1b2f Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/34 Reviewed-by: Michael Stahl <michael.stahl@collabora.com> Tested-by: Jenkins CPCI <releng@collaboraoffice.com> (cherry picked from commit 50291c2ed83bdb49bb827a4a12905d94b8c42035) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205167 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tools and Makefile Fragments Necessary for Compilation
This module contains many tools and makefile configuration pieces, critical for building LibreOffice:
-
bin/-
contains lots of tools used during the build:
-
concat-deps*these aggregate, and remove duplicates from module dependencies, to accelerate build times. -
make_installer.plthis script executes the compiled instructions from thescp2/module to create an installer, and/or to do a local install for the smoketest.
-
-
-
gbuild/implementation of the LibreOffice build system See
gbuild/READMEfor more info. -
gdb/lots of nice python helpers to make debugging -much- easier that (eg.) print UCS2 strings as UTF-8 on the console to help with debugging.
-
inc/old
/increasingly obsolete dmake setup and includes, we are trying to entirely rid ourselves of this -
src/useful standard
/re-usable component map files for components which shouldn't export anything more than a few registration symbols. -
flatpak-external-tarballs.json.inThis file is processed by solenv/bin/generate-flatpak-manifest.sh and the result copied manually to https://github.com/flathub/org.libreoffice.LibreOffice/blob/master/external-tarballs.json The
flatpak/build.shin the LOdev-toolsrepository is obsolete.