summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_opencl_test.mk
AgeCommit message (Collapse)AuthorFilesLines
2019-10-04add gbuild function for a common PCH and use it in sc/ and sax/Luboš Luňák1-0/+2
And make it simple to disable the whole feature by setting gb_DISABLE_PCH_REUSE=1, just in case. Also work around a possible BOOST_ALL_NO_LIB mismatch when using the common PCH. Change-Id: I96fd507edf1ada6242ac225026250e5a588d0193 Reviewed-on: https://gerrit.libreoffice.org/79365 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2018-05-31SwModule is a convenient (?) place for passing events to Automation clientsTor Lillqvist1-1/+5
Generate Application.DocumentChange and Application.Quit events. SfxHintId::DocChanged seems to correspond nicely enough to Application.DocumentChange. It is generated a bit eagerly, but as its documentation is fairly vague and no specific detailed information is passed in parameters anyway, it probably doesn't hurt if a client gets it a bit more often with LO than with some other product. Can now remove the FIXME-marked Quit event things in SwVbaApplication. Now need oovbaapi in many makefiles for them to compile. Change-Id: I4d0c5b93b584f198bcc854002eec7aaba7909ecc Reviewed-on: https://gerrit.libreoffice.org/55106 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2018-03-11Move (and rename) graphic stuff from svtools to vclTomaž Vajngerl1-0/+1
This is preparing to change how GraphicManager works where it won't base itself around GraphicObject anymore but Graphic. No functional or cosmetic change was made to the classes, only changes that were needed because of the move and rename. The only thing that wasn't moved is the GraphicRenderer as it is not needed in vcl for now (but makes sense to move it in the future to keep graphic stuff together). grfmgr was renamed to GraphicObject as the GraphicManager will be changed a lot and most likely moved out, so the name grfmgr won't make any sense anymore. All the UNO implementations were renamed with a prefix Uno and used the same name as the class name. This is made to be more specific which are the Uno objects (for example graphic.cxx contained the implementation of XGraphic, which is similar to graph.cxx contains Graphic). Change-Id: I54a2fa6c7e997469aaa7770db05244adb9f64137 Reviewed-on: https://gerrit.libreoffice.org/51068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky1-1/+0
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-07-29add missing uui dependency for opencl testMarkus Mohrhard1-0/+1
Change-Id: I897e5ae6ed0fea89c1f1b9e30bd6cc6505318a17 Reviewed-on: https://gerrit.libreoffice.org/27692 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2016-06-09tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko1-4/+1
This patch changes occurences in makefiles from $(eval $(call gb_CppunitTest_use_api,comphelper_test_config, \ udkapi \ offapi \ )) to $(eval $(call gb_CppunitTest_use_sdk_api,comphelper_test_config)) (corrected instead of abandon, jani) Change-Id: Ic96ec65d82d7452e288f05a8b6d576ef543b068e Reviewed-on: https://gerrit.libreoffice.org/23426 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-04-12Move clew/clew.h into external, tooStephan Bergmann1-1/+1
For consistency with what 38cd1d9a5f00dc69ba0d60e2fe6957090c7a26d1 "clew: move this foreign code to external/clew" did for clew.c. Library_scfilt depends on clew/clew.h, simply make it depend on the full clew external. Change-Id: Idcbf56a69084e108832c8970507ebea0f7ff400b Reviewed-on: https://gerrit.libreoffice.org/24035 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-08sc: remove unnecessary orcus external usage from makefilesMichael Stahl1-2/+0
This caused incremental builds to fail after today's orcus upgrade. The cxx files of these tests don't actually include orcus headers, so the libraries were not re-linked in incremental builds. Change-Id: Ibfcf216a7848f3c0adfae4ef59c4b756c290d6b2
2015-02-27gbuild: gb_CppunitTest_use_filter_configuration was removedMichael Stahl1-2/+0
... years ago in commit e1b51e7beb7f9cfa7b574b9c2a69799e62963a09 Change-Id: I588370796830dc379f6a004ec7e673b020360eb5
2015-01-07glew depends on OpenCL, for tests tooDouglas Mencken1-1/+1
Change-Id: Ib591b4328589982cda762ce2b1a688345b1665b0 Reviewed-on: https://gerrit.libreoffice.org/13652 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-08Don't treat clew as part of an "external" clcc moduleTor Lillqvist1-1/+1
There is no obvious authoritative upstream for clew anyway, so it causes philosophical problems for distros. For a while, we used to use a zip archive from the "clcc" project on SourceForge that included clew.c and clew.h. (Before that we also just had clew.c and clew.h in our source repo.) So, drop the external/clcc module and have clew.c and clew.h in the source repo again. But this time clew is in a module of its own, not in sc. This re-introduces "No need to have OpenCL optional at configure-time" This reverts commit 764836cb00e8e6dfd2ab48e080a166ec90359e01. Change-Id: I413142f4f9f8399489f9c3e5327132822f07a454 Reviewed-on: https://gerrit.libreoffice.org/13368 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-12-08Revert "No need to have OpenCL optional at configure-time"David Tardon1-1/+1
As long as this requires bundling clcc, not allowing to disable it is unacceptable. This reverts commit 3b0b76462aa54f60bc9823d9c6ef64e5e35c1208. Conflicts: configure.ac Change-Id: I12b3d5e3325bbd03cd98e1fb5139705d694493c2
2014-11-27Work in progress: Move Calc-independend OpenCL configuration out of scTor Lillqvist1-0/+1
Intermediate commit. More changes will follow: The device selection logic needs to be moved, too. (And cleaned up.) Instead of the separate formulacalculationoptions dialog we should simply have a normal options page for those OpenCL-related settings that will remain purely Calc-specific, like the formula opcode subsetting. Change-Id: Id60d95e80d377cbbf5780beb473b221bce06b5e5
2014-11-25Move clew into a library of its ownTor Lillqvist1-7/+0
Change-Id: Ifb7e86b078bd549506a9cc1b9ce9fc22fffc5eec
2014-10-29Need -ldl on Linux nowTor Lillqvist1-0/+7
Change-Id: I3a207f86611a5078cd2de1437cd48e612232aaf2
2014-10-29Don't bother with a separate dynamically loaded scopencl libraryTor Lillqvist1-1/+0
Just link that code into the sc library. We use clew anyway to handle optoinal presence of OpenCL at run-time. This is a straightforward change for now. Could be cleaner; we could get rid of the fairly pointless wrappers in sc/source/core/opencl/formulagroupcl.cxx for instance. Change-Id: I23215c6516ef04698f6891e2a7fc6611dc83b37a
2014-06-26sort libraries and components in sc test makefilesMarkus Mohrhard1-5/+5
Change-Id: I38cda4e1ba520c9bb15f71b27543cb80fd696424
2014-06-04DeInitVCL at end of testsStephan Bergmann1-0/+1
This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-04-18Try making it possible to use --disable-avmedia for desktop platforms tooTor Lillqvist1-1/+0
Unfinished work in progress. Change-Id: I978755d73630b8653b169a53f937c1332799e22e
2013-12-31svx: Use constructor feature for SvXMLGraphicImportExportHelper.Matúš Kukan1-0/+1
Change-Id: Icc281ece80b81cdd95b6660c6a82077d283f5a62
2013-12-11fdo#60698: Merge fastsax and sax_shared into expwrapMarcos Paulo de Souza1-1/+0
Change-Id: I6f8c6827c00db50184a46f39968f882b944d18d4 Reviewed-on: https://gerrit.libreoffice.org/6967 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2013-12-01OCppunitTest_sc_opencl_test: only depend on scopencl if ENABLE_OPENCL.Andrzej J.R. Hunt1-1/+1
scopencl is only built when ENABLE_OPENCL is true, but the unit test should still run successfully using the fallback mechanism without scopencl (i.e. when --disable-opencl is used). Change-Id: I4b44148f1f59ad8b3d9c78c2fd0e1cbe2030db37
2013-11-14This test opens the scopencl library dynamically, sighTor Lillqvist1-0/+1
Change-Id: I34c512573fcee108ab9b27a631671587665aad22
2013-10-29Rebase to calc-group-interpreter-4I-Jui (Ray) Sung1-2/+0
Change-Id: I4d98e88c4fcdf8c6e5ecbf31bc181dd186a85c9b
2013-10-29Initial testcase for dynamic kernel compilerI-Jui (Ray) Sung1-0/+116
Test the jitting compiler with a simple vector formula like C1=A1+B1*2 This stresses: 1) vector operations add, mul and, 2) simple constant and vector operands.