Found via `codespell 2.0.dev0` ``` codespell -q 2 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml ```
1.3 KiB
Building FreeCAD on Mac OS 10.15.x -- Catalina
General notes on how the tooling works:
This setup uses conda for dependency management. Conda is able to pull the deps from a repository called conda-forge and setup an isolated build environment. Not quite as isolated as docker, but it is a good option for Mac and its what the FreeCAD CI system uses.
Once the dependencies are installed into a conda environment, then the
build uses the standard cmake configuration process to configure the build
and ninja to invoke the actual compilation against whatever host compiler
(gcc, clang, etc.) was installed by conda's cxx-compiler package for
that architecture.
All of this, and some sanity checks, are in a unified shell script. See below.
Directions
Install XCode Command line tools
Run xcode-select --install and click through.
Install Conda
Refer to MiniConda Docs.
Run the shell script
Run the ./build_unix_dev_conda.sh and go get coffee. Builds take
an hour+ on a 2012 Retina MacBook.
Output binaries will be in the ./build/bin/FreeCAD and
${CONDA_PREFIX}/bin/FreeCAD directories.
You can code/build/test using the cmake configuration folder ./build in
the standard way from within the freecad_dev conda environment.