Commit 20876f0
Haroldo G. Santos
Migrate from cbcbox to mipster for the bundled CBC library
cbcbox shipped CBC source builds; mipster (https://pypi.org/project/mipster/)
ships self-contained, hardware-tuned wheels for Linux x86_64/aarch64,
macOS x86_64/arm64, and Windows x86_64 with CPUID auto-dispatch
(generic / AVX2 / Haswell / NEON variants).
- Replace `cbcbox>=2.929` with `mipster>=0.2.0`.
- Use `mipster.lib_path()` instead of platform-specific path joining;
this returns the right shared library for the current OS and
selected variant.
- Drop the manual libCbc.so / libCbc-0.dll / libCbc.dylib branching.
- Keep `os.add_dll_directory()` on Windows so the loader can find the
sibling MinGW runtime DLLs that mipster bundles next to libmipster-N.dll.
- Remove unused Cbc_get/setAllowablePercentageGap CFFI declarations
(these are not exported by libmipster and were never called).1 parent 3f03388 commit 20876f0
2 files changed
Lines changed: 11 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
93 | 83 | | |
94 | 84 | | |
95 | 85 | | |
96 | 86 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 87 | | |
104 | 88 | | |
105 | 89 | | |
| |||
317 | 301 | | |
318 | 302 | | |
319 | 303 | | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | 304 | | |
326 | 305 | | |
327 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments