Menu

#215 Enricos diffs to allow universal ooRexx and more

5.0.0
open
nobody
None
1
2021-08-31
2021-08-31
No

In the middle of June Enrico Sorichetti made his changes to ooRexx available which include the ability to createn a universal version of ooRexx for MacOS, but includes more changes. Enrico has been explicitly asked by me whether it is o.k. with him to make his changes available to the ooRexx project with the ooRexx license CPL which he agreed. (Enrico usually uses the liberal Boost license for his work.)

The diff as a patch is submitted as today (August 31st, 2021) I received for the first time a go, i.e. assurance that indeed on an M1 without Rosetta2 the universal ooRexx works (in conjunction with the universal BSF4ooRexx).

Note: it may be the case that not all changes can be brought forward into trunk, e.g. in this version the layout of "rexx -v" got changed such, that Rexx code that parses its output to learn about the current bitness (pre 5.0 ooRexx code) would break. So "cherry-picking" might be necessary.

Here what his accompanying e-mail from June 11th states:

"Hello Rony

Here is a summary of the changes

-DBUILD_OSX_UNIVERSAL_BINARIES=1
Universal build
Backwards compatibility to macOS high Sierra ( fixed a typo )

-DWITH_CCACHE=1
use ccache to cache binaries and avoid a recompilation

-DWITH_BISON=1
force a rebuild of cmdparse.cpp from cmdparse.ypp

Added the proper checks for supported pragma diagnostics to silence KNOWN warnings
Added the proper extensions to the source files for building the samples
Added a debugging tool to dump at the end of the cmake run the cmake variables used

Changed the DATE construct to a cmake provided date ( ORX_BUILD_DATE)
in some border line cases it makes the test suite fail with a date mismatch

Added processor to the rexx info class
Here is the updated repo
Have a good time

Enrico

PS.
I feel that adding the compiler info to the information provided by rexx -v
Could very useful when opening a ticket

Something like

~/ooRexx/curr.src.build % bin/rexx -v [enrico@enrico-macmini]
Open Object Rexx Version 5.0.0 r12268
Build date: 11 Jun 2021
Build mode: arm64.universal, 64 bits
Compiler : AppleClang, 12.0.5.12050022
Copyright (c) 1995, 2004 IBM Corporation. All rights reserved.
Copyright (c) 2005-2021 Rexx Language Association. All rights reserved.
This program and the accompanying materials are made available under the terms
of the Common Public License v1.0 which accompanies this distribution or at
https://www.oorexx.org/license.ht
"

1 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel