Konstantinos Margaritis
4e231c6009
Move VERM16 enums to the end of the list
...
This was causing a hard-to-track segfault with Fat Runtime on SVE2 hw,
because of the macro-based hard-coded way to calculate offsets for each
implementation. This needs a rewrite.
2023-11-17 03:50:30 +08: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
Konstantinos Margaritis
7765fb016e
Merge pull request #188 from VectorCamp/bugfix/require-pkg-config
...
make pkgconfig a requirement
2023-10-31 19:09:35 +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
a2de63088c
Merge pull request #186 from VectorCamp/bugfix/fix-compilation-arm-ubuntu-20.04
...
Ubuntu 20.04 gcc does not define HWCAP2_SVE2 #180
2023-10-25 13:53:44 +03:00
Konstantinos Margaritis
bc88821057
Merge pull request #185 from VectorCamp/bugfix/fix-inconsistent-version-header
...
Fix version getting out of sync #175
2023-10-11 19:52:22 +03:00
Konstantinos Margaritis
1ca4dc8b39
Ubuntu 20.04 gcc does not define HWCAP2_SVE2 #180
2023-10-10 18:30:12 +08:00
Konstantinos Margaritis
67b776dd62
Merge pull request #181 from VectorCamp/bugfix/fix-clang15-compilation-errors
...
Fix clang 15,16 compilation errors on all platforms, refactor CMake build system
2023-10-10 13:14:10 +03:00
Konstantinos Margaritis
500d8c12a5
fix default arch definition for non fat builds on arm
2023-10-10 00:55:02 +08:00
Konstantinos Margaritis
e574064eb0
set default value
2023-10-09 20:38:19 +08:00
Konstantinos Margaritis
fe5a2eabce
SVE2 is armv9-a but gcc 11 does not recognize that
2023-10-09 20:02:37 +08: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
f4e41f1f2c
is not known at that stage
2023-10-09 10:16:40 +00:00
Konstantinos Margaritis
3f9c05d57f
fix cmake refactor for arm builds
2023-10-09 10:03:53 +00:00
Konstantinos Margaritis
b61a40f7d9
fix default arch/tune flags for ppc64le
2023-10-09 00:44:12 +03:00
Konstantinos Margaritis
c27f5dec5b
fix x86 fat binary build
2023-10-09 00:42:39 +03:00
Konstantinos Margaritis
6bf565d03c
fix sqlite3 version detection
2023-10-09 00:23:29 +03:00
Konstantinos Margaritis
29259adf52
fix cflags detection for x86
2023-10-09 00:23:08 +03:00
Konstantinos Margaritis
77069d8cb4
fix defaults for -march for x86
2023-10-09 00:22:52 +03:00
Konstantinos Margaritis
601247a0e9
increase cmake_minimum_version, basically the one in Debian 11
2023-10-09 00:22:31 +03:00
Konstantinos Margaritis
4a7acc1c11
add missing file
2023-10-08 23:54:06 +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
abcc974d1d
add missing file
2023-10-07 12:10:42 +03: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
bafaffb967
remove extra print
2023-10-06 12:08:36 +03:00
Konstantinos Margaritis
df944ac347
__builtin_constant_p is true in the wrong case on gcc 13.2. Exclude for now
2023-10-06 11:44:41 +03:00
Konstantinos Margaritis
d2142ea96f
Reduce debug unit tests runtime even more
...
In single.cpp featuremask with AVX512 features is not relevant to non-x86 platforms,
and just extends the runtime for no reason.
2023-10-05 19:12:58 +03:00
Konstantinos Margaritis
37edb70936
Don't run regression UE_2595 on debug, it times out CI
2023-10-05 10:40:30 +03:00
Konstantinos Margaritis
bbeec16894
use the right type of cast
2023-10-04 23:35:10 +03:00
Konstantinos Margaritis
ba81576d28
clang 16 as well
2023-10-04 22:07:34 +03:00
Konstantinos Margaritis
948ef96759
missed one pragma
2023-10-04 20:54:57 +03:00
Konstantinos Margaritis
4ae1aebc1b
use the conditional in the right way
2023-10-04 20:35:58 +03:00
Konstantinos Margaritis
bfe1aa52f1
add conditional for __clang__
2023-10-04 20:28:35 +03:00
Konstantinos Margaritis
b5d87d3877
clang 15 (but not 16) fails on ppc64le with -Wdeprecate-lax-vec-conv-all
2023-10-04 20:09:45 +03:00
Konstantinos Margaritis
71374eea1d
Reduce unit test runtimes dramatically for debug builds
2023-10-04 19:21:30 +03:00
Konstantinos Margaritis
0c51d60392
fix -Wunused warnings on debug
2023-10-04 07:16:45 +00:00
Konstantinos Margaritis
547961ab0a
more std::move fixes
2023-10-03 21:01:51 +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
3ed0c593f4
Fix 'unqualified call to std::move' errors in clang 15+
2023-10-03 20:24:39 +03:00
Konstantinos Margaritis
790bc9d4dc
Fix version getting out of sync #175
2023-10-03 09:57:10 +03:00
Konstantinos Margaritis
54445cba3c
Merge pull request #174 from VectorCamp/develop
...
Minor bugfix release 5.4.10.1
2023-09-08 13:42:33 +03:00
Konstantinos Margaritis
a9ccc6f65a
Merge pull request #173 from VectorCamp/bugfix/disable-fat-macos-arm
...
Bugfix/disable fat macos arm
2023-09-08 12:18:11 +03:00