leskin-in opened a new pull request #478: Build: Check -mno-sse2 is available for GNU CXX URL: https://github.com/apache/madlib/pull/478 **Jira**: [MADLIB-1410](https://issues.apache.org/jira/browse/MADLIB-1410) Implement a check that `-mno-sse2` option is available for the chosen GNU CXX compiler. This [is a platform-specific option](https://gcc.gnu.org/onlinedocs/gcc-4.8.5/gcc/i386-and-x86-64-Options.html) and should not be set on machines with architectures that do not support it. This requires a new CMake module `CheckCXXCompilerFlag`. It [is available in CMake 2.8.4](https://cmake.org/cmake/help/v2.8.4/cmake.html), which is the lowest currently supported CMake version. An extra CMake variable, `SSE_DISABLE_OPTIONS`, is introduced to hold options required for GNU CXX compilers that support SSE-specific options. ### Notes The implemented mechanism is just one of multiple possible implementations. For example, one could check the target system architecture instead of using `CHECK_CXX_COMPILER_FLAG`. In addition, CMake itself has several implementation options, with the same result.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
