macOS build instructions - outdated?

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Chamfer036
Posts: 8
Joined: Sat May 04, 2019 8:08 pm
Location: France

macOS build instructions - outdated?

Post by Chamfer036 »

Hello!

I am trying to build the latest Git version on macOS High-Sierra, and it seems that the instructions are outdated, I followed:

* https://www.freecadweb.org/wiki/Developer_hub -> Compiling on Mac OS X
* https://www.freecadweb.org/wiki/CompileOnMac

Then when I try to follow the instructions to install the dependencies:

Code: Select all

% brew tap homebrew/science
Updating Homebrew...
Error: homebrew/science was deprecated. This tap is now empty as all its formulae were migrated.
Is there more up to date instructions somewhere? I would be happy to help testing that with a pair of fresh eyes

Thanks!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: macOS build instructions - outdated?

Post by triplus »

Hi @Chamfer036

Yes, likely currently macOS build instructions are outdated and dependencies likely aren't in optimal condition.

P.S. Contributions welcome.
Chamfer036
Posts: 8
Joined: Sat May 04, 2019 8:08 pm
Location: France

Re: macOS build instructions - outdated?

Post by Chamfer036 »

Hi triplus,

How are the macOS builds generated then? Is it a developper with a macOS system or an automated build system somewhere?
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: macOS build instructions - outdated?

Post by triplus »

Currently we, Travis is doing that, are repacking packages available from Conda.
Chamfer036
Posts: 8
Joined: Sat May 04, 2019 8:08 pm
Location: France

Re: macOS build instructions - outdated?

Post by Chamfer036 »

Interesting! Do you have any pointer to the job, or anything can could help me to narrow down to the actual macOS build process?

I can see https://github.com/FreeCAD/FreeCAD/blob ... travis.yml that the macOS build are failing:


Code: Select all

 # macOS build is failing. See: https://forum.freecadweb.org/viewtopic.php?f=10&t=32272
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: macOS build instructions - outdated?

Post by looo »

It's as simple as this:

I increase the build-number here: https://github.com/looooo/freecad-feeds ... e847096b93
this triggers different ci's and creates conda packages: https://anaconda.org/freecad/freecad/fi ... n=0.19.pre
appimage-tools is run every day and creates bundles here: https://github.com/FreeCAD/FreeCAD-AppImage
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: macOS build instructions - outdated?

Post by triplus »

Chamfer036 wrote: Tue May 07, 2019 7:28 pm Interesting! Do you have any pointer to the job, or anything can could help me to narrow down to the actual macOS build process?

I can see https://github.com/FreeCAD/FreeCAD/blob ... travis.yml that the macOS build are failing:


Code: Select all

 # macOS build is failing. See: https://forum.freecadweb.org/viewtopic.php?f=10&t=32272
@looo explained situation regarding Conda packages. AFAIK you can use Conda for FreeCAD compiling purposes. Therefore if you would like to compile FreeCAD, due to being interested in FreeCAD development. Conda could be used for that.

The link you gave is a different thing. That is for crating macOS builds directly on Travis, for CI purposes and for deploying the .dmg files to GitHub releases, without involving Conda. This worked well in the past and the Homebrew set of dependencies was kept in good condition. People being involved in this effort in the past don't have time anymore, and that is why it isn't working ATM.
Chamfer036
Posts: 8
Joined: Sat May 04, 2019 8:08 pm
Location: France

Re: macOS build instructions - outdated?

Post by Chamfer036 »

Thanks triplus, I'll have a look at Conda!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: macOS build instructions - outdated?

Post by triplus »

Chamfer036 wrote: Wed May 08, 2019 2:18 pm Thanks triplus, I'll have a look at Conda!
You're welcome.
Chamfer036
Posts: 8
Joined: Sat May 04, 2019 8:08 pm
Location: France

Re: macOS build instructions - outdated?

Post by Chamfer036 »

Looks like the build works (at least it has started :lol: ) with the instructions at

https://www.freecadweb.org/wiki/CompileOnMac

just by ignoring the

Code: Select all

brew tap homebrew/science
step.

I'll follow up on this and if the build is successful will request a wiki account to correct that
Post Reply