Commit 69eca07
[release] skip opam switch setup in release script when already configured
Summary:
The release script unconditionally ran `build-infer.sh --only-setup-opam`
which created a fresh opam switch, losing the LLVM OCaml bindings
installed during the prior build step. This caused `ctypes-foreign` to
fail during `make install-with-libs` on macOS with a path error.
Only set up the opam switch when one is not already active.
Reviewed By: ngorogiannis
Differential Revision: D103987909
fbshipit-source-id: ba642637ba3f9432cbc67087d1e88ebb1c9557871 parent ebb6cb5 commit 69eca07
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments