-
m-relay<preland:monero.social> Does the arm64 build compile supercop? If so, how?
-
m-relay<preland:monero.social> If not, then how? (I’m rly confused, I can’t figure out how CMake skips the library for non amd64 platforms)
-
m-relay<preland:monero.social> Yeah uh I think I figured it out
-
m-relay<preland:monero.social> Doesn’t mean I like it though
-
m-relay<preland:monero.social> If I’m not mistaken, it isn’t currently possible to compile anything dependent on supercop on MacOS x86 targeting MacOS Arm
-
m-relay<preland:monero.social> At least not without having to create an entire cross compilation toolchain….*which is wholly unnecessary on MacOS for this use case*
-
m-relay<preland:monero.social> I’ll look at this l8r tmr, it isn’t *too* hard to fix, just need to change the CMAKE_SYSTEM_PROCESSOR check
-
selstapreland: are you working on this? monero-project/monero #9357 (universal macOS binaries)
-
m-relay<preland:monero.social> Sort of
-
m-relay<preland:monero.social> I’ve been ramming my head against a wall trying to build monero-java as a universal Mac for a while now, and that was from one of my earlier attempts
-
m-relay<preland:monero.social> I think I’ve finally figured out how I want to do it, but there are still random roadblocks everywhere
-
m-relay<preland:monero.social> Yes
-
selstait's not clear to me how you are trying to solve this, you would need to update depends/gitian build scripts
-
selstabut i find the benefits of universal binaries questionable, it would mean larger download sizes
-
m-relay<vtnerd:monero.social> preland @preland:monero.social: supercop only has x86-64 acceleration right now. There's a neon implementation, but I think it isn't compatible with arm64 abi. There's a 64bit floodberry implementation - which isn't a part of supercop - that's probably faster but hasn't been merged for use by the wallet
-
m-relay<preland:monero.social> Yeah supercop doesn’t work for non x86_64 atm
-
m-relay<preland:monero.social> When I meant “fix” I meant that when I compile for Arm on Mac x86 it would see it as Arm; it currently sees it as x86, which causes it to attempt to compile supercop as arm….
-
m-relay<preland:monero.social> It’s not surprising that supercop doesn’t check for that Apple edge case, as it is older than MacOS arm