This bundle was built with MacOS Ventura using an Intel processor targeting anything MacOS 13.7.8 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,
cmake \
-DCMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH=FALSE \
-DCMAKE_FIND_USE_CMAKE_SYSTEM_PATH=FALSE \
-DHOMEBREW_PREFIX=$bp \
-DCMAKE_MAKE_PROGRAM="/usr/bin/make" \
-DCMAKE_C_COMPILER=/usr/bin/clang \
-DOPENGL_gl_LIBRARY=$apl_frmwks/OpenGL.framework \
-DOPENGL_INCLUDE_DIR=$apl_frmwks/OpenGL.framework \
-DOPENGL_GLU_INCLUDE_DIR=$apl_frmwks/OpenGL.framework \
-DOPENGL_glu_LIBRARY=$apl_frmwks/OpenGL.framework \
-D_qt5gui_OPENGL_INCLUDE_DIR=$apl_frmwks/OpenGL.framework \
-D_Qt5UiTools_RELEASE_AppKit_PATH=$apl_frmwks/AppKit.framework \
-D_Qt5UiTools_RELEASE_Metal_PATH=$apl_frmwks/Metal.framework \
-D_Qt5UiTools_RELEASE_DiskArbitration_PATH=$apl_frmwks/DiskArbitration.framework \
-D_Qt5UiTools_RELEASE_IOKit_PATH=$apl_frmwks/IOKit.framework \
-D_Qt5UiTools_RELEASE_OpenGL_PATH=$apl_frmwks/OpenGL.framework \
-D_Qt5UiTools_RELEASE_AGL_PATH=$apl_frmwks/AGL.framework \
-DCOREFOUNDATION_LIBRARY=$apl_frmwks/CoreFoundation.framework \
-DFREECAD_USE_PYBIND11=1 -Wno-dev \
-DCMAKE_IGNORE_PATH="$bp/lib;$bp/include;$bp/include/QtCore;$bp/Cellar/qt;" \
-DPython3_EXECUTABLE=$bp/opt/python@3.12/bin/python3.12 \
-DFREECAD_CREATE_MAC_APP=1 -DFREECAD_QT_VERSION=5 \
-DCMAKE_INSTALL_PREFIX="../../installs/homebrew/1.0.2-006" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_OSX_ARCHITECTURES="x86_64" \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DINSTALL_TO_SITEPACKAGES=0 \
-DFREECAD_USE_PCL=1 \
-DCMAKE_PREFIX_PATH="$pthqt;$pthyamlcpp;$pthxc;$pthzlib;$pthboost;$pthpybind11;$pthvtk;$pthhdf5;$pthmed;$pthcoin3d;$pthnjson;$pthfreetype;$pthlibaec;$pthpugixml;$pthpyside2;$pthswig;$ptheigen;$pthdoxygen;$pthutf8cpp;$pthpng;$pthexpat;$pthlz4;$pthjpg;$pthtiff;$pthfreetype;$pthdblconv;$pthfmt;$pthicu4c;$pthpcl;$pthlibspnav;$pthqhull;$pthlibusb;$pthlibomp;" \
-L \
../../freecad-srcAttached to this release is a file named paths which contain all the environment variables listed above in the cmake command i used to build this release.
below are the results from running the following command,
./FreeCAD.app/Contents/MacOS/FreeCADCmd --console --run-test 0
test results, cropped for brevity
======================================================================
ERROR: test46 (CAMTests.TestPathOpUtil.TestPathOpUtil.test46)
Check offsetting multiple inside edges.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/code/git/github/forks/freecad-git/installs/homebrew/1.0.2-006/FreeCAD.app/Contents/Mod/CAM/CAMTests/TestPathOpUtil.py", line 795, in test46
wire = PathOpUtil.offsetWire(Part.Wire(lEdges), obj.Shape, 2, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/code/git/github/forks/freecad-git/installs/homebrew/1.0.2-006/FreeCAD.app/Contents/Mod/CAM/Path/Op/Util.py", line 348, in offsetWire
debugWire("outside", Part.Wire(outside))
^^^^^^^^^^^^^^^^^^
Part.OCCError: BRep_API: command not done
======================================================================
ERROR: test47 (CAMTests.TestPathOpUtil.TestPathOpUtil.test47)
Check offsetting multiple backwards inside edges.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/code/git/github/forks/freecad-git/installs/homebrew/1.0.2-006/FreeCAD.app/Contents/Mod/CAM/CAMTests/TestPathOpUtil.py", line 833, in test47
wire = PathOpUtil.offsetWire(w, obj.Shape, 2, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/code/git/github/forks/freecad-git/installs/homebrew/1.0.2-006/FreeCAD.app/Contents/Mod/CAM/Path/Op/Util.py", line 348, in offsetWire
debugWire("outside", Part.Wire(outside))
^^^^^^^^^^^^^^^^^^
Part.OCCError: BRep_API: command not done
----------------------------------------------------------------------
Ran 1438 tests in 584.220s
FAILED (errors=2, skipped=2)
Happy CADing 🤓📐