You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(rust): fix SIMDe configuration on aarch64 platforms when not installed yet (#63)
(In order to fix build on aarch64 platfroms, #62 is still needed in
addition to this change)
I was wondering why [the FastPFOR-rs
repository](https://github.com/fast-pack/FastPFOR) tests macOS runner
without installing SIMDe; FastPFOR fetches and build SIMDe
automatically. However, it seems the include path and define are not
configured correctly when with `cxx_build::bridge()`. So, this pull
request attempts to fix it by manually doing the equivalent to this part
of `cmake_modules/simde.cmake`.
```cmake
target_include_directories(simde INTERFACE "${simde_SOURCE_DIR}")
# Enables native aliases. Not ideal but makes it easier to convert old code.
target_compile_definitions(simde INTERFACE SIMDE_ENABLE_NATIVE_ALIASES)
```
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
0 commit comments