Add host build extension component to package. bug235_bringup_0
authorMatt Plumtree <matt.plumtree@nokia.com>
Mon, 08 Nov 2010 15:39:31 +0000
branchbug235_bringup_0
changeset 73 11fc086941ac
parent 72 fd0a704154b9
child 74 4ba73111e824
Add host build extension component to package. Avoid using SSE2 with GCC builds for the moment - possibly broken on 3.4.5
bug235.pkgdef.xml
hostsupport/hostopenvg/CMakeLists.txt
hostsupport/hostopenvg/src/riRasterizer.h
--- a/bug235.pkgdef.xml	Tue Nov 02 09:46:02 2010 +0000
+++ b/bug235.pkgdef.xml	Mon Nov 08 15:39:31 2010 +0000
@@ -106,6 +106,9 @@
 </component>
 </collection>
 <collection name="hostsupport" long-name="Graphics Host Support" level="host">
+<component name="hostbuild" long-name="Host Build Support" introduced="^4" class="PC">
+<unit bldFile="hostsupport/hostbuild/group"/>
+</component>
 <component name="hostegl" long-name="Host EGL" introduced="^4" class="PC">
 <unit bldFile="hostsupport/hostegl/group"/>
 </component>
--- a/hostsupport/hostopenvg/CMakeLists.txt	Tue Nov 02 09:46:02 2010 +0000
+++ b/hostsupport/hostopenvg/CMakeLists.txt	Mon Nov 08 15:39:31 2010 +0000
@@ -135,7 +135,7 @@
 # RI_COMPILE_LLVM_BYTECODE;WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBOPENVG_EXPORTS;OPENVG_DLL_EXPORTS;__STDC_LIMIT_MACROS;__STDC_CONSTANT_MACROS;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;CRT_NONSTDC_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE
 
 # \note This compiles the full version (nothing is generated)
-add_definitions(-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DRI_COMPILE_LLVM_BYTECODE)
+add_definitions(-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DRI_COMPILE_LLVM_BYTECODE -DUSE_SSE2)
 
 # LLVM bitcode files. \todo Create a macro to add these (LLVMTarget has some
 # code that needs expansion, especially on the dependencies, which aren't
--- a/hostsupport/hostopenvg/src/riRasterizer.h	Tue Nov 02 09:46:02 2010 +0000
+++ b/hostsupport/hostopenvg/src/riRasterizer.h	Mon Nov 08 15:39:31 2010 +0000
@@ -55,7 +55,6 @@
 // \todo SSE2 probably has everything necessary and matches the minimum platform requirements.
 // SSE4 is probably too new. SSE3?
 // \note This will cause the code to not compile on MSVC...
-#define USE_SSE2
 
 #if defined(USE_SSE2)
 // \todo only the last include is needed: QT creator does not find types if others not included.