Commit 8b8b2fb
ci: fix GPU build ptxas OOM and packaging
- Set PX_GENERATE_GPU_REDUCED_ARCHITECTURES=True in vc17win64-gpu-md
preset. The full set (sm_70/75/80/86/89/90) combined with nvcc -t0
parallelism crashes ptxas with ACCESS_VIOLATION on the 16 GB GitHub
Windows runner; reduced arches build one SM + PTX fallback (JIT
covers any sm_70+ GPU at first run).
- Derive archive name from the git tag so v5.6.0-gpu.1 produces
Physx-5.6.0-gpu.1.win.x86_64.vc143.md.{config}.zip (matches the
pattern Lumengine's physx.cmake expects).
- Stop strictly requiring PhysXDevice64.dll: it is a prebuilt
redistributable absent from PhysX 5.6 build output. Search the
whole physx/bin tree and copy if found; only PhysXGpu_64.dll is
required.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 24568c8 commit 8b8b2fb
2 files changed
Lines changed: 28 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
21 | 33 | | |
22 | 34 | | |
23 | 35 | | |
| |||
54 | 66 | | |
55 | 67 | | |
56 | 68 | | |
| 69 | + | |
| 70 | + | |
57 | 71 | | |
58 | 72 | | |
59 | | - | |
| 73 | + | |
60 | 74 | | |
61 | 75 | | |
62 | 76 | | |
63 | 77 | | |
64 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
65 | 85 | | |
66 | 86 | | |
67 | 87 | | |
68 | 88 | | |
| 89 | + | |
69 | 90 | | |
70 | | - | |
| 91 | + | |
| 92 | + | |
71 | 93 | | |
72 | 94 | | |
73 | 95 | | |
| |||
98 | 120 | | |
99 | 121 | | |
100 | 122 | | |
| 123 | + | |
| 124 | + | |
101 | 125 | | |
102 | 126 | | |
103 | | - | |
| 127 | + | |
104 | 128 | | |
105 | 129 | | |
106 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments