This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Commit d6536fa
committed
Derive the libuast os/arch selector from sys.platform.
Part of the pyuast build process fetches a binary release of libuast.
Previously, the release version was pinned to linux-amd64.
This change makes it consult sys.platform. Unfortunately, sys.platform doesn't
exactly match the release tag for windows, but since we only have binary
releases for Linux, Darwin, and Windows anyway, it is a straightforward patch.
The default remains linux-amd64 in case someone has another platform; if it was
wrong before it will still be wrong, but in the same way.
Signed-off-by: M. J. Fromberger <michael.j.fromberger@gmail.com>1 parent 815835d commit d6536fa
1 file changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
132 | 131 | | |
133 | 132 | | |
134 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
135 | 146 | | |
136 | 147 | | |
137 | 148 | | |
| |||
141 | 152 | | |
142 | 153 | | |
143 | 154 | | |
144 | | - | |
145 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
146 | 158 | | |
147 | 159 | | |
148 | 160 | | |
| |||
0 commit comments