File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
8
8
### Changed
9
9
- Improved install scripts
10
10
- Refactored tests
11
+ - Added re2c check to install script
11
12
12
13
### Fixed
13
14
- Fixed ` mod-assign ` operator recognition
Original file line number Diff line number Diff line change @@ -37,6 +37,17 @@ if [ x"$GCC_BIN" = x ]; then
37
37
exit 1
38
38
fi
39
39
40
+ re2c_vernum=` re2c --vernum 2> /dev/null`
41
+ if test -z " $re2c_vernum " ; then
42
+ echo " error: unable to locate the re2c"
43
+ exit 1
44
+ fi
45
+
46
+ if test " $re2c_vernum " -lt " 1306" ; then
47
+ echo " error: minimal required version of re2c is 0.13.6"
48
+ exit 1
49
+ fi
50
+
40
51
# Check best compilation flags for compiler
41
52
export CC=gcc
42
53
export CFLAGS=" -march=native -mtune=native -O2 -fomit-frame-pointer"
You can’t perform that action at this time.
0 commit comments