September 23, 2019, 03:09:26 PM

Author Topic: BMax NG Current Stable Version?  (Read 506 times)

Offline Hezkore

  • Jr. Member
  • **
  • Posts: 79
  • 🍑 Juicy
Re: BMax NG Current Stable Version?
« Reply #15 on: August 19, 2019, 08:22:29 PM »
Or, you know, just update and recompile the modules. 🤷‍♂️
Keep it simple.

Online Derron

  • Hero Member
  • *****
  • Posts: 2419
Re: BMax NG Current Stable Version?
« Reply #16 on: August 19, 2019, 08:26:35 PM »
Yes you could do that but forcefully recompiling all modules can take a long time (32 bit release + debug, 64 bit release + debug) especially if you have wx.mod installed too.

It is simpler to just remove all precompilate (these x86.i, .s ... files) and intermediate/temporary files (.bmx folders) from all folders and subfolders in "mod". BMK will then compile what is needed for your projects.


bye
Ron

Offline Hezkore

  • Jr. Member
  • **
  • Posts: 79
  • 🍑 Juicy
Re: BMax NG Current Stable Version?
« Reply #17 on: August 20, 2019, 03:19:54 AM »
As I've said; I've updated BmxNG using this method since March and not had a single problem.
(not saying things could go wrong though)
But perhaps a script for Linux (sh) and Windows (bat) to "clean modules" would be a simple solution.
Just have it remove those build files in the 'mod' folder.
Keep it simple.

Online Derron

  • Hero Member
  • *****
  • Posts: 2419
Re: BMax NG Current Stable Version?
« Reply #18 on: August 20, 2019, 07:18:15 AM »
Since march .... it depends on whether there are ground breaking changes in BCC which resolve bugs (they would else still lurk around in the precompiled module code based on potentially faulty C-code). See: some bugs fixed in BCC were never apparent to you until you saw the "fix commit" - still they could affect you somehow. Then this happens, you raise a github issue, blame to use the newest modules and BCC sources - but once you did a complete recompile (including modules) the bug is somehow vanished.

Precompilates are fine for quick compilation times - but as with every cache you need to make sure to invalidate on changes.


@ bat and sh
Yes, I think so too. Of course one could have a simple "maintenance.bmx" thing which handles downloading, building, cleaning" for you. A binary would be needed as the downloading requires functionality not available to ".bat" without 3rd party dependencies. A binary could just use "bah.curl" to fetch stuff from the httpS-urls of the repositories as github.

bye
Ron

Offline _PJ_

  • Jr. Member
  • **
  • Posts: 25
Re: BMax NG Current Stable Version?
« Reply #19 on: August 20, 2019, 09:22:10 AM »
Well that's a lot of posts. I get that the convesation has drifted and there's some discussion over various techniques and specifics but honestly, I'm a bit lost now...

I think what I'll do is wait and see if I need to update at some point in the future - and when I do, I'l revisit this and go through what I have against what I need and seek advice on how best to achieve.Luckily for now, it looks like I have a solid version.

Thanks again.

___

Online Derron

  • Hero Member
  • *****
  • Posts: 2419
Re: BMax NG Current Stable Version?
« Reply #20 on: August 20, 2019, 09:39:06 AM »
@ _PJ_
You can use what Hezkore kindly provided to you. But if you update, make sure to remove the "brl.mod / pub.mod" ... files which are also provided in Hezkore's downloads (just not compiled yet).
This means you will recompile the modules used in your project but this happens only the first time for the platform/architecture (64bit + windows) you are compiling for.

bye
Ron