Closed psobolewskiPhD closed 3 years ago
Thanks. Of course, I cannot really test this on the actual target, but at least checked that it does not seem to interfere with the current windows build. (And, due to the CMAKE_OSX_ARCHITECTURES
being very OS-specific, it's unlikely to break anything on Linux).
This is regarding compiling JOCL on Apple Silicon M1 (arm64) Macs. See https://github.com/gpu/JOCL/issues/32 I've edited the CMakeList.txt to check the CMake setting:
CMAKE_OSX_ARCHITECTURES
and if it's "arm64" to setJOCL_TARGET_ARCH
to "arm64" based on this. (In CMake the Env variablesare "arm64" on Apple Silicon M1 Macs)