Package Details: python-ocp-git

Git Clone URL: (read-only, click to copy)
Package Base: python-ocp-git
Description: Python wrapper for OCCT generated using pywrap
Upstream URL:
Licenses: Apache
Conflicts: python-ocp
Provides: python-ocp
Submitter: greyltc
Maintainer: greyltc
Last Packager: greyltc
Votes: 1
Popularity: 0.083106
First Submitted: 2021-01-10 18:15 (UTC)
Last Updated: 2022-04-15 05:27 (UTC)

Latest Comments

dack commented on 2022-02-14 18:32 (UTC)

Same issue as @amstan. I believe the root cause is that on Jan 25 upstream switch from opencascade 7.5.3 to opencascade 7.6. However, opencascade-cadquery in the AUR is still on 7.5.3.

amstan commented on 2022-02-08 20:09 (UTC) (edited on 2022-02-08 20:10 (UTC) by amstan)

FAILED: CMakeFiles/OCP.dir/BRepTools.cpp.o 
/usr/bin/c++ -DOCP_EXPORTS -Dkiss_fft_scalar=double -I/home/alex/.cache/pikaur/build/python-ocp-git/src/OCP/OCP -I/opt/opencascade-cadquery/usr/include/opencascade -isystem /usr/include/python3.10 -isystem /usr/include/vtk -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -fpermissive -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fopenmp -std=gnu++17 -MD -MT CMakeFiles/OCP.dir/BRepTools.cpp.o -MF CMakeFiles/OCP.dir/BRepTools.cpp.o.d -o CMakeFiles/OCP.dir/BRepTools.cpp.o -c /home/alex/.cache/pikaur/build/python-ocp-git/src/OCP/OCP/BRepTools.cpp
/home/alex/.cache/pikaur/build/python-ocp-git/src/OCP/OCP/BRepTools.cpp:149:10: fatal error: OSD_FileSystem.hxx: No such file or directory
  149 | #include <OSD_FileSystem.hxx>
      |          ^~~~~~~~~~~~~~~~~~~~

dack commented on 2021-12-15 01:54 (UTC)

I found that when building the latest release today the "generating bindings" step was using excessive memory (32+ GB) and triggering the OOM killer. It seems that it was running too many threads (maybe 1 for each CPU core?). I found that you can limit the threads by adding something like "-n2" to the "python -m bindgen" command. Can this be added to the PKGBUILD, similar to how it already is for the "Building OCP" cmake command? Maybe move the "_n_parallel_build_jobs" variable to the top and use if for all commands, rather than just cmake?