niyid

Results 31 comments of niyid

> Universal native library for macOS x86_64 and ARM64. What if the universal native library is generated from already built x86_64 and ARM64 libraries? Then that involves multiple builds. That...

For clarity; is it allowed to use the platform libraries to generate this universal library? On Tue, Apr 2, 2024, 3:45 AM woodser ***@***.***> wrote: > Universal native library for...

I think 2 builds to generate the 2 architecture libraries might still be necessary. And then the final step will be to combine both into the universal library. On Tue,...

Are you already using set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64")? On Tue, Apr 2, 2024, 1:49 PM woodser ***@***.***> wrote: > I'm reading that multiple flags can be passed to the build command, e.g....

I believe set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64") should be used; followed by lipo to combine the 2 arch libraries into a universal library. On Tue, Apr 2, 2024, 2:01 PM Oyeniyi Dada ***@***.***>...

Any progress on this? I will be taking a look. On Tue, Apr 2, 2024, 2:05 PM Oyeniyi Dada ***@***.***> wrote: > I believe set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64") should be used; >...

...and you added the lipo command? I have not tested this yet (no Mac): ``` cmake_minimum_required(VERSION 3.4.1) project(monero-java-jni) # Set architectures for Apple platforms if (APPLE) set(ARCHITECTURES x86_64 arm64) endif()...

@ all, thank you all for your contribution and proving the idea works.

> This has been discussed plenty and i initially was very much for this but: The main issue is placing the security deposit. If Alice sends 2 XMR of deposit...