Skip to content

Commit d41cb7f

Browse files
Lumengineclaude
andcommitted
Use existing linux-clang-cpu-only preset
- Remove custom preset, use PhysX's built-in preset instead - Fix compiler directory path - Output: static libraries (.a) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 08a8e23 commit d41cb7f

2 files changed

Lines changed: 3 additions & 27 deletions

File tree

.github/workflows/BuildPhysX-Linux.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,38 +27,27 @@ jobs:
2727
sudo apt update
2828
sudo apt install -y ninja-build cmake clang python3 libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev
2929
30-
- name: Download preset from GitHub
31-
run: |
32-
curl -L -o linux-cpu-only.xml https://raw.githubusercontent.com/Lumengine/PhysXBuild/main/linux-cpu-only.xml
33-
34-
- name: Copy preset into repo
35-
run: |
36-
cp linux-cpu-only.xml ./physx/buildtools/presets/public/
37-
3830
- name: Generate Projects
3931
run: |
4032
chmod +x ./generate_projects.sh
41-
./generate_projects.sh linux-cpu-only
33+
./generate_projects.sh linux-clang-cpu-only
4234
working-directory: physx
4335

4436
- name: Build
45-
continue-on-error: true
46-
run: cmake --build ./compiler/linux-cpu-only --config ${{ matrix.config }}
37+
run: cmake --build ./compiler/linux-clang-cpu-only --config ${{ matrix.config }}
4738
working-directory: physx
4839

4940
- name: Package build output
5041
id: build
5142
run: |
52-
mkdir -p output/bin
5343
mkdir -p output/lib
5444
mkdir -p output/include
5545
mkdir -p output/documentation
5646
5747
binArchiveName="PhysX-5.6.0.linux.x86_64.clang.${{ matrix.config }}.tar.gz"
5848
echo "PHYSX_BINARY_ARCHIVE=$binArchiveName" >> "$GITHUB_OUTPUT"
5949
60-
# Copy shared libraries
61-
cp physx/bin/linux.clang/${{ matrix.config }}/*.so output/bin/ 2>/dev/null || true
50+
# Copy static libraries
6251
cp physx/bin/linux.clang/${{ matrix.config }}/*.a output/lib/ 2>/dev/null || true
6352
6453
# Copy headers and documentation

linux-cpu-only.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)