Commit Graph

262 Commits

Author SHA1 Message Date
Konstantinos Margaritis
50d92448f5 Enable Fat runtime on x86 by default to help migration from hyperscan 2024-01-10 18:25:31 +02:00
Konstantinos Margaritis
a041a3aa51 use ccache if available 2023-12-21 12:59:56 +00:00
Konstantinos Margaritis
a40f355697 Merge pull request #203 from VectorCamp/feature/enable-simde-backend
Feature/enable simde backend
2023-11-29 11:22:08 +02:00
Konstantinos Margaritis
ebd20939cd separate ARCH_FLAG logic 2023-11-28 17:28:48 +02:00
Konstantinos Margaritis
bd1b76171b add missing else 2023-11-28 14:09:26 +02:00
Konstantinos Margaritis
1fb601f3a9 fix SIMDe emulation builds on Arm, add native translation from x86 for comparison 2023-11-27 12:21:58 +00:00
Konstantinos Margaritis
0732bc3e01 Add SIMDe backend to CMake 2023-11-21 17:06:22 +00:00
Konstantinos Margaritis
893a58032f 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
486afee166 fix missing installation of static libs 2023-11-20 22:39:12 +02:00
Matthias Gliwka
835c004650 fix missing hs_version.h header (closes #198) 2023-11-20 21:52:42 +02:00
Konstantinos Margaritis
2a902a77e4 if none are set build static 2023-11-19 19:18:23 +02:00
Konstantinos Margaritis
51a6009c54 bump version 2023-11-19 10:24:32 +02:00
Konstantinos Margaritis
77aaee91d6 Merge pull request #189 from mlmitch/develop
Correct set_source_files_properties usage
2023-11-01 11:35:36 +02:00
Mitchell Wasson
cea75acb20 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
5ffcfbe3a3 make pkgconfig a requirement 2023-10-31 10:38:07 +00:00
Konstantinos Margaritis
1517997d37 remove vermicelli_simd.cpp to fix redefinition build failure on SVE2 builds 2023-10-09 20:01:26 +08:00
Konstantinos Margaritis
0fc9364056 remove unneeded option 2023-10-09 10:26:08 +00:00
Konstantinos Margaritis
3f9c05d57f fix cmake refactor for arm builds 2023-10-09 10:03:53 +00:00
Konstantinos Margaritis
601247a0e9 increase cmake_minimum_version, basically the one in Debian 11 2023-10-09 00:22:31 +03:00
Konstantinos Margaritis
7dbcab34c2 WIP: Refactor CMake build system to more modular 2023-10-08 23:27:24 +03:00
Konstantinos Margaritis
f4e91b8226 SVE2 needs armv9-a, fix build 2023-10-08 00:00:42 +08:00
Konstantinos Margaritis
044b88ee7f add src/nfa/vermicelli_simd.cpp to ppc64le 2023-10-07 18:02:00 +03:00
Konstantinos Margaritis
2e7f49d24a include extra sources for Arm on non-fat builds 2023-10-07 22:27:26 +08:00
Konstantinos Margaritis
30fefa517b add cpuid_flags to ppc64le as well 2023-10-07 12:07:06 +03:00
Konstantinos Margaritis
d58cebdd37 re-add missing file to x86 builds 2023-10-07 11:45:10 +03:00
Konstantinos Margaritis
da76b40268 fix fat & normal build errors on arm 2023-10-07 06:17:18 +08:00
Konstantinos Margaritis
c73c7ff172 detect arm_sve.h when using clang on fat runtime builds 2023-10-06 20:46:24 +08:00
Konstantinos Margaritis
71374eea1d Reduce unit test runtimes dramatically for debug builds 2023-10-04 19:21:30 +03:00
Konstantinos Margaritis
2ca841e9a5 move definition of RAGEL_C_FLAGS earlier to catch tools/hscollider 2023-10-03 21:01:35 +03:00
Konstantinos Margaritis
d7b11ddcf2 bump version, add Vectorscan Changelog 2023-09-07 17:51:07 +03:00
Hong, Yang A
d01c77acbe Silence clang-14 warnings 2023-09-05 13:50:45 +03:00
Hong, Yang A
732a3b9592 Fix cmake CMP0115 warning for CMake 3.20 and above 2023-09-05 13:50:30 +03:00
Hong, Yang A
95c977a50d stringop-overflow compatible fix 2023-09-05 13:48:12 +03:00
Hong, Yang A
2c0c25cab1 gcc-10(and above): fix compile issue caused by stringop-overflow 2023-09-05 13:47:59 +03:00
Konstantinos Margaritis
aa194e928b fix SVE flags detection order #145 2023-08-23 10:21:02 +00:00
Konstantinos Margaritis
394d09fe45 initial attempt for fat binary on Aarch64 2023-08-23 09:42:00 +00:00
Konstantinos Margaritis
0388592b62 Bump version 2023-03-23 08:29:20 +00:00
Konstantinos Margaritis
9e6d66158b add -funsigned-char to RAGEL_C_FLAGS, move util build after that 2023-03-22 11:36:06 +02:00
Konstantinos Margaritis
77855a325f Force -funsigned-char to RAGEL_C_FLAGS 2023-03-22 08:49:19 +00:00
Konstantinos Margaritis
4d452c26ae 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
49a8775fbd clang SVE build fix 2022-09-18 19:42:45 +03:00
Alex Bondarev
d144762b4a 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
257cf1e311 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
17858d4da3 additional mcpu flag cleanup 2022-09-16 00:03:08 +03:00
Alex Bondarev
e9530145c3 removed cpu reference flags and fixed tune flag 2022-09-15 18:38:01 +03:00
Alex Bondarev
779cbbc1c1 fix to correctly place the autodetected flags and to activate SVE options 2022-09-13 18:21:10 +03:00
Konstantinos Margaritis
0e9e57dd58 bump version 2022-09-13 12:57:08 +00:00
Jan Henning
218a1cf76a Bump scripts to python3 2022-05-19 16:25:08 +02:00
Jan Henning
3c4f5983dc Use non-deprecated method of finding python 2022-05-19 10:20:17 +02:00
Konstantinos Margaritis
ebf4ab9e5a Update CMakeLists.txt 2022-05-05 12:14:53 +03:00