From 6849256dc978b48f7746d99c8228091f8cceddd0 Mon Sep 17 00:00:00 2001 From: HellAholic Date: Thu, 12 Mar 2026 10:00:45 +0100 Subject: [PATCH] Enable hwloc and adjust Boost for ARM64 Windows Add hwloc/*:shared=True and set boost/1.90.0 options (header_only=False, without_serialization=False) inside the ARM64 Windows profile block. These changes ensure hwloc is built as shared and tweak Boost configuration to address pagmo2/ARM64 build requirements on Windows. --- profiles/cura.jinja | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profiles/cura.jinja b/profiles/cura.jinja index 5079169..6d16e96 100644 --- a/profiles/cura.jinja +++ b/profiles/cura.jinja @@ -47,11 +47,15 @@ dulcificum/*:shared=False dulcificum/*:shared=True {% endif %} clipper/*:shared=True +hwloc/*:shared=True {% if platform.system() == 'Windows' and platform.machine() in ['arm64', 'aarch64', 'ARM64'] %} # ARM64 Windows: CPython requires mpdecimal as shared library mpdecimal/*:shared=True # ARM64 Windows: Arcus needs to be shared for proper Python binding arcus/*:shared=True +# boost as dependency of pagmo2 needs to be in header_only and without_serialization to compile on ARM +boost/1.90.0:header_only=False +boost/1.90.0:without_serialization=False # ARM64 Windows: Disable tbbproxy (not available on ARM64 platforms) onetbb/*:tbbproxy=False {% endif %}