Closed WANG-lp closed 3 months ago
Hello, i do not have an apple silicon laptop to reproduce. The github actions are using macos-14 and according to github are apple silicon and it is compiling there.
Image: macos-14-arm64
https://github.com/odygrd/quill/actions/runs/9526838179/job/26262743386
Is it only related to the benchmarks? can you please check if the examples are building ?
I expect benchmarks to be x86 only but the examples and everything else should work fine on arm
quill examples compile smoothly.
Do you have any suggestions for modifying the benchmark to run on the ARM platform?
my guess is that it is related to __rdtscp
eg : https://github.com/odygrd/quill/blob/master/benchmarks/hot_path_latency/hot_path_bench.h#L79
if you try to replace all calls to __rdtscp to chrono::system_clock:now() or something equivalent and remove the <x86intrin.h>
include they will probably compile
yeah, it works after removing the <x86intrin.h>
and replacing the rdtscp
call, cheers!
Hi there, I tried to compile Quill on my MacBook (M3Max) but the following compile error occurred:
Does the undeclared identifier (
__builtin_ia32_readeflags_u32
) only exist on the X86 platform?Any idea? Thank you in advance.