diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-12-08 09:29:28 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-12-08 09:07:27 +0000 |
commit | bf6544c0ab0625e5ce5918f6d861763d4fa87aba (patch) | |
tree | 36ab0c865a41eee381cf165c7bff0b2d09136375 /sc | |
parent | 4517c94000153eab6c034ea548698953dd93f794 (diff) |
Don't treat clew as part of an "external" clcc module
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>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/CppunitTest_sc_opencl_test.mk | 2 | ||||
-rw-r--r-- | sc/CppunitTest_sc_ucalc.mk | 3 | ||||
-rw-r--r-- | sc/Library_sc.mk | 3 | ||||
-rw-r--r-- | sc/Library_scui.mk | 3 | ||||
-rw-r--r-- | sc/Module_sc.mk | 2 | ||||
-rw-r--r-- | sc/source/core/opencl/opbase.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/optdlg/calcoptionsdlg.hxx | 2 | ||||
-rw-r--r-- | sc/workben/opencl/platform_detect.cxx | 2 |
8 files changed, 10 insertions, 9 deletions
diff --git a/sc/CppunitTest_sc_opencl_test.mk b/sc/CppunitTest_sc_opencl_test.mk index 76061ad8c0ef..18804af8a1a0 100644 --- a/sc/CppunitTest_sc_opencl_test.mk +++ b/sc/CppunitTest_sc_opencl_test.mk @@ -15,7 +15,6 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sc_opencl_test, \ $(eval $(call gb_CppunitTest_use_externals,sc_opencl_test, \ boost_headers \ - $(call gb_Helper_optional,OPENCL,clew) \ mdds_headers \ orcus \ orcus-parser \ @@ -23,6 +22,7 @@ $(eval $(call gb_CppunitTest_use_externals,sc_opencl_test, \ $(eval $(call gb_CppunitTest_use_libraries,sc_opencl_test, \ basegfx \ + clew \ comphelper \ cppu \ cppuhelper \ diff --git a/sc/CppunitTest_sc_ucalc.mk b/sc/CppunitTest_sc_ucalc.mk index 9d07b3e5c704..7fd90f8bb953 100644 --- a/sc/CppunitTest_sc_ucalc.mk +++ b/sc/CppunitTest_sc_ucalc.mk @@ -31,7 +31,6 @@ endif $(eval $(call gb_CppunitTest_use_externals,sc_ucalc,\ boost_headers \ - $(call gb_Helper_optional,OPENCL,clew) \ icu_headers \ icui18n \ icuuc \ @@ -44,6 +43,8 @@ $(eval $(call gb_CppunitTest_use_externals,sc_ucalc,\ $(eval $(call gb_CppunitTest_use_libraries,sc_ucalc, \ $(call gb_Helper_optional,AVMEDIA,avmedia) \ basegfx \ + $(call gb_Helper_optional,OPENCL, \ + clew) \ comphelper \ cppu \ cppuhelper \ diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk index 7860a6e190b0..bddec8e04ba6 100644 --- a/sc/Library_sc.mk +++ b/sc/Library_sc.mk @@ -37,7 +37,6 @@ $(eval $(call gb_Library_use_sdk_api,sc)) $(eval $(call gb_Library_use_externals,sc,\ boost_headers \ - $(call gb_Helper_optional,OPENCL,clew) \ icu_headers \ icui18n \ icuuc \ @@ -63,6 +62,8 @@ endif $(eval $(call gb_Library_use_libraries,sc,\ $(call gb_Helper_optional,AVMEDIA,avmedia) \ basegfx \ + $(call gb_Helper_optional,OPENCL, \ + clew) \ comphelper \ cppu \ cppuhelper \ diff --git a/sc/Library_scui.mk b/sc/Library_scui.mk index 781b2e9b9e32..75d6966d64b6 100644 --- a/sc/Library_scui.mk +++ b/sc/Library_scui.mk @@ -24,11 +24,12 @@ $(eval $(call gb_Library_use_sdk_api,scui)) $(eval $(call gb_Library_use_externals,scui,\ boost_headers \ - $(call gb_Helper_optional,OPENCL,clew) \ mdds_headers \ )) $(eval $(call gb_Library_use_libraries,scui,\ + $(call gb_Helper_optional,OPENCL, \ + clew) \ comphelper \ cppu \ cppuhelper \ diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk index 3bf84cde51ae..9385dc5138bc 100644 --- a/sc/Module_sc.mk +++ b/sc/Module_sc.mk @@ -54,7 +54,7 @@ $(eval $(call gb_Module_add_slowcheck_targets,sc, \ CppunitTest_sc_subsequent_filters_test \ CppunitTest_sc_subsequent_export_test \ CppunitTest_sc_html_export_test \ - $(call gb_Helper_optional,OPENCL,CppunitTest_sc_opencl_test) \ + CppunitTest_sc_opencl_test \ )) # Disabled to allow the check tinderbox execute the sd tests diff --git a/sc/source/core/opencl/opbase.hxx b/sc/source/core/opencl/opbase.hxx index 9cc6c6667b98..c1e47b8e992e 100644 --- a/sc/source/core/opencl/opbase.hxx +++ b/sc/source/core/opencl/opbase.hxx @@ -12,7 +12,7 @@ #include <sal/log.hxx> -#include <clew.h> +#include <clew/clew.h> #include <formula/token.hxx> #include <formula/vectortoken.hxx> diff --git a/sc/source/ui/optdlg/calcoptionsdlg.hxx b/sc/source/ui/optdlg/calcoptionsdlg.hxx index b56b4c1d827b..c7bfe4dbda29 100644 --- a/sc/source/ui/optdlg/calcoptionsdlg.hxx +++ b/sc/source/ui/optdlg/calcoptionsdlg.hxx @@ -64,10 +64,8 @@ private: OUString toString(sal_Int32 nVal) const; SvTreeListEntry *createItem(const OUString &rCaption, const OUString& sValue) const; void setValueAt(size_t nPos, const OUString &rString); -#if HAVE_FEATURE_OPENCL OpenCLConfig::ImplMatcherSet& CurrentWhiteOrBlackList(); const OpenCLConfig::ImplMatcher& CurrentWhiteOrBlackListEntry(); -#endif private: SvxCheckListBox* mpLbSettings; diff --git a/sc/workben/opencl/platform_detect.cxx b/sc/workben/opencl/platform_detect.cxx index ef4558818d24..5fb2544c54cc 100644 --- a/sc/workben/opencl/platform_detect.cxx +++ b/sc/workben/opencl/platform_detect.cxx @@ -3,7 +3,7 @@ #include <vector> #include <string> -#include "clew.h" +#include <clew/clew.h> using namespace std; |