Files
create/package/rattler-build/recipe.yaml
forbes 9e29b76fbc
All checks were successful
Build and Test / build (push) Successful in 1h18m21s
fix(build): pin icu >=75,<76 to prevent header/lib version mismatch
The build environment resolved ICU 78 headers while the host environment
had ICU 75 libraries (constrained by xerces-c, qt6-main, etc.). This
caused libFreeCADBase.so to contain icu_78 mangled symbols that couldn't
be found in the bundled ICU 75 libs at runtime:

  undefined symbol: _ZN6icu_7813UnicodeString8fromUTF8ENS_11StringPieceE

Pin ICU explicitly in both recipe.yaml host deps and pixi.toml to ensure
headers and libs always match.
2026-02-06 16:48:03 -06:00

180 lines
3.4 KiB
YAML

context:
version: "1.1.0dev"
package:
name: freecad
version: "${{ version }}"
source:
path: ../..
use_gitignore: true
build:
number: 0
requirements:
build:
- ccache
- cmake
- compilers>=1.10,<1.11
- doxygen
- ninja
- noqt5
- python>=3.11,<3.12
- qt6-main>=6.8,<6.9
- swig >=4.0,<4.4
- if: linux and x86_64
then:
- clang
- clangxx
- kernel-headers_linux-64
- libdrm-cos7-x86_64
- libselinux-cos7-x86_64
- libsepol-cos7-x86_64
- libspnav
- libx11-common-cos7-x86_64
- libx11-cos7-x86_64
- libxau-cos7-x86_64
- libxcb-cos7-x86_64
- libxdamage-cos7-x86_64
- libxext-cos7-x86_64
- libxfixes-cos7-x86_64
- libxi-cos7-x86_64
- libxi-devel-cos7-x86_64
- libxxf86vm-cos7-x86_64
- mesa-dri-drivers-cos7-x86_64
- mesa-libegl-cos7-x86_64
- mesa-libegl-devel-cos7-x86_64
- mesa-libgl-cos7-x86_64
- mesa-libgl-devel-cos7-x86_64
- mold
- pixman-cos7-x86_64
- sed
- sysroot_linux-64
- xorg-x11-server-common-cos7-x86_64
- xorg-x11-server-xvfb-cos7-x86_64
- xorg-xproto
- if: linux and aarch64
then:
- clang
- clangxx
- kernel-headers_linux-aarch64
- libdrm-cos7-aarch64
- libselinux-cos7-aarch64
- libsepol-cos7-aarch64
- libspnav
- libx11-common-cos7-aarch64
- libx11-cos7-aarch64
- libxau-cos7-aarch64
- libxcb-cos7-aarch64
- libxdamage-cos7-aarch64
- libxext-cos7-aarch64
- libxfixes-cos7-aarch64
- libxi-cos7-aarch64
- libxi-devel-cos7-aarch64
- libxxf86vm-cos7-aarch64
- mesa-dri-drivers-cos7-aarch64
- mesa-libegl-cos7-aarch64
- mesa-libegl-devel-cos7-aarch64
- mesa-libgl-cos7-aarch64
- mesa-libgl-devel-cos7-aarch64
- mold
- pixman-cos7-aarch64
- sed
- sysroot_linux-aarch64
- xorg-x11-server-common-cos7-aarch64
- xorg-x11-server-xvfb-cos7-aarch64
- xorg-xproto
- if: osx and x86_64
then:
- __osx >=10.13
- if: build_platform != target_platform
then:
- cross-python_${{ target_platform }}
host:
- coin3d
- eigen
- fmt
- freetype
- hdf5
- icu>=75,<76
- lark
- libboost-devel
- matplotlib-base
- noqt5
- numpy>=1.26,<2
- occt>=7.8,<7.9
- pcl
- pivy
- ply
- pybind11
- pyside6
- python>=3.11,<3.12
- qt6-main>=6.8,<6.9
- six
- smesh
- vtk
- xerces-c
- yaml-cpp
- zlib
- if: win
then:
- winpthreads-devel
- tbb-devel
- if: unix
then:
- sed
- if: linux
then:
- libspnav
- xorg-xproto
run:
- blas * openblas*
- blinker
- calculix
- debugpy
- defusedxml
- docutils
- gmsh
- graphviz
- ifcopenshell
- lark
- lxml
- matplotlib-base
- nine
- noqt5
- numpy>=1.26,<2
- occt>=7.8,<7.9
- olefile
- opencamlib
- opencv
- pandas
- pip
- pivy
- ply
- pycollada
- pyside6
- python>=3.11,<3.12
- pythonocc-core
- pyyaml
- qt6-main>=6.8,<6.9
- requests
- scipy
- sympy
- typing_extensions
- vtk
- xlutils
- if: linux
then:
- libspnav