Skip to content

Commit 3846007

Browse files
authored
Merge pull request #18 from james-d-mitchell/master
Update version number to 0.0.8 and rename `VERSION`
2 parents c52af7b + 4847454 commit 3846007

File tree

15 files changed

+44
-11
lines changed

15 files changed

+44
-11
lines changed

.VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.0.8
File renamed without changes.

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ ENDIF(BUILD_TESTING)
138138
#####################
139139
# config.h file stuff
140140
configure_file(${CMAKE_SOURCE_DIR}/config.h.in ${CMAKE_BINARY_DIR}/HPCombi-config.h)
141-
configure_file(${CMAKE_SOURCE_DIR}/VERSION.in ${CMAKE_BINARY_DIR}/VERSION)
141+
configure_file(${CMAKE_SOURCE_DIR}/.VERSION.in ${CMAKE_BINARY_DIR}/.VERSION)
142142

143143
set(AUTOGENERATED_WARNING "WARNING: THIS IS A CMAKE AUTO-GENERATED FILE.")
144144

@@ -151,7 +151,7 @@ foreach(f ${install_misc})
151151
DESTINATION share/${CMAKE_PROJECT_NAME})
152152
endforeach(f)
153153

154-
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION ".")
154+
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/.VERSION DESTINATION ".")
155155

156156
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/HPCombi-config.h
157157
DESTINATION include/${CMAKE_PROJECT_NAME})

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# HPCombi ![build status](https://api.travis-ci.org/hivert/HPCombi.svg?branch=master)
2-
High Performance Combinatorics in C++ using vector instructions v0.0.6
2+
High Performance Combinatorics in C++ using vector instructions v0.0.8
33

44
SSE and AVX instruction sets allows for very fast manipulation of
55
combinatorial objects such as transformations, permutations, boolean matrices

VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

etc/check-list-intrin.sh

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/bin/bash
2+
set -e
3+
4+
bold() {
5+
printf "\033[1m%s\033[0m\n" "$*"
6+
}
7+
8+
if [[ $# -ne 0 ]]; then
9+
bold "error expected no arguments, got $#!"
10+
exit 1
11+
fi
12+
13+
echo "Checking intrinsics used in code base versus declared in 'list_intrin.txt' . . ."
14+
15+
grep -oh -e "_mm\w*\b" include/*.* | sort | uniq > intrin_actuals.txt
16+
17+
python3 - <<END
18+
import sys
19+
with open('intrin_actuals.txt', 'r') as f:
20+
intrin_actuals = [x.strip() for x in f.readlines()]
21+
with open('list_intrin.txt', 'r') as f:
22+
list_intrin = [x.strip()[:x.find(';')] for x in f.readlines() if not x.startswith('#')]
23+
24+
for intrin_actual in intrin_actuals:
25+
if not intrin_actual in list_intrin:
26+
print(f"\033[41m{('\`' + intrin_actual + '\`').ljust(16, ' ')} found in \`include/*.hpp\` but not in \`list_intrin.txt\`!\033[0m")
27+
28+
for intrin in list_intrin:
29+
if not intrin in intrin_actuals:
30+
print(f"\033[41m{('\`' + intrin + '\`').ljust(16, ' ')} found in \`list_intrin.txt\` but not in \`include/*.hpp\`!\033[0m")
31+
END
32+
33+
rm -f intrin_actuals.txt

experiments/Perm32/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# HPCombi Experimental files
2+
3+
These files contains experiments to be later incorporated into the sources.

0 commit comments

Comments
 (0)