# HG changeset patch # User Matt Plumtree # Date 1289230771 0 # Node ID 11fc086941ac6c0fabbcafd0055c1788c184486b # Parent fd0a704154b98eba1e18fb307a4d5ccbed7e086a Add host build extension component to package. Avoid using SSE2 with GCC builds for the moment - possibly broken on 3.4.5 diff -r fd0a704154b9 -r 11fc086941ac bug235.pkgdef.xml --- 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 @@ + + + diff -r fd0a704154b9 -r 11fc086941ac hostsupport/hostopenvg/CMakeLists.txt --- 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 diff -r fd0a704154b9 -r 11fc086941ac hostsupport/hostopenvg/src/riRasterizer.h --- 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.