ypicchi-arm
55512704ed
Fix 5.4.11's config step regression ( #327 )
...
An old commit (24ae1670d ) had the side effect of moving cmake defines after
they were being used. This patch move them back to be defined before being used.
Speed hsbench back up by ~ 0.8%
Signed-off-by: Yoan Picchi <yoan.picchi@arm.com >
2025-05-15 00:58:01 +03:00
g. economou
baeb884d22
maybe fix the hsbench issue (check_ssse3 again) in sse2/simde env ( #306 )
...
* maybe fix the hsbench issue (check_ssse3 again) in sse2/simde env
* fix the last failing unit test with fat
---------
Co-authored-by: G.E. <gregory.economou@vectorcamp.gr >
2024-07-12 15:23:07 +03:00
g. economou
f1e0977f07
build/run on machines that only have SSE2 with SIMDE ( #303 )
...
This allows the use of SIMDE library to emulate SSSE3/SSE4.2 instructions on SSE2-only (x86-64-v2) hardware.
---------
Co-authored-by: G.E <gregory.economou@vectorcamp.gr >
Co-authored-by: Konstantinos Margaritis <konstantinos@vectorcamp.gr >
2024-07-10 21:20:17 +03:00
g. economou
328b74656b
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
f39db59b7b
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
a5a5818d73
add info message
2024-01-18 00:41:23 +02:00
Konstantinos Margaritis
4c5e46b17e
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
1f86541c82
make pkgconf not a hard requirement
2024-01-15 13:17:20 +02:00
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