Commit 433822d
search recursively for static python (#290)
Summary:
Pull Request resolved: #290
Somehow our [install tests](https://github.com/pytorch/multipy/actions/runs/3788974361/jobs/6444295267) and [runtime tests for python 3.7](https://github.com/pytorch/multipy/actions/runs/3788974394/jobs/6444296064) are broken on main due to what appears to be a linking issue.
The root cause of these breakages ended up being that the static python library was moved a bit deeper into the directory we thought it would be in when using pyenv. We now search recursively for it, so that if it is there we are able to use it. Furthermore, we also fail early is we cannot find static python in order to help prevent future breakages.
Test Plan: Imported from OSS
Reviewed By: d4l3k
Differential Revision: D42272568
Pulled By: PaliC
fbshipit-source-id: 6b164d9a562be1aefaf9446aa7175cfd8150dd661 parent 63ead5f commit 433822d
1 file changed
+27
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
21 | 36 | | |
22 | | - | |
| 37 | + | |
23 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
24 | 48 | | |
25 | 49 | | |
26 | 50 | | |
| |||
0 commit comments