Commit Graph

390 Commits

Author SHA1 Message Date
rdb cdadd00e72 makepanda: Optimize WriteEmbeddedStringFile function
This function took ages with a debug build of Python
2021-12-04 21:57:55 +01:00
rdb 5de31c6293 Merge branch 'release/1.10.x' 2021-12-04 21:57:35 +01:00
rdb 420d1cee61 makepanda: Fix unclosed file handles 2021-12-04 20:43:07 +01:00
rdb 985ec3061c makepanda: Fix deprecated spelling for threading API
The new spelling is available since Python 2.6, so there is no chance of breakage here.
2021-12-04 20:37:14 +01:00
rdb b42fd4ee4f makepanda: Don't copy over old Python 2-only Pmw versions 2021-11-29 14:50:01 +01:00
rdb 78fb565f2b Merge branch 'release/1.10.x' 2021-11-28 16:14:18 +01:00
rdb 13db762a33 makepanda: Add missing version of Windows 10 SDK 2021-11-28 13:56:21 +01:00
rdb 0e36a99574 Merge branch 'release/1.10.x' 2021-03-22 15:45:45 +01:00
rdb 1654860f36 makepanda: Rename aarch64 thirdparty dir to arm64 for consistency 2021-03-21 15:50:00 +01:00
rdb fb9b334d58 Merge branch 'release/1.10.x' 2021-02-17 10:57:30 +01:00
rdb 059361c87c makepanda: Locate aarch64 thirdparty packages on Linux/FreeBSD
[skip ci]
2021-02-16 11:49:53 +01:00
rdb ce235c3e60 Merge branch 'release/1.10.x' 2021-01-02 19:59:33 +01:00
rdb 6690b2d86e makepanda: Fix build error when flex is absent 2021-01-02 19:29:56 +01:00
rdb fd2041d209 makepanda: Fix detecting flex version on macOS, more robust checking 2021-01-02 18:50:23 +01:00
rdb 748dd61615 makepanda: Require flex 2.5.9 for building egg lexer
Otherwise, fall back to prebuilt file instead
2021-01-02 12:55:34 +01:00
rdb 2b84bfc145 makepanda: Code formatting 2020-12-31 13:44:13 +01:00
rdb fff0a67189 makepanda: better support building with FMOD Ex on macOS for now
This means preferring the 10.13 SDK except when targeting arm64 (in which case FMOD Ex is disabled with a warning).
2020-12-28 18:52:02 +01:00
rdb a3010a43a5 Merge branch 'release/1.10.x' 2020-12-24 15:31:52 +01:00
rdb 5c98c6fb71 makepanda: accept arm64 as alias for aarch64 when building for Android 2020-12-24 13:21:35 +01:00
rdb f4fa444013 Merge branch 'release/1.10.x' 2020-12-22 00:37:50 +01:00
rdb 5cd6469fd8 makepanda: Don't make built/Frameworks directory unless needed
It is no longer needed if we don't ship Cg as a framework, see #1079

[skip ci]
2020-12-21 22:10:53 +01:00
rdb f5e7b0a439 makepanda: prefer more recent macOS SDKs over older ones
See Apple's recommendations:
https://developer.apple.com/library/archive/qa/qa1806/_index.html

We may still be limited to the 10.13 SDK to be able to build FMOD Ex.
2020-12-19 00:13:19 +01:00
rdb 8231bc12bf makepanda: remove --osxtarget option
We can target 10.9 (the minimum supported) even with the 11.1 SDK, so we should just check for whichever SDK is available, and always target 10.9 (or 11.0 when building for arm64 only, since arm64 requires 11.0 to begin with).

This also means that --universal will always add both x86_64 and arm64 to the build.
2020-12-18 13:11:35 +01:00
rdb a5ae292c3e Merge branch 'release/1.10.x' 2020-12-18 12:56:31 +01:00
rdb a18edf54b7 makepanda: Changes to support build for macOS 11.0 / arm64
Besides use of --universal with --osxtarget 11, it's now also possible to create a fat build with ARM64 by using --osxtarget 10.9 --arch x86_64 --arch arm64 (it will use the 11.x SDK but target 10.9)

FMOD Ex is also being disabled when building against the 10.14 SDK or higher, because the necessary libstdc++.6.0.9.dylib is no longer being shipped.  FMOD Ex, libRocket and Cg are all disabled on ARM64 (FMOD Ex and Cg don't have the binaries available, libRocket could theoretically be built but there's no point as there won't be an ARM64 build of Python 2.7, and besides, we've deprecated it anyway).

Fixes #1062
2020-12-17 13:00:22 +01:00
rdb ed397b3ab8 Merge branch 'release/1.10.x' 2020-12-09 17:59:37 +01:00
rdb 951c182c0e makepanda: Preparatory changes for Big Sur / arm64 builds 2020-11-30 19:46:20 +01:00
Derzsi Dániel 862d06b7a8 workflow: Add Python 3.9 to GitHub CI workflow
Closes #1054
2020-11-23 10:58:23 +01:00
rdb e879817ed5 makepanda: Remove support for Python 3.5 2020-10-02 12:05:59 +02:00
rdb 54b93116e8 Merge branch 'release/1.10.x' 2020-09-16 10:59:59 +02:00
rdb 7f11dc19cd makepanda: fix ABI flags not being stripped from PYTHONVERSION 2020-09-14 19:31:07 +02:00
rdb 66ac3be604 Merge branch 'release/1.10.x' into master 2020-09-12 23:23:58 +02:00
rdb 54ffc534fb makepanda: Fix various issues building with Python 3.10 2020-09-12 22:49:46 +02:00
Mitchell Stokes d547225a55 Move speedtree code to contrib
SpeedTree support in Panda is unmaintained, so move it to contrib to better
reflect it's current status.

Closes #990
2020-09-01 08:57:57 +02:00
rdb cada6c2c7b Revert "makepanda: Add pyenv support"
This reverts commit eef55f19d8.
2020-06-14 11:07:24 +02:00
Mitchell Stokes eef55f19d8 makepanda: Add pyenv support
Only tested on Linux with Clang

Closes #943
2020-06-02 20:42:29 +02:00
rdb d799a09002 cleanup: Remove support for EOL versions of Python
Fixes #905
2020-04-26 20:07:56 +02:00
rdb 8d472dfbcc makepanda: remove unused 2to3 code in CopyPythonTree
We haven't needed this for a while since the direct tree is both Python 2 and 3 capable, and furthermore, Python 2.7 is EOL and will be dropped soon in Panda3D.
2020-01-13 16:15:44 +01:00
rdb 0b0f3d2f8e dxgsg9: drop support for old dxerr9.lib (part of #433)
This drops support for the *really* old DX SDKs.  We still support the June 2010 SDK.
2020-01-13 16:00:31 +01:00
rdb 4c1373b721 makepanda: default to Windows 8.1 SDK, falling back to 7.1 SDK
We no longer support Windows XP and so there is no point in defaulting to the old 7.1 SDK, which is hard to install.  To target Vista, we can use the 8.1 SDK (+UCRT).
2020-01-13 15:27:56 +01:00
rdb 492073cc87 makepanda: fix comments erroneously referring to PandaVersion.pp 2020-01-13 15:13:35 +01:00
rdb 640683cdb9 Merge branch 'release/1.10.x' 2020-01-13 15:12:55 +01:00
rdb 2fd703af6c makepanda: fix using Windows 8.1 SDK (which also requires UCRT) 2020-01-13 15:02:36 +01:00
rdb 09bddf4315 physx: remove support for NVIDIA PhysX
Our support was stuck on an ancient version that has not been available for a while.  If we were to continue support it should be done around the new PhysX 5.0 API, not 2.8.4.
2020-01-07 21:57:22 +01:00
rdb b78b7be326 Merge branch 'release/1.10.x' 2019-12-30 01:50:54 +01:00
rdb 7b5e11e9c9 makepanda: add support for Windows 10.0.18362.0 SDK 2019-12-28 20:57:44 +01:00
rdb 1c50abb79b Add support for Maya 2020 2019-12-28 20:57:21 +01:00
rdb 390abac276 Merge branch 'release/1.10.x' 2019-12-18 18:00:41 +01:00
rdb 8645e9d2a4 makepanda: distinguish macOS 10.6 from 10.9 libs in thirdparties
This is specifically for C++ thirdparty libraries, which are linked against either libc++ or libstdc++, and can now both be present in the thirdparty download, in order to address #584

This is a temporary fix for 1.10.5 that will not be present on master (due to #300)
2019-12-18 09:06:15 -05:00
rdb 0456fdcd92 makepanda: update CommandLineTools paths for newer XCode versions 2019-12-18 08:42:43 -05:00