rdb
951c182c0e
makepanda: Preparatory changes for Big Sur / arm64 builds
2020-11-30 19:46:20 +01:00
rdb
aace94a521
makepanda: Fix version checks for macOS 11.0 Big Sur
...
Fixes #1056
2020-11-25 01:22:26 +01:00
Daniel
5443f62068
makepanda: Add missing YY_NO_UNISTD_H to built Flex sources
...
Closes #1028
2020-10-02 12:15:26 +02:00
kamgha
30d8c90f77
makepanda: MSVC fix generating non-SSE2 code for x86
...
Closes #1018
Fixes #1017
2020-09-13 15:17:02 +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
54ff2a8dda
makepanda: support --cggl-incdir and --cggl-libdir options
...
It's quite hacky right now, but that doesn't matter as we're switching to CMake anyway
2020-02-29 16:55:14 +01:00
rdb
8ff2064fe5
makepanda: auto-detect manylinux2010 and manylinux2014 platforms
2020-02-22 12:10:55 +01:00
rdb
59608c9079
makepanda: force flex step for dcParser to occur after bison step
...
This fixes an erratic build failure reported by the Travis GCC builder.
2020-02-10 13:48:38 +01:00
rdb
6f17a9e36a
makepanda: disable plug-ins in Config.prc that weren't compiled
...
This also disables the plug-ins if we are building them statically.
2020-01-22 09:16:02 +01:00
rdb
e5b7760b85
makepanda: do not pass -Wl,--exclude-libs on macOS for OpenSSL
...
Part two of fix for build regression introduced in e78ce78acf (see #851 )
2020-01-21 15:29:12 +01:00
rdb
6b5c473b8e
makepanda: do not pass -Wl,--exclude-libs on macOS
...
Fixes build regression introduced in e78ce78acf (see #851 )
2020-01-21 15:21:16 +01:00
rdb
e78ce78acf
makepanda: don't export symbols of linked static libraries
...
This results in size savings for thirdparty libraries that are only used once, and a size increase for libraries used more than once (eg. OpenSSL). More importantly, it prevents conflicts with other versions of the libraries loaded by other Python modules, such as the version of OpenSSL that the hmac module uses.
We need to be careful to only apply this for packages that are either used once, used in a plug-in module, or if we don't need to pass thirdparty library structures across Panda library boundaries. For example, I haven't done this for Bullet, since the Bullet symbols need to be available through libpandabullet.so due to the fact that pandabullet contains calls to the Bullet libraries in the inline methods.
Fixes #851
2020-01-21 14:35:17 +01:00
rdb
8859ad8c1b
makepanda: remove explicit OpenSSL link where it is unneeded
...
These were probably added before makepanda gained the ability to automatically add dependencies of static libraries when linking statically.
They don't really do any harm--the linker will probably optimize these out automatically--but it's cleaner not to add unused dependencies.
2020-01-21 14:07:36 +01:00
rdb
ca89b7420a
Update Python 2.7 EOL warnings to indicate that EOL date is reached
...
[skip ci]
2020-01-06 00:36:49 +01:00
rdb
2d11f36c9e
makepanda: add docstring for panda3d.dtoolconfig module
2019-12-29 15:06:24 +01:00
rdb
530955b53e
makepanda: add explicit link to libOpenMayaUI.dylib on macOS
...
This is needed when compiling without -undefined dynamic_lookup
2019-12-29 14:19:58 +01:00
rdb
4c3b6fcc03
makepanda: libIMFbase.dylib is no longer shipped with Maya 2020 on macOS
2019-12-28 21:27:51 -05:00
rdb
7aab057245
makepanda: change strange rpath argument for maya2egg on macOS
...
It doesn't seem like this setting is actually needed (because mayapath does the necessary set-up), but while it's set, we might as well set it to something more sensible.
2019-12-28 21:25:41 -05:00
rdb
8c82cf5800
makepanda: --universal should not enable i386 when targeting 10.15+
...
[skip ci]
2019-12-29 00:27:59 +01:00
rdb
0456fdcd92
makepanda: update CommandLineTools paths for newer XCode versions
2019-12-18 08:42:43 -05:00
rdb
4c62260291
makepanda: add -framework AudioUnit for OpenAL Soft ( #678 )
2019-12-18 08:41:58 -05:00
kamgha
6e36abf5ba
makepanda: build against OpenEXR 2.4 (MSVC)
...
Fixes #799
Closes #800
2019-12-08 10:29:44 +01:00
rdb
1cfd297433
makepanda: specify freetype library after harfbuzz as well
...
This fixes static linking of harfbuzz and freetype, which have a circular dependency on each other.
2019-11-17 20:37:33 +01:00
rdb
edbdf43f07
makepanda: PANDA_VERSION_STR should contain the full version number
2019-08-19 22:57:51 +02:00
rdb
2b0a2ea6df
makepanda: allow passing in more than 3 digits in version number
2019-08-19 21:57:49 +02:00
rdb
262f8b7643
makepanda: look in correct location for VC 2017 dlls
2019-08-13 17:48:47 +02:00
rdb
df8ccdb7ab
Add support for Python 3.8
2019-08-13 17:48:32 +02:00
rdb
cee000d1da
makepanda: pick up AudioToolbox and CoreAudio frameworks on macOS
...
These seem to be needed to compile against OpenAL Soft.
Fixes #678
Fixes #679
2019-07-10 10:05:10 +02:00
Sam Edwards
be247e1be9
makepanda: Remove config entry for defunct HAVE_SOFTIMAGE
2019-04-15 16:46:14 -06:00
rdb
fa43591f7a
makepanda: show warning when attempting to build with Python 2.7
...
See #602
2019-04-02 22:41:09 +02:00
rdb
6cbc7ac22f
makepanda: fix missing Python link when building on Android
...
[skip ci]
2019-03-16 23:58:13 +01:00
Sebastian Hoffmann
915e290513
makepanda: expose save_egg_file/save_egg_data to Python
...
Closes #582
2019-03-12 18:08:19 +01:00
rdb
5426ec68dd
makepanda: properly respect --x11-incdir setting
2019-03-07 17:33:57 +01:00
Younguk Kim
a7c8827dde
makepanda: add support for Visual Studio 2019
...
Closes #570
2019-02-28 18:37:20 +01:00
rdb
bf846cd461
makepanda: fall back to libassimpd.so if libassimp.so not found
2019-02-19 21:22:04 +01:00
rdb
d93fb702eb
makepanda: fix various syntax warnings in Python 3.8
2019-02-11 18:58:22 +01:00
rdb
c0b973b789
makepanda: support cross-compiling for Android again
2019-01-20 00:32:26 +01:00
Younguk Kim
5a9a87d2c1
makepanda: fix link error of assimp tool
...
Closes #535
2019-01-13 21:49:41 +01:00
rdb
eed0834ccb
makepanda: fix error concatenating platform
...
[skip ci]
2019-01-06 09:53:35 +01:00
rdb
62781c154b
makepanda: fix instructions to find Opus thirdparty pkg on Windows
2018-12-30 20:09:57 +01:00
rdb
01915a36db
Merge branch 'master' into deploy-ng
2018-12-26 23:41:50 +01:00
rdb
94d1722c8c
makepanda: add --no-copy-python flag for Windows build
...
This will avoid copying over the python installation to the built/python directory.
2018-12-24 20:51:20 +01:00
rdb
8a38337e6b
makepanda: fix model cache written in current dir on macOS
...
This was a regression in 2b537d2263 that caused the model-cache to be written to ./Library/Caches rather than $HOME/Library/Caches
2018-12-24 00:17:02 +01:00
rdb
395b9733fb
makepanda: when making Linux package, ship Python 2 and 3 bindings
...
See #441 for discussion.
2018-12-23 22:28:12 +01:00
Mitchell Stokes
587237577f
deploy-ng: Move distribution related files from direct.showtutil to direct.dist
2018-12-18 20:33:12 -08:00
rdb
a7752da4f1
Merge branch 'master' into deploy-ng
2018-12-09 20:22:23 +01:00
rdb
b474ef6b1e
makepanda: split out installer code into separate makepackage.py
2018-12-09 19:00:01 +01:00
rdb
b674104c1f
makepanda: don't error for harmless use of removed options
...
Let's show a warning when an option has been removed but its presence would not have affected the build in an important way. For options like --use-awesomium we should still show an error since it invokes behavior we no longer support, but it should be harmless to specify --no-awesomium.
2018-12-09 17:09:27 +01:00
rdb
4213e0a50a
Remove awesomium (see #440 )
2018-12-09 15:53:23 +01:00
rdb
97946cf95e
makepanda: deploy-stub should be a Python-version-specific target
2018-12-02 21:39:41 +01:00
rdb
f2f4b4c264
Merge branch 'master' into deploy-ng
2018-12-02 16:26:13 +01:00
kamgha
43ce32478f
makepanda: find OpenEXR 2.3 and its static variant for MSVC
...
Closes #463
2018-12-02 12:18:16 +01:00
rdb
c560c502b9
Merge branch 'master' into deploy-ng
2018-12-01 22:14:01 +01:00
rdb
d7124d4df4
Merge branch 'master' into deploy-ng
2018-11-29 12:57:49 +01:00
rdb
26fcf131c9
Merge branch 'master' into input-overhaul
2018-11-25 17:10:31 +01:00
rdb
356b604627
makepanda: link with IrrXML when using static assimp library
...
Same fix as #432 but for Linux
2018-11-20 14:50:40 +01:00
rdb
02979fa106
makepanda: use pkg-config for locating assimp
2018-11-20 14:49:44 +01:00
rdb
3d7fcf2ce9
Merge branch 'master' into deploy-ng
2018-11-12 18:31:43 +01:00
rdb
074c5187b0
Adopt new WindowProperties(size=(x, y), ...) short-hand
...
This is intended as replacement for WindowProperties.size(x, y), which is deprecated since it conflicts with the `size` property. See #444 .
2018-11-12 17:53:53 +01:00
Sam Edwards
29beb0f043
assimp: Update include path
...
This changes the Assimp include path to point to the
directory containing assimp/ instead of inside assimp/
directly. This is for consistency with how the Assimp
project defines their "include path" and keeps the actual
inclusions themselves unambiguous (since Assimp's headers
have fairly generic filenames).
2018-11-10 18:00:09 -07:00
Sam Edwards
37e265cb63
ode: Delete unused odeHeightFieldGeom.h file
2018-11-10 18:00:07 -07:00
rdb
b37cfd6573
makepanda: use correct Registry key for 32-bit Python 3.5+
2018-11-09 17:50:17 +01:00
rdb
223c532ce7
makepanda: link libpandagl into pview when using --static
2018-11-09 11:43:28 +01:00
rdb
e5f398a861
makepanda: tweaks to .deb files; don't suggest panda3d-runtime
2018-11-08 15:51:30 +01:00
rdb
87c453fc08
makepanda: refactor code to emit errors/warnings
2018-11-08 15:49:17 +01:00
rdb
61dbe47884
makepanda: fix PhysX linker error on Windows
2018-11-08 15:48:12 +01:00
rdb
cf65010a54
Merge branch 'master' into deploy-ng
2018-11-06 23:40:24 +01:00
rdb
70bfe21a63
Merge branch 'master' into input-overhaul
2018-11-06 22:10:39 +01:00
rdb
b8ed9b1275
Remove pystub dependency from interrogate and friends
2018-11-06 21:49:17 +01:00
rdb
995ba28650
makepanda: allow building multiple Python versions in one built dir
...
This is done by adding a PyTargetAdd function, which builds the target into a Python ABI-specific temporary directory, allowing multiple Python versions to be built into the same built dir side-by-side. This could greatly speed up buildbot builds.
It also paves the way for building multiple Python versions in the same makepanda call / installer by changing PyTargetAdd to add one target per enabled Python version.
2018-11-06 20:15:19 +01:00
rdb
49b72fb198
Move Python support code from libp3interrogatedb to generated module
...
This prevents libp3interrogatedb from having a dependency on the Python library.
See #387
2018-11-06 19:24:37 +01:00
rdb
a799bcaec9
Merge branch 'master' into deploy-ng
2018-11-03 22:51:32 +01:00
rdb
5ac3cf3fc6
Eliminate C++ DConfig; replace it with a Python compatibility shim
2018-11-02 23:27:07 +01:00
rdb
357b6d3093
Merge branch 'master' into input-overhaul
2018-10-29 23:40:46 +01:00
rdb
54b3474670
Merge branch 'master' into deploy-ng
2018-10-28 20:47:36 +01:00
rdb
733c7f2352
makepanda: remove mention of removed softprogs/softcvs
2018-10-28 12:00:10 +01:00
rdb
99aa598de0
makepanda: don't try to link static libs into static library
2018-10-28 11:51:25 +01:00
rdb
bb71cd68e1
makepanda: use /BIGOBJ flag when compiling p3gobj_composite2.cxx
2018-10-28 11:40:28 +01:00
Younguk Kim
6b00fe7987
makepanda: fix link error of assimp tool
...
Closes #432
2018-10-28 11:40:08 +01:00
Mitchell Stokes
b16f9f8f4f
Merge branch 'master' into deploy-ng
2018-10-18 17:58:21 -07:00
rdb
df77bacf06
makepanda: compile graphicsStateGuardian.cxx separately, earlier
...
Since this still takes a long time to build, even with the previous change, it would be better for one CPU to chew on this in the background while the rest of the build continues.
2018-10-19 00:37:00 +02:00
rdb
c28045990c
Merge branch 'master' into deploy-ng
2018-10-15 15:42:48 +02:00
rdb
a765c32bae
makepanda: don't use -fno-rtti on macOS, it fails to compile
...
It appears that <tr1/functional> (included by <tr1/tuple>) uses RTTI, so we can't enable this for now.
2018-10-15 13:32:22 +02:00
rdb
02a72d4273
makepanda: remove reference to QuickTime framework
...
Doesn't appear to be necessary, and QuickTime framework is removed in Mojave.
Fixes #412
2018-10-15 13:30:22 +02:00
rdb
9061fd9416
dtoolutil: fix TextEncoder methods for Python 3
...
The no-arguments get_text() and set_text() will now return Unicode strings in Python 3, but passing in an encoding will make them return/take bytes objects.
In Python 2, they all take regular strings, but Unicode is also accepted by the no-argument get_text() and set_text().
In the future we probably want to remove most of this interface for Python users, to whom all this is unnecessary since it duplicates functionality already in the standard library.
2018-10-08 22:14:51 +02:00
rdb
14042faa3d
Merge branch 'master' into input-overhaul
2018-10-08 01:25:33 +02:00
rdb
a9ff8a22f0
makepanda: enable Assimp in default Confauto.prc if built
2018-10-07 23:00:17 +02:00
rdb
79d8b82cbb
makepanda: fix detection of manylinux platform
...
[skip ci]
2018-09-17 19:06:32 +02:00
rdb
338b428e65
Merge branch 'master' into deploy-ng
2018-09-17 17:37:07 +02:00
rdb
e30b597926
Merge branch 'master' into input-overhaul
2018-09-16 12:28:22 +02:00
rdb
809f9b04f6
Fix problems with spinlock mutex/cvar implementation
...
This reimplements the spinlock on top of std::atomic_flag, which is guaranteed to be lockless. It also inserts the PAUSE (REP NOP) instruction which is strongly recommended to be placed in busy-wait loops by Intel.
This also includes a recursive spinlock implementation.
The spinlock implementation is disabled by default, but can be enabled by adding the --override MUTEX_SPINLOCK=1 flag to makepanda.
2018-09-04 12:58:48 +02:00
rdb
1d6c3f6486
Merge branch 'master' into input-overhaul
2018-08-26 19:03:21 +02:00
rdb
57b66ebeaf
Merge branch 'master' into deploy-ng
2018-08-20 19:13:04 +02:00
rdb
35fff81b6a
makepanda: fix missing BUILDING_DIRECT_DCPARSER
...
[skip ci]
2018-08-19 21:06:47 +02:00
Mitchell Stokes
49c47164ff
Merge remote-tracking branch 'origin/master' into deploy-ng
2018-08-12 19:58:15 -07:00
rdb
f84b0840f9
makepanda: work around GCC/Eigen double matrix invert bug
...
Fixes #228
2018-08-12 22:15:40 +02:00
Mitchell Stokes
e4cf73378c
Merge remote-tracking branch 'origin/master' into deploy-ng
2018-07-15 14:38:05 -07:00
Mitchell Stokes
c33ae8a95f
Merge branch 'master' into deploy-ng
2018-07-15 12:42:51 -07:00
rdb
234fd675b1
Merge branch 'master' into input-overhaul
2018-06-23 23:24:09 +02:00