255 Commits

Author SHA1 Message Date
Konstantinos Margaritis
44b893abfc
Merge pull request #200 from VectorCamp/bugfix/install-static-libs
fix missing installation of static libs
2023-11-21 11:46:29 +02:00
Konstantinos Margaritis
d611fcbaa8 fix missing installation of static libs 2023-11-20 22:39:12 +02:00
Matthias Gliwka
343e523763 fix missing hs_version.h header (closes #198) 2023-11-20 21:52:42 +02:00
Konstantinos Margaritis
aecd920b57 if none are set build static 2023-11-19 19:18:23 +02:00
Konstantinos Margaritis
b1522860d5 bump version 2023-11-19 10:24:32 +02:00
Konstantinos Margaritis
9d0599a85e
Merge pull request #189 from mlmitch/develop
Correct set_source_files_properties usage
2023-11-01 11:35:36 +02:00
Mitchell Wasson
9c139c3a6d Correct set_source_files_properties usage
The use of `CMAKE_BINARY_DIR` and `CMAKE_CURRENT_BINARY_DIR` when
specifying files to set_source_files_properties caused problems
when this project is used from another CMake project.

More specifically, these variables aren't set to the expected path,
and the properties are attempted to be set for non-existant files.

This was benign before vectorscan 5.4.8 as the only properties
set were warning suppression flags.

Starting with 5.4.9, `-funsigned-char` was applied to Ragel outputs
using this method. The result is projects depending on Vectorscan
through Cmake do not have this compile flag properly applied.
2023-10-31 09:35:50 -06:00
Konstantinos Margaritis
71bbf97b90 make pkgconfig a requirement 2023-10-31 10:38:07 +00:00
Konstantinos Margaritis
7909b91ba4 remove vermicelli_simd.cpp to fix redefinition build failure on SVE2 builds 2023-10-09 20:01:26 +08:00
Konstantinos Margaritis
1619dbaf35 remove unneeded option 2023-10-09 10:26:08 +00:00
Konstantinos Margaritis
4d539f2c87 fix cmake refactor for arm builds 2023-10-09 10:03:53 +00:00
Konstantinos Margaritis
6beeb372bc increase cmake_minimum_version, basically the one in Debian 11 2023-10-09 00:22:31 +03:00
Konstantinos Margaritis
24ae1670d6 WIP: Refactor CMake build system to more modular 2023-10-08 23:27:24 +03:00
Konstantinos Margaritis
0e403103d6 SVE2 needs armv9-a, fix build 2023-10-08 00:00:42 +08:00
Konstantinos Margaritis
9e1c43b9ec add src/nfa/vermicelli_simd.cpp to ppc64le 2023-10-07 18:02:00 +03:00
Konstantinos Margaritis
983a3a52bd include extra sources for Arm on non-fat builds 2023-10-07 22:27:26 +08:00
Konstantinos Margaritis
6900806127 add cpuid_flags to ppc64le as well 2023-10-07 12:07:06 +03:00
Konstantinos Margaritis
e8e2957344 re-add missing file to x86 builds 2023-10-07 11:45:10 +03:00
Konstantinos Margaritis
7a2ccd7773 fix fat & normal build errors on arm 2023-10-07 06:17:18 +08:00
Konstantinos Margaritis
55cae8c807 detect arm_sve.h when using clang on fat runtime builds 2023-10-06 20:46:24 +08:00
Konstantinos Margaritis
9aa61440ea Reduce unit test runtimes dramatically for debug builds 2023-10-04 19:21:30 +03:00
Konstantinos Margaritis
db7b23a468 move definition of RAGEL_C_FLAGS earlier to catch tools/hscollider 2023-10-03 21:01:35 +03:00
Konstantinos Margaritis
68346631c7 bump version, add Vectorscan Changelog 2023-09-07 17:51:07 +03:00
Hong, Yang A
941cc7144b Silence clang-14 warnings 2023-09-05 13:50:45 +03:00
Hong, Yang A
fc5a423c7e Fix cmake CMP0115 warning for CMake 3.20 and above 2023-09-05 13:50:30 +03:00
Hong, Yang A
7c1835c0e7 stringop-overflow compatible fix 2023-09-05 13:48:12 +03:00
Hong, Yang A
762f4050a0 gcc-10(and above): fix compile issue caused by stringop-overflow 2023-09-05 13:47:59 +03:00
Konstantinos Margaritis
0ec7b4e77b fix SVE flags detection order #145 2023-08-23 10:21:02 +00:00
Konstantinos Margaritis
68db36f4c4 initial attempt for fat binary on Aarch64 2023-08-23 09:42:00 +00:00
Konstantinos Margaritis
eef3f06c94 Bump version 2023-03-23 08:29:20 +00:00
Konstantinos Margaritis
101f6083b0 add -funsigned-char to RAGEL_C_FLAGS, move util build after that 2023-03-22 11:36:06 +02:00
Konstantinos Margaritis
9f8758d270 Force -funsigned-char to RAGEL_C_FLAGS 2023-03-22 08:49:19 +00:00
Konstantinos Margaritis
00d1807bb4
Merge pull request #125 from abondarev84/master
cmake change for correct placement of autodetected tune & arch flags of GCC and SVE enablement on AARCH64
2022-09-19 12:44:14 +03:00
Alex Bondarev
7133ac5be1 clang SVE build fix 2022-09-18 19:42:45 +03:00
Alex Bondarev
90ac746303 SVE enabled on user input. updated README
tune and arch flags will be applied from autodetect only if they have been created by the process, otherwise the old logical flow remains wrt the flags
2022-09-18 12:04:05 +03:00
Konstantinos Margaritis
911a98d54f clang 13+ gives wrong -Wunused-but-set-variable error on nfa/mcclellancompile.cpp about total_daddy variable, disabling 2022-09-16 14:04:59 +03:00
Alex Bondarev
4ab0730dbe additional mcpu flag cleanup 2022-09-16 00:03:08 +03:00
Alex Bondarev
d0a017da99 removed cpu reference flags and fixed tune flag 2022-09-15 18:38:01 +03:00
Alex Bondarev
ee0c8f763f fix to correctly place the autodetected flags and to activate SVE options 2022-09-13 18:21:10 +03:00
Konstantinos Margaritis
f6250ae3e5 bump version 2022-09-13 12:57:08 +00:00
Jan Henning
85a77e3eff Bump scripts to python3 2022-05-19 16:25:08 +02:00
Jan Henning
0a35a467e0 Use non-deprecated method of finding python 2022-05-19 10:20:17 +02:00
Konstantinos Margaritis
fc5059aa10
Update CMakeLists.txt 2022-05-05 12:14:53 +03:00
Konstantinos Margaritis
edea9d12b1
Merge pull request #94 from a16bitsysop/fat_runtime
change FAT_RUNTIME to a normal option so it can be set to off
2022-04-18 11:08:29 +03:00
Duncan Bellamy
b34aacdb94 move to original position 2022-02-22 19:21:18 +00:00
Duncan Bellamy
d626381ad0 change FAT_RUNTIME to a normal option so it can be set to off
fixes #89
2022-02-20 13:16:58 +00:00
Danila Kutenin
b3e88e480f Add sanitize options 2022-02-18 18:35:26 +00:00
Konstantinos Margaritis
f304c3e7e1 defer setting arch/tune flags for FAT_RUNTIME 2022-01-18 20:34:45 +02:00
Konstantinos Margaritis
8c71238d60 Initial attempt at debian packaging, modified hyperscan packaging 2021-12-22 13:13:12 +02:00
Konstantinos Margaritis
deeb113977 lower gcc minver to 9 to enable building on Ubuntu 20 LTS 2021-12-06 21:35:37 +00:00