Skip to content

Commit ceda4a2

Browse files
authored
Merge pull request #2 from DarthMDev/master
makepanda and build changes
2 parents 9dc2aa6 + 50354b3 commit ceda4a2

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/build.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,25 @@ jobs:
180180
--python-incdir="$pythonLocation/include" \
181181
--python-libdir="$pythonLocation/lib"
182182
183+
arch -x86_64 python makepanda/makepanda.py \
184+
--wheel \
185+
--threads=4 \
186+
--everything \
187+
--use-toontown \
188+
189+
# universal
190+
python makepanda/makepanda.py \
191+
--wheel \
192+
--threads=4 \
193+
--everything \
194+
--use-toontown \
195+
--universal
196+
183197
184198
- name: Upload Panda Binary
185199
env:
186200
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
187201
run: |
188202
gh release upload ${{ github.ref_name }} panda3d-1.11.0-cp311-cp311-macosx_11_0_arm64.whl
203+
gh release upload ${{ github.ref_name }} panda3d-1.11.0-cp311-cp311-macosx_10_9_x86_64.whl
204+
gh release upload ${{ github.ref_name }} panda3d-1.11.0-cp311-cp311-macosx_10_9_universal2.whl

makepanda/makepanda.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,11 +821,14 @@ def parseopts(args):
821821
PkgDisable("COCOA")
822822

823823
if GetTarget() == 'darwin':
824+
# this is no longer maintained and honestly hard to get on modern systems,
825+
# plus tt doesn't need it and we dont plan to add shaders
826+
# lets disable it
827+
PkgDisable("NVIDIACG")
824828
if OSX_ARCHS and 'x86_64' not in OSX_ARCHS and 'i386' not in OSX_ARCHS:
825829
# These support only these archs, so don't build them if we're not
826830
# targeting any of the supported archs.
827831
PkgDisable("FMODEX")
828-
PkgDisable("NVIDIACG")
829832
elif OSX_ARCHS and 'arm64' in OSX_ARCHS:
830833
# We must be using the 11.0 SDK or higher, so can't build FMOD Ex
831834
if not PkgSkip("FMODEX"):

0 commit comments

Comments
 (0)