Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ITUGLIB Update: GMake 4.3g3

82 views
Skip to first unread message

Randall

unread,
Sep 17, 2021, 9:52:46 AM9/17/21
to
Hi Everyone,

ITUGLIB has been keeping me busy these days. Between OpenSSL and Curl reports - there will be a minor Curl bug fix coming around Sept 23rd that looks like it has limited or no NonStop impact. Anyway, to the point...

GMAKE 4.3g3 is now available for L-series and J-series.

Defect fixed:
* The TOS_VERSION was not being initialized correct - this has been corrected.

Enhancements:
* The TOS_VERSION_FULL variable has been added. Example: L20.10.00
* The $(vcompare x,y) function has been added to compare two version strings. This will compare standard version strings, like 1.5.1, RVU strings and ECLIPSE-style version numbers so your Makefile can account for different instructions depending on the operating system release - useful in a CI/CD situation where your Test/Release machine is different than your Dev machine.

The online manual for this version is available here:
https://github.com/ituglib/gmake/blob/b7978505afcf010c72db21031b9bbbe7fcee7c5b/MANUAL.md

The issue tracking system for GMake is also available on GitHub at https://github.com/ituglib/gmake/issues

Regards,
Randall Becker
On behalf of the ITUGLIB Technical Committee

wilso...@gmail.com

unread,
Oct 18, 2021, 11:06:16 AM10/18/21
to
Hi Randall -

I am new to using GMAKE, and appreciate these updates! I have a question regarding the tool that I did not see mentioned in the manual.

I am attempting to pass variables into the build (primarily certain SUBVOL names). Under OSS, I am able to use the "-D" option to pass in directives from the command line.

I see mentioned in the manual that the use of using PARAMS and ASSIGNS is available in the newer versions. It looks like the version of the tool included by HPE as part of the OS install/update on my system is 3.77.

With that said, I am curious if there is an easy way to pass variables into the build, or if I would need to upgrade to a newer version to gain that capability?

Thanks,
John Wilson

Randall

unread,
Oct 19, 2021, 10:08:54 AM10/19/21
to
Hi John,

You can pass variables the same way as with the OSS make - which is based on GNU Make 4.2. The proper way is to do something like this:

GMAKE target VAR1=$A.B VAR2=Something

ITUGLIB has taken over support for GMAKE from HPE. Version 4.3g3 from ITUGLIB is based on GNU Make 4.3 and is an upgrade with fixes from the original GNU Make 3.77 code base with mods for GUARDIAN. The ITUGLIB version also supports GUARDIAN DEFINEs, which GMAKE 3.77 did not.

Regards,
Randall

wilso...@gmail.com

unread,
Oct 20, 2021, 2:37:29 PM10/20/21
to
On Tuesday, October 19, 2021 at 10:08:54 AM UTC-4, Randall wrote:
Thanks Randall! That was the information I needed, and I am able to pass the variables into the build now.

Much appreciated!

Regards,
John Wilson
0 new messages