Closed 0xdeafbeef closed 4 years ago
Which of the libraries or binaries are you trying to compile when you get the error? Just the main tremor-runtime
?
Note that the error you are getting is one that is purposefully triggered when you compile for a target which doesn't offer the SIMD features which simd-json
uses. Support for AVX2, SSE4.2 or NEON is required, as explained futher in the Readme.
Normally, all Tremor libs set the build setting rustc-args = [ "-C target-cpu=native" ]
, for instance in Tremor Script's Cargo.toml or in the one of Tremor Influx.
To help in solving this issue, could you determine whether one of the following is the case?
allow-non-simd
as outlined in the Readme. Note that this will likely harm performance.)rustc-args = [ "-C target-cpu=native" ]
in your Cargo.toml
, or allow the fallback using the allow-non-simd
feature to simd-json
.)My fault. I was building on vm with generic CPU. Set it to host CPU type and it's working as a charm. Excuse me for troubling :)
Problem
Doesn't compile due to error in simd-jons.
Steps
Possible Solution(s)
Use another version of simd-jsons