Conversation
Build the OCP pybind11 bindings for OCCT 8.0.1 without VTK, mirroring the Linux half of CadQuery/ocp-build-system's build-ocp.yml: an OCCT SDK job that compiles the kernel once per version, then one job per interpreter that compiles the 647 generated translation units against it and packages the wheel. The wheel bundles the OCCT runtime (LGPL-2.1 with the OCCT exception) and the image libraries auditwheel vendors, none of whose licences upstream's own wheels carry, so a patch re-enables setuptools' licence globbing and the build stages the licence of everything in that closure.
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cadquery-ocp-novtk8.0.1.0.0Compiles OpenCASCADE 8.0.1 and the 647 generated pybind11 translation units of CadQuery/OCP into the VTK-free
OCPextension. Upstream publishes no riscv64 wheel.Mirrors upstream's
build-ocp.ymland the actions it calls; the OCCT, OCP and pybind11 versions come from that recipe'senv:block.Differs from upstream
USE_FREEIMAGE=OFF, and rapidjson and fmt built from source - none of the three is packaged for riscv64._GLIBCXX_USE_CXX11_ABI=0- that switch only matched the x86_64 PyPI VTK wheel.Matrix: cp312/cp313/cp314 - upstream pins pybind11 2.13 and the generated module declares no free-threaded support, so a cp314t wheel would only re-enable the GIL.
Testing
License: Wheel bundles the OCCT runtime (LGPL-2.1 with the OCCT exception) and the image libraries auditwheel vendors; upstream ships no licence text for any of it, so the build adds it.
Patches
0001-Package-the-OCP-OCCT-and-vendored-library-licences.patch-To upstream. Without it the wheel carries no licence file at all. Reproduces on x86_64.