diff --git a/CMakeLists.txt b/CMakeLists.txt index 1964ad50a..a262ccba8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,7 +189,8 @@ endif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") set(DEFAULT_COMPILE_FLAGS "-fsigned-char -O3") PCL_CHECK_FOR_AVX() - if(${HAVE_AVX_EXTENSIONS}) + + if(${HAVE_AVX_EXTENSIONS} AND NOT ${NOAVX}) set(DEFAULT_COMPILE_FLAGS "${DEFAULT_COMPILE_FLAGS} -march=native -mtune=native -mavx") add_definitions (-D_SLKP_USE_AVX_INTRINSICS) PCL_CHECK_FOR_FMA3() @@ -197,7 +198,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") set(DEFAULT_COMPILE_FLAGS "${DEFAULT_COMPILE_FLAGS} -mfma") add_definitions (-D_SLKP_USE_FMA3_INTRINSICS) endif (${HAVE_FMA3}) - else(${HAVE_AVX_EXTENSIONS}) + else(${HAVE_AVX_EXTENSIONS} AND NOT ${NOAVX}) PCL_CHECK_FOR_SSE3() if(${HAVE_SSE3_EXTENSIONS}) add_definitions (-D_SLKP_USE_SSE_INTRINSICS) diff --git a/src/core/global_things.cpp b/src/core/global_things.cpp index e6a6fb96a..1e8d0b70b 100644 --- a/src/core/global_things.cpp +++ b/src/core/global_things.cpp @@ -119,7 +119,7 @@ namespace hy_global { kErrorStringDatasetRefIndexError ("Dataset index reference out of range"), kErrorStringMatrixExportError ("Export matrix called with a non-polynomial matrix argument"), kErrorStringNullOperand ("Attempting to operate on an undefined value; this is probably the result of an earlier 'soft' error condition"), - kHyPhyVersion = _String ("2.5.0"), + kHyPhyVersion = _String ("2.5.1"), kNoneToken = "None", kNullToken = "null", diff --git a/src/core/strings.cpp b/src/core/strings.cpp index 0718318fe..a54a62dc4 100644 --- a/src/core/strings.cpp +++ b/src/core/strings.cpp @@ -52,7 +52,7 @@ _String compileDate = __DATE__, - __HYPHY__VERSION__ = _String ("2.5.0"); + __HYPHY__VERSION__ = _String ("2.5.1"); using namespace hy_global;