diff --git a/.VERSION b/.VERSION new file mode 100644 index 00000000..d169b2f2 --- /dev/null +++ b/.VERSION @@ -0,0 +1 @@ +0.0.8 diff --git a/VERSION.in b/.VERSION.in similarity index 100% rename from VERSION.in rename to .VERSION.in diff --git a/CMakeLists.txt b/CMakeLists.txt index 56c06598..a6c93568 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -138,7 +138,7 @@ ENDIF(BUILD_TESTING) ##################### # config.h file stuff configure_file(${CMAKE_SOURCE_DIR}/config.h.in ${CMAKE_BINARY_DIR}/HPCombi-config.h) -configure_file(${CMAKE_SOURCE_DIR}/VERSION.in ${CMAKE_BINARY_DIR}/VERSION) +configure_file(${CMAKE_SOURCE_DIR}/.VERSION.in ${CMAKE_BINARY_DIR}/.VERSION) set(AUTOGENERATED_WARNING "WARNING: THIS IS A CMAKE AUTO-GENERATED FILE.") @@ -151,7 +151,7 @@ foreach(f ${install_misc}) DESTINATION share/${CMAKE_PROJECT_NAME}) endforeach(f) -install (FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION ".") +install (FILES ${CMAKE_CURRENT_BINARY_DIR}/.VERSION DESTINATION ".") install (FILES ${CMAKE_CURRENT_BINARY_DIR}/HPCombi-config.h DESTINATION include/${CMAKE_PROJECT_NAME}) diff --git a/README.md b/README.md index 276a47ff..8829eb79 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # HPCombi ![build status](https://api.travis-ci.org/hivert/HPCombi.svg?branch=master) -High Performance Combinatorics in C++ using vector instructions v0.0.6 +High Performance Combinatorics in C++ using vector instructions v0.0.8 SSE and AVX instruction sets allows for very fast manipulation of combinatorial objects such as transformations, permutations, boolean matrices diff --git a/VERSION b/VERSION deleted file mode 100644 index 1750564f..00000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.0.6 diff --git a/etc/check-list-intrin.sh b/etc/check-list-intrin.sh new file mode 100755 index 00000000..8ff7d6cd --- /dev/null +++ b/etc/check-list-intrin.sh @@ -0,0 +1,33 @@ +#!/bin/bash +set -e + +bold() { + printf "\033[1m%s\033[0m\n" "$*" +} + +if [[ $# -ne 0 ]]; then + bold "error expected no arguments, got $#!" + exit 1 +fi + +echo "Checking intrinsics used in code base versus declared in 'list_intrin.txt' . . ." + +grep -oh -e "_mm\w*\b" include/*.* | sort | uniq > intrin_actuals.txt + +python3 - <