On 16.10.2021 22:23, P.O. Jonsson wrote:
> This is just to say that with Mark Hesslings help we now have the possibility
> to build for M1 Mac
> running Big Sur from Jenkins. Building works just fine and the complete test
> suite passes without
> error
Great, kudos to Mark and you!
> Interpreter: REXX-ooRexx_5.0.0(MT)_64-bit 6.05 17 Oct 2021
> OS Name: DARWIN
> SysVersion: Darwin 20.6.0
>
> Tests ran: 24076
> Assertions: 387098
> Failures: 0
> Errors: 0
>
> File search: 00:00:03.045320
> Suite construction: 00:00:00.426182
> Test execution: 00:04:58.664938
> Total time: 00:05:02.190228
>
> Finished: SUCCESS
Great!
> So what remains to be tested if if we can create „fat“ binaries on this
> machine, I think Rony had
> some input here? Mark have already done this so it should be doable.
It is possible to create an M1 version on an x86_64 as that is what I have done
for my student's
version that is included in BSF4ooRexx for Mac currently. If not mistaken, the
support is already in
CMakeLists.txt, cf:
51-
52-# must come before the project command
53-# 13.6 High Sierra is the minimum system supported
54:if( APPLE AND BUILD_OSX_UNIVERSAL_BINARIES )
55- set( CMAKE_OSX_DEPLOYMENT_TARGET 13.6 CACHE STRING "" FORCE)
56-endif()
57-
58-project (ooRexx)
59-
60:if( APPLE AND BUILD_OSX_UNIVERSAL_BINARIES )
61- set( CMAKE_OSX_ARCHITECTURES arm64 x86_64 )
62-endif()
63-
So running cmake with -DBUILD_OSX_UNIVERSAL_BINARIES=1 should already allow to
create fat/universal
versions.
HTH,
---rony
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel