summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_opencl_test.mk
diff options
context:
space:
mode:
authorI-Jui (Ray) Sung <ray@multicorewareinc.com>2013-09-30 15:32:34 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-10-29 16:59:43 -0400
commitea661f9192527bf1b2f6b3f93ce2c384767b55da (patch)
treeb59ef6ba93edeae1d7d223016ff8379c98869a2e /sc/CppunitTest_sc_opencl_test.mk
parent3ad44c41234aaa29af8d900f9dc4dc4e131d1453 (diff)
Initial testcase for dynamic kernel compiler
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.
Diffstat (limited to 'sc/CppunitTest_sc_opencl_test.mk')
-rw-r--r--sc/CppunitTest_sc_opencl_test.mk116
1 files changed, 116 insertions, 0 deletions
diff --git a/sc/CppunitTest_sc_opencl_test.mk b/sc/CppunitTest_sc_opencl_test.mk
new file mode 100644
index 000000000000..8b11a528e327
--- /dev/null
+++ b/sc/CppunitTest_sc_opencl_test.mk
@@ -0,0 +1,116 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,sc_opencl_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sc_opencl_test, \
+ sc/qa/unit/opencl-test \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,sc_opencl_test, \
+ boost_headers \
+ mdds_headers \
+ orcus \
+ orcus-parser \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sc_opencl_test, \
+ avmedia \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ fileacc \
+ for \
+ forui \
+ i18nlangtag \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sc \
+ scqahelper \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ test \
+ tl \
+ tk \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,sc_opencl_test,\
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/source/core/inc \
+ -I$(SRCDIR)/sc/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sc_opencl_test,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sc_opencl_test))
+
+$(eval $(call gb_CppunitTest_use_components,sc_opencl_test,\
+ basic/util/sb \
+ chart2/source/controller/chartcontroller \
+ chart2/source/chartcore \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ dbaccess/util/dba \
+ embeddedobj/util/embobj \
+ eventattacher/source/evtatt \
+ fileaccess/source/fileacc \
+ filter/source/config/cache/filterconfig1 \
+ forms/util/frm \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ linguistic/source/lng \
+ oox/util/oox \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sax/source/expatwrap/expwrap \
+ sax/source/fastparser/fastsax \
+ sc/util/sc \
+ sc/util/scfilt \
+ scaddins/source/analysis/analysis \
+ scaddins/source/datefunc/date \
+ sfx2/util/sfx \
+ sot/util/sot \
+ svl/util/svl \
+ svx/util/svx \
+ svtools/util/svt \
+ toolkit/util/tk \
+ ucb/source/core/ucb1 \
+ ucb/source/ucp/file/ucpfile1 \
+ ucb/source/ucp/tdoc/ucptdoc1 \
+ unotools/util/utl \
+ unoxml/source/rdf/unordf \
+ unoxml/source/service/unoxml \
+ xmloff/util/xo \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sc_opencl_test))
+
+$(eval $(call gb_CppunitTest_use_filter_configuration,sc_opencl_test))
+
+# vim: set noet sw=4 ts=4: