Commit 49f111c
committed
Use cmake_process_manifest_hook setup argument to clean destination folder
Delete DPCTLSyclInterface library shared objects from dpctl/ folder from previous
runs.
Monkey-patch skbuild.setuptools._copy_file to not follows symbolic links, to ensure
that versioned DPCTLSyclInterface ends up as the proper set of symbolic links pointing
to a single physical shared object file.
If symbolic links are followed, 3 identical copies of the library end up in the installation
folder. Downstream dpctl users may end up with several instances of the library in their
process space which may end up with errors is statuful functinality (queue manager) is used.1 parent 1f6b40f commit 49f111c
1 file changed
+53
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | | - | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
32 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
33 | 83 | | |
34 | 84 | | |
35 | 85 | | |
| |||
54 | 104 | | |
55 | 105 | | |
56 | 106 | | |
| 107 | + | |
57 | 108 | | |
0 commit comments