summaryrefslogtreecommitdiff
path: root/sc/Module_sc.mk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-02-28 16:06:09 +0100
committerLuboš Luňák <l.lunak@collabora.com>2022-03-01 10:48:13 +0100
commit0156eba76667fe1b0ed4355272fa77f98f9f63a4 (patch)
treee46f27cc49542c0b26253c2918b4790a9989a74e /sc/Module_sc.mk
parentda77aec27e3121c895a6c6c287225216489cc8bc (diff)
make Calc jumbo sheets an explicit build feature
On 32bit platforms tools::Long is 32bit, which is not enough for pixel coordinates with 1m+ Calc rows+. So do not allow jumbo sheets for such platforms. Change-Id: I2ebd56a051470d33fca967918af3e7d2b0172dc7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130713 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/Module_sc.mk')
-rw-r--r--sc/Module_sc.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index c37b37dd2a14..5179c5fdb292 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -73,7 +73,6 @@ $(eval $(call gb_Module_add_slowcheck_targets,sc, \
CppunitTest_sc_cond_format_merge \
CppunitTest_sc_copypaste \
CppunitTest_sc_html_export_test \
- CppunitTest_sc_jumbosheets_test \
CppunitTest_sc_macros_test \
CppunitTest_sc_new_cond_format_api \
CppunitTest_sc_pdf_export \
@@ -85,6 +84,12 @@ $(eval $(call gb_Module_add_slowcheck_targets,sc, \
CppunitTest_sc_uicalc \
))
+ifneq ($(ENABLE_JUMBO_SHEETS),)
+$(eval $(call gb_Module_add_slowcheck_targets,sc, \
+ CppunitTest_sc_jumbosheets_test \
+))
+endif
+
# Various function tests fail in 32-bit linux_x86 build due to dreaded floating
# point weirdness (x87, registers, compiler optimization, ... whatever),
# disable them until someone finds a real cure.