277 Commits

Author SHA1 Message Date
G.E.
0bebd2553d fixed some broken config combinations 2024-07-08 21:00:33 +03:00
G.E.
86b3efa048 fixed small mistake 2024-07-04 21:33:18 +03:00
G.E.
951b413ad1 building non-fat as well 2024-07-04 17:41:44 +03:00
G.E.
c0b57cd103 controlling this with a flag now 2024-07-04 17:13:55 +03:00
G.E.
60a7d8126f removed a couple more redundant lines 2024-07-04 17:02:16 +03:00
G.E.
887d119c7f cleaned some more commented out junk 2024-07-04 16:47:52 +03:00
G.E.
40c33fd251 same 2024-07-04 16:43:42 +03:00
G.E.
82fde6aad1 still not sure if this actually uses simde or not 2024-07-04 16:41:45 +03:00
G.E.
bb99b4ead1 saving whatever this is now, still not working.. 2024-07-04 14:32:00 +03:00
G.E
aded8f1a5f trying this on the vm's 2024-07-04 00:26:30 +03:00
g. economou
aa832db892
Teddy macros unrolling - initial PR to test in CI (#294)
Major refactoring of teddy and teddy_avx2, unrolling macros to C++ templated functions

---------

Co-authored-by: G.E <gregory.economou@vectorcamp.gr>
2024-06-26 22:35:33 +03:00
Brad Larsen
bd7423f4f0 Add CMake options for more build granularity
This adds three new CMake options, all defaulting to true, making it
possible to opt-out of building parts of Vectorscan that are not
essential for deployment of the matching runtime.

These new options:

- `BUILD_UNIT`: control whether the `unit` directory is included
- `BUILD_DOC`: control whether the `doc` directory is included
- `BUILD_TOOLS`: control whether the `tools` directory is included
2024-03-06 16:32:12 -05:00
Konstantinos Margaritis
f6387e34da add info message 2024-01-18 00:41:23 +02:00
Konstantinos Margaritis
46488b8097
Merge pull request #219 from VectorCamp/bugfix/make-sqlite-optional
Make sqlite optional, use OS installed
2024-01-15 16:57:11 +02:00
Konstantinos Margaritis
8b2ebeb06b make pkgconf not a hard requirement 2024-01-15 13:17:20 +02:00
Konstantinos Margaritis
f68a1e526c Enable Fat runtime on x86 by default to help migration from hyperscan 2024-01-10 18:25:31 +02:00
Konstantinos Margaritis
ad70693999 use ccache if available 2023-12-21 12:59:56 +00:00
Konstantinos Margaritis
a26bed96bc
Merge pull request #203 from VectorCamp/feature/enable-simde-backend
Feature/enable simde backend
2023-11-29 11:22:08 +02:00
Konstantinos Margaritis
6332cb91f5 separate ARCH_FLAG logic 2023-11-28 17:28:48 +02:00
Konstantinos Margaritis
3beda7e5e0 add missing else 2023-11-28 14:09:26 +02:00
Konstantinos Margaritis
f57928ea08 fix SIMDe emulation builds on Arm, add native translation from x86 for comparison 2023-11-27 12:21:58 +00:00
Konstantnos Margaritis
d24d67c28b Add SIMDe backend to CMake 2023-11-21 17:06:22 +00:00
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