diff options
author | Tor Lillqvist <tml@collabora.com> | 2023-01-13 12:07:27 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2023-02-23 18:26:00 +0000 |
commit | 69ecf13f33338a30bff2096b3e7bf5b87e79250a (patch) | |
tree | 265191a4fac21f213e0332b55ffd2c00901005d5 /external | |
parent | fbd35ed547ed130e9846c0fbc1e8e6f08156a400 (diff) |
Don't bother building the liborcus benchmark
It causes a problem when building with Emscripten and
--enable-wasm-exceptions. Instead of fixing that problem, just don't
bother building executables we won't run anyway. (Ideally liborcus
should have some --disable-benchmark configure options, ping Kohei.)
Change-Id: Ic8c1d51513793bba85dc2833cc8fd9ec5b97ce76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145645
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147519
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/liborcus/UnpackedTarball_liborcus.mk | 1 | ||||
-rw-r--r-- | external/liborcus/liborcus-no-benchmark.patch.1 | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/external/liborcus/UnpackedTarball_liborcus.mk b/external/liborcus/UnpackedTarball_liborcus.mk index 30d3f0d78d1c..47d05e82c612 100644 --- a/external/liborcus/UnpackedTarball_liborcus.mk +++ b/external/liborcus/UnpackedTarball_liborcus.mk @@ -42,6 +42,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,liborcus,\ external/liborcus/forcepoint-95.patch.1 \ external/liborcus/include.patch.0 \ external/liborcus/overrun.patch.0 \ + external/liborcus/liborcus-no-benchmark.patch.1 \ )) ifeq ($(OS),WNT) diff --git a/external/liborcus/liborcus-no-benchmark.patch.1 b/external/liborcus/liborcus-no-benchmark.patch.1 new file mode 100644 index 000000000000..a19cea836601 --- /dev/null +++ b/external/liborcus/liborcus-no-benchmark.patch.1 @@ -0,0 +1,19 @@ +-*- Mode: Diff -*- + +Don't build the benchmark directory. + +We won't run those anyway, and on some platforms building executables +here and there for random externals can be problematic. While at it, +skip the doc_example subdirectory too. + +--- liborcus/Makefile.in ++++ liborcus/Makefile.in +@@ -408,7 +408,7 @@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = src include benchmark doc_example ++SUBDIRS = src include + ACLOCAL_AMFLAGS = -I m4 + pcfiles = liborcus-@ORCUS_API_VERSION@.pc $(am__append_1) + pkgconfig_DATA = $(pcfiles) |