Commit Graph

120 Commits

Author SHA1 Message Date
ibrkas01arm
14eb7c3f40 cmake - guard against failed GNUCC_ARCH extraction (#339)
Prevents overwriting GNUCC_ARCH with an empty value when parsing output
of gcc -Q --help=target. Ensures robustness if detection fails and
returns an empty string.

Signed-off-by: Ibrahim Kashif <ibrahim.kashif@arm.com>
2025-07-21 14:36:59 +03:00
Chrysovalantis - Michail Liakopoulos
8a44a6eda2 Fix/fbsd gcc13 error (#338)
* added static libraries in cmake to fix unit-internal seg fault in freebsd, ppc64le, gcc13 error
* Moved gcc13 flags for freebsd-gcc13 in cmake/cflags-ppc64le.make
2025-05-31 11:46:22 +03:00
Konstantinos Margaritis
400468bbfa Clang 17+ is more restrictive on rebind<T> on MacOS/Boost, remove warning (#332)
* Clang 17+ is more restrictive on rebind<T> on MacOS/Boost, remove warning

* More clang/boost warnings on MacOS, disable for now
2025-05-16 13:44:20 +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.E.
d5f12ecb54 enable the rpath hack on all gcc13, and on arm/gcc12 2024-04-17 15:40:52 +03:00
G.E.
9ffb68be36 the rpath hack is only needed on arm 2024-04-17 11:33:00 +03:00
Gregory Economou
7ee5f7913e added a fixme for the clunky rpath setting logic 2024-04-16 15:18:58 +03:00
Gregory Economou
645156333d cmake adds newlines to variables set from command output, trashing the
usefulness of the flexible method of setting the rpath var. back to
the clunky manual setting.
2024-04-16 15:04:20 +03:00
Gregory Economou
87b4787455 made the rpath finding a bit more flexible than just hardcoded gcc12 and gcc13 2024-04-16 13:09:05 +03:00
Gregory Economou
7faa32275e bit hacky but it works for setting rpath in freebsd 2024-04-16 10:17:53 +03:00
Gregory Economou
1055fd7ed8 probably fixed the bit about not finding the right libs in some bsd installs 2024-04-15 16:50:58 +03:00
Gregory Economou
b4115b821b united the static fat runtime dispatcher with the BSD support. 2024-04-15 14:59:08 +03:00
G.E.
1ef8e5dddc first try at getting cmake to leave custom shared lib paths with the binary,
with package added compilers we need to find the right std libs from the
compiler we added, not the base install libs.
2024-04-15 11:52:33 +03:00
isildur-g
10e96c3f53 typo fix 2024-03-12 13:58:50 +01:00
G.E.
feeb6a57ac moved HAVE_BUILTIN_POPCOUNT def to cmake 2024-03-12 14:22:39 +02:00
G.E.
33444e7ce0 incremental improvement in cleanliness 2024-03-12 12:37:08 +02:00
G.E.
c0784c4aa5 lets rather not add lines of code not yet used anywhere 2024-03-06 14:57:28 +01:00
G.E.
205bcbb060 support building on NetBSD 2024-03-06 10:48:56 +01:00
Jingbo Chen
ea261fe26f fix the pcre versio check error on clang 16 2024-01-29 10:50:16 +08:00
Konstantinos Margaritis
a2ef385e1a remove unused warning exceptions 2024-01-20 19:52:31 +02:00
Konstantinos Margaritis
85925923c5 add -Wno-deprecate-lax-vec-conv-all on clang 15 for Power only 2024-01-20 17:45:56 +02:00
Konstantinos Margaritis
eeeae733e4 add needed deprecation warning exceptions for SIMDe on Power VSX 2024-01-18 23:37:59 +02:00
Konstantinos Margaritis
55240d94c7 set x86-64-v2 as baseline arch for fat runtime 2024-01-18 22:08:05 +02:00
Konstantinos Margaritis
eb46ba6530 use x86-64-v2 as default x86 arch for SIMDe 2024-01-18 21:24:38 +02:00
Konstantinos Margaritis
026663f0fd WIP: after cleaning up the code, remove the warnings from compilation flags 2024-01-18 00:47:44 +02:00
Konstantinos Margaritis
91fa633826 use arch set in cflags-x86.cmake 2024-01-18 00:43:32 +02:00
Konstantinos Margaritis
1425fa7a57 fix some build misconfigurations on x86 2024-01-18 00:43:11 +02:00
Konstantinos Margaritis
7368004f71 WIP: only keep the absolutely necessary warning exceptions 2024-01-17 17:18:12 +02:00
Konstantinos Margaritis
ba1d86c12b set default x86 architecture to baseline 2024-01-17 17:00:47 +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
0e1cce7fb8 enable AVX2,AVX512,AVX512 for fat runtimes on x86 2024-01-10 18:26:12 +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
e9de9d3ddc Make sqlite optional, use OS installed 2024-01-10 14:28:06 +02:00
Konstantinos Margaritis
6a37cb7f84 fix typo in baseline x86 arch definition 2023-12-20 22:21:00 +02:00
Konstantinos Margaritis
cd5302d1c1 native CPU on SIMDe will enable all sorts of features in an unpredicted manner, set sane defaults 2023-12-20 16:43:38 +00:00
Konstantinos Margaritis
d8642b0eaa GREATER_EQUAL 2023-12-20 15:27:56 +00:00
Konstantinos Margaritis
61943dc338 reorganize OS detection 2023-12-20 17:16:45 +02:00
Konstantinos Margaritis
3f6a68c17f fix submodule headers detection 2023-12-20 17:16:23 +02:00
Konstantinos Margaritis
7629fd0141 fix arch=native on arm+clang 2023-12-20 15:15:38 +00:00
Konstantinos Margaritis
2ecf283b1b SIMDe on Clang needs SIMDE_NO_CHECK_IMMEDIATE_CONSTANT defined 2023-12-19 17:31:43 +02:00
Konstantinos Margaritis
a917134f23 search for SIMDE sse4.2.h header 2023-11-28 17:39:55 +02:00
Konstantinos Margaritis
ff108779a8 use pkg-config for SIMDe 2023-11-27 20:51:47 +00:00
Konstantinos Margaritis
22096b50a1 fix TUNE_FLAG for SIMDE_BACKEND 2023-11-27 20:51:29 +00: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
701e8f9afe add generic tune flags 2023-11-21 17:13:54 +00:00
Konstantinos Margaritis
1af61a1806 add SIMDe cmake file 2023-11-21 17:09:48 +00:00
Konstantinos Margaritis
2542a87f54 cross-compiling is not tested, removed 2023-11-19 19:24:59 +02:00
Konstantinos Margaritis
445d61a40e Don't build fat runtime with native CPU detection 2023-11-19 10:24:13 +02: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