Commit ea1eeae
committed
fix: in-source python builds
the Makefile for the python bindings does a check for out of source
builds to see if it should copy the .pyx file. However, if `srcdir` and
`builddir` are different strings but point to the same directory, the
`cp` command will fail.
This patch makes the build step more robust by checking if the .pyx file
exists in the `builddir` (will resolve to true if srcdir==builddir).
Otherwise, it will copy the file over.
Signed-off-by: Caetano Melone <melone1@llnl.gov>1 parent 4b0bf50 commit ea1eeae
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments