Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.
Does anyone know how to control the number of simultaneous jobs? It looks like G4-7450.mozcfg gets copied to .mozcfg by the script at /opt/macports-tff/bin/build_tenfourfox but this line seems to have no effect:

mk_add_options MOZ_MAKE_FLAGS="-s -j2"

I've tried 1 2 and 3, and the load is always around 2.0. This is fine for a dual CPU machine, but I'd like to try a different number...
 
There is a client.mk file that might be controlling the jobs setting. Does this file get generated, or can I just edit it directly?

There are some sections that look relevant:

Code:
ifdef MOZ_PARALLEL_BUILD
  MOZ_MAKE_FLAGS := $(filter-out -j%,$(MOZ_MAKE_FLAGS))
  MOZ_MAKE_FLAGS += -j$(MOZ_PARALLEL_BUILD)
endif

# Automatically add -jN to make flags if not defined. N defaults to number of cores.
ifeq (,$(findstring -j,$(MOZ_MAKE_FLAGS)))
  cores=$(shell $(PYTHON) -c 'import multiprocessing; print(multiprocessing.cpu_count())')
  MOZ_MAKE_FLAGS += -j$(cores)
endif

...can I just delete that stuff and put in the -j setting I want?
 
Though it runs, I am quite curious why the final app is only 23.1MB vs the official's 180.5MB... seems something would be missing... no?
I think I know why this happens. Rosetta is effectively ppc7400, so it only built for ppc7400 maybe? You could run arch on the compiled binary and find out.
 
I saw there was an update on the TFF blog so I rebuilt it with the tools posted here. I think it worked: it seemed to download a bunch of updates and I'm typing in it right now. The About TenFourFox just says rolling release, so I don't know if there's an easy way to confirm that it's using all the latest code.

One thing that's interesting to me is that this build was solar powered! I'm out "car camping" for a couple weeks and I brought along a 60w foldable solar panel, which is plenty to run the powerbook when the sun is out. I kicked off the build earlier today and after 7 hours it's complete and there's still plenty of daylight left.

Code:
real 25526.51
user 22368.11
sys 2469.13
distributing

Has anyone tried one of the newer gcc versions to build TFF? It would be nice to get PGO and LTO working.
 
I'd hold off on the latest TFF updates. If you read the comments there seems to be a patch that broke svg icons in some extensions.
 
Huge thanks for this!

Received a new (to me) G5 Dual 2.0, same exact specification as the one I sold ages ago when I got my first Core2 Duo White Macbook. Was a sad day to let that machine go, but since then I have moved on to having a 5,1 and received (the same day) a 3,1 that I am in the process of upgrading to.

My machine came with Panther, 1.0GB of RAM and a 320gb drive.

I only installed 10.4 today, patched it to 10.4.11, installed X-Code, and kicked off this process today.

Happy to report my build went well, after I fixed my drive name (removed a space) which caused the compile process to fail. Have 8GB of RAM, and an SSD on the way for this system. After that comes, I plan on doing a compile TFF for my Quicksilver G4 and B&W G4 (upgraded processor).

Typing in TFF now on this G5, this thing is still a great machine even with only 1GB of RAM. Feels just as smooth in TFF as my 2008 Unibody MBP does doing the same thing!
 
  • Like
Reactions: pipetogrep
Huge thanks for this!

Received a new (to me) G5 Dual 2.0, same exact specification as the one I sold ages ago when I got my first Core2 Duo White Macbook. Was a sad day to let that machine go, but since then I have moved on to having a 5,1 and received (the same day) a 3,1 that I am in the process of upgrading to.

My machine came with Panther, 1.0GB of RAM and a 320gb drive.

I only installed 10.4 today, patched it to 10.4.11, installed X-Code, and kicked off this process today.

Happy to report my build went well, after I fixed my drive name (removed a space) which caused the compile process to fail. Have 8GB of RAM, and an SSD on the way for this system. After that comes, I plan on doing a compile TFF for my Quicksilver G4 and B&W G4 (upgraded processor).

Typing in TFF now on this G5, this thing is still a great machine even with only 1GB of RAM. Feels just as smooth in TFF as my 2008 Unibody MBP does doing the same thing!

By the way, here is the portfile to build directly in Macports: https://github.com/barracuda156/macports-ports/tree/TFF/www/tenfourfox
 
This toolkit is already configured to build the latest tenfourfox and/or interwebppc out of the box. Its great that a portfile exists, its just not needed with this package.

Cheers
 
  • Like
Reactions: barracuda156
Yeah. It should be the same. I built RR3 from my local repository though as my github was broken for iwppc for a while, but that issue should be resolved now.
 
This toolkit is already configured to build the latest tenfourfox and/or interwebppc out of the box. Its great that a portfile exists, its just not needed with this package.

Cheers
This I want to try.
 
@wicknix FYI, I've updated the toolkit a bit. The tiger version has MacPorts 2.8.0 and an updated set of packages. The Leopard version wasn't able to be updated on account of bison-runtime have some configure errors. I'll post a bug report about that.
 
  • Like
Reactions: wicknix
Thanks for working on some updates. Has anyone tried to get distcc working for this? I tried to get the xcode version working but it didn't want to play nice with macports I guess. I remember where I used to work we had a little stack of headless mini's that really sped up compiling via distcc.

At least I did figure out how to change the number of jobs for single/dual CPU computers.
 
Thanks for working on some updates. Has anyone tried to get distcc working for this? I tried to get the xcode version working but it didn't want to play nice with macports I guess. I remember where I used to work we had a little stack of headless mini's that really sped up compiling via distcc.

At least I did figure out how to change the number of jobs for single/dual CPU computers.
Distcc is a distributed compiler? How does it typically work? I'd be interested to try. I would be interested to try spinning up a bunch of (relatively slow) Tiger VMs on an intel machine to test it with.
 
I saw there were some updates on the TenFourFox blog, so I started a fresh build and went for a hike. I'm typing in it now. So just FYI in case you hadn't see the blog...

solarTFF.jpg
 
I noticed that there are updates on the TFF blog. Building now...

Awesome.

P. S. I will update the port to the latest commit, but with some delay. Away from native PPC hardware at the moment, and building this in Rosetta will be a bit too much.
 
There was another patch posted recently. It only took a couple minutes to do the rebuild (not from scratch) and I'm typing this in it now...

I don't remember if I already mentioned this, but it helps to remove the build directory tree from spotlight indexing.
 
There was another patch posted recently. It only took a couple minutes to do the rebuild (not from scratch) and I'm typing this in it now...

I don't remember if I already mentioned this, but it helps to remove the build directory tree from spotlight indexing.

In Macports it is always from scratch (unless you install a pre-built port), so will be a few hours.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.