Skip to content

FreeCAD 0.20 Release DMG app bundle

Latest
Compare
Choose a tag to compare
@ipatch ipatch released this 10 Aug 21:19
· 185 commits to master since this release

This bundle was built with MacOS Mojave using an Intel processor targeting anything MacOS 10.14 and newer. It should however run on an Apple M1 processor using Rosetta2.

I set the below environment variables, and used the below cmake command to build the bundle,

export pthqt=/Users/brewmaster/homebrew/opt/qt5/lib/cmake
export pthnetgen=/Users/brewmaster/homebrew/opt/nglib@6.2.2105/Contents/Resources/CMake

export bp=/Users/brewmaster/homebrew

I also prepended the beginning of my PATH environment variable with the below two entries

/Users/brewmaster/homebrew/opt/qt5/bin
/Users/brewmaster/homebrew/opt/python@3.10/bin

paths in variable names are specific to my user account for building

cmake \
-DHOMEBREW_PREFIX=$bp \
-DPYTHON_EXECUTABLE="$bp/opt/python@3.10/bin/python3" \
-DPYTHON_INCLUDE_DIR="$bp/opt/python@3.10/Frameworks/Python.framework/Headers" \
-DCMAKE_PREFIX_PATH="$pthqt;$pthnetgen;" \
-DCMAKE_BUILD_TYPE=Release \
-DFREECAD_CREATE_MAC_APP=1 \
-DCMAKE_INSTALL_PREFIX="$code/freecad-git/installs/build.release.0.20_001" \
-DBUILD_ENABLE_CXX_STD=C++17 \
-DBUILD_FEM_NETGEN=1 \
\
../../freecad-src

the two commits i made to the upstream freecad source to complete this release are here

I then ran ../../installs/build.release.0.20_001/FreeCAD.app/Contents/MacOS/FreeCAD -t 0 from within my build directory to test for any errors and the test suite came back with the below results,

----------------------------------------------------------------------
Ran 762 tests in 245.872s

OK
System exit

Happy CADing 🍻