From 51a1a6c93b5a3771a2202febe216be78ed5841f9 Mon Sep 17 00:00:00 2001 From: Steven Weaver Date: Thu, 6 Jun 2019 15:55:44 -0400 Subject: [PATCH 1/3] remove docs build from all target --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b0b8fc19..1964ad50a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -290,7 +290,7 @@ if(NOT NODE) message("Node not installed; API documentation will not be generated") else(NOT NODE) add_custom_target( - docs ALL + docs rm -rf ./docs && npm install -g documentation@4 && documentation build --polyglot -f md ./res/TemplateBatchFiles/libv3/**/*.bf -o ./docs.md ) endif(NOT NODE) From 1e92818519b9de70bd908addd96312aeb732c063 Mon Sep 17 00:00:00 2001 From: Steven Weaver Date: Thu, 22 Aug 2019 13:10:56 -0400 Subject: [PATCH 2/3] clang noavx fix --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) From 81c444359fac7e4b0c849fd18e111b88e45915da Mon Sep 17 00:00:00 2001 From: Steven Weaver Date: Thu, 22 Aug 2019 13:13:58 -0400 Subject: [PATCH 3/3] version bump --- src/core/global_things.cpp | 2 +- src/core/strings.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;