Commit ce64696
authored
Return to building OTIO from source (#991)
### Fix occasional segault on Windows release startup
### Summarize your change.
In commit
93819da
to pin the OTIO version, I change the requirements.txt file used to
install OTIO to point to a version number instead of a git commit like
it was doing before.
This introduced an unintended side effect. When you point to a
particular git commit the wheel will always be built locally before
installing, which makes sense when you think about it because there are
no pre-built wheels hosted in git. Conversely, when you use a version
number, pip will check pypi for a pre-built wheel before building and
install that if it exists. The only pre-built wheel that has a match is
Windows release -- there are no debug versions, we don't use the same
flavour of Linux as OTIO pre-built wheels nor the same verison of mac
OS. This causes a problem because we are building our own version of
python and unless the compilers, shared lib versions, etc match exactly
there is a potential for ABI in compatibilities and resulting crashes.
To fix it, we will simply go back to using a git commit so we always
build our own wheels. However, we will use the version to to match the
tag in git so we are still pinned which was the point of the previous
commit.
Lastly, there was a portion of custom code for Windows debug version to
build OTIO for the exact problem we're trying to solve here. However,
since we started pointing at a git commit this all became useless since
once requirements.txt is already doing exactly the same thing. Thus, I
removed all the code and we will only have a single code path to build
OTIO.
### Describe the reason for the change.
Fix an occasional startup crash on Windows (depending on your compiler
and shared lib versions).
### Describe what you have tested and on which operating system.
Windows 11. Built and launched successfully.
Signed-off-by: Roger Nelson <[email protected]>1 parent 92f4e8a commit ce64696
File tree
3 files changed
+17
-88
lines changed- cmake/dependencies
- src/build
3 files changed
+17
-88
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
| |||
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 32 | + | |
| 33 | + | |
40 | 34 | | |
41 | 35 | | |
42 | 36 | | |
43 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 51 | | |
59 | 52 | | |
60 | 53 | | |
| |||
75 | 68 | | |
76 | 69 | | |
77 | 70 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 71 | + | |
| 72 | + | |
90 | 73 | | |
91 | 74 | | |
92 | 75 | | |
| |||
121 | 104 | | |
122 | 105 | | |
123 | 106 | | |
124 | | - | |
125 | | - | |
126 | 107 | | |
127 | 108 | | |
128 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
123 | | - | |
124 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
| 282 | + | |
| 283 | + | |
324 | 284 | | |
325 | 285 | | |
326 | 286 | | |
| |||
329 | 289 | | |
330 | 290 | | |
331 | 291 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
| 292 | + | |
336 | 293 | | |
337 | 294 | | |
338 | 295 | | |
| |||
786 | 743 | | |
787 | 744 | | |
788 | 745 | | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | | - | |
796 | | - | |
797 | 746 | | |
798 | 747 | | |
799 | 748 | | |
| |||
814 | 763 | | |
815 | 764 | | |
816 | 765 | | |
817 | | - | |
818 | 766 | | |
819 | 767 | | |
820 | 768 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments