You guys are right. The -msse and -msse2 are missing in 1892 and are there in 1889. How do I add flags to cmake_cxx_flags ? I can't see that option in ccmake. -Harsha
On Dec 2 2007, Solomon Boulos wrote:
Actually, this is a long standing problem for our linux configs. Most linux distros have gcc versions that enable -msse -msse2 and - msse3 by default. Ubuntu is more sane and doesn't do this. Rolling back to 1889 won't fix the problem, so as Abe suggested add -msse - msse2 and -msse3 to your CMAKE_CXX_FLAGS for now<error.txt>
On Dec 2, 2007, at 12:35 PM, Abe Stephens wrote:
On Dec 2, 2007, at 6:29 AM, H.Sri-Narayana@cs.ucl.ac.uk wrote:
If I try and compile r1891 I am told the 'SSE instruction set is not enabled.' The full error log is attached. I disabled GCC_SSE and SSE from the ccmake options and build/bin/manta runs ok, although I get a big performance hit. However if I compile r1889 then I can have the SSE flags on.
It looks like there were some major changes to the SSE logic for supporting non-unix systems which don't have the same set of common tools.
Try running "make VERBOSE=1": you should see the SSE command line options when MANTA_SSE is enabled:
[ 1%] Building CXX object CMakeFiles/About.dir/src/About.o
/usr/bin/c++ -Wall -Wno-strict-aliasing -DSCI_NOPERSISTENT - march=nocona -mtune=nocona -msse -msse2 -msse3 -mfpmath=sse - O3 - DNDEBUG -g3 -fgcse-sm -funroll-loops -fstrict-aliasing - fsched- interblock -ffast-math -freorder-blocks -I/Users/abe/ Manta -I/Users/ abe/Manta/build-leopard/include -I/usr/X11R6/ include -fPIC -o CMakeFiles/About.dir/src/About.o -c /Users/ abe/Manta/build-leopard/ src/About.cc
If they aren't there, you can add them to CMAKE_CXX_FLAGS manually. Alternatively roll back to 1889.
(Subquestion: How do I easily diff 2 svn versions from terminal? Should I checkout each version separately and then use diff? Or is there some nice in built svn way?)
Try: svn diff -r 1889:HEAD CMake/CheckSSE.cmake from the trunk's root directory.
Abe
Archive powered by MHonArc 2.6.16.