CyberBotX / DiceServ

A dice rolling service for the Anope IRC Services.
MIT License
3 stars 1 forks source link

Doesn't compile on ARM64 #1

Open cyb-r opened 6 months ago

cyb-r commented 6 months ago

ARM64 doesn't have emmintrin.h which this module uses.

CMake Error at cmake/Anope.cmake:411 (message): /home/ansible/anope-2.0.12/modules/third/DiceServ-3.0.4/diceserv.cpp needs header file emmintrin.h but we were unable to locate that header file! Check that the header file is within the search path of your OS. Call Stack (most recent call first): modules/CMakeLists.txt:29 (calculate_depends) modules/third/DiceServ-3.0.4/CMakeLists.txt:1 (build_modules)

CyberBotX commented 6 months ago

Since DiceServ relies on x86 SIMD functions for the RNG, I suspect that it probably will not be able to be used on ARM64. From a quick search, I am unable to find any ARM64 analogues to the SIMD functions I utilized.