Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PocketMine/php-build-scripts
Compile scripts used to build PHP on multiple platforms
https://github.com/PocketMine/php-build-scripts
Last synced: 2 months ago
JSON representation
Compile scripts used to build PHP on multiple platforms
- Host: GitHub
- URL: https://github.com/PocketMine/php-build-scripts
- Owner: PocketMine
- Archived: true
- Created: 2014-06-30T16:45:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-12T20:29:25.000Z (over 7 years ago)
- Last Synced: 2024-08-03T01:39:29.819Z (6 months ago)
- Language: Shell
- Size: 260 KB
- Stars: 28
- Watchers: 9
- Forks: 35
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Custom PHP build scripts for PocketMine-MP
## compile.sh
Use this script to build the custom PHP binary. Make sure you have ``make autoconf automake libtool m4 wget getconf gzip bzip2 bison g++``.
| Flag | Description |
| ------ | ------------------------------------------------------------ |
| -t | Set target |
| -j | Set make threads to # |
| -c | Will force compile cURL |
| -l | Will compile with LevelDB support (not supported with PHP7) |
| -f | Enabling abusive optimizations... |### Example:
| Target | Arguments |
| ------- | --------- |
| linux64 | ``-t linux64 -l -j 2 -c -f x86_64`` |
| mac64 | ``-t mac64 -l -j -c -f`` |## installer.sh
Script to install PocketMine-MP and PHP binaries.
| Flag | Description |
| ------ | ----------------------------------- |
| -u | Update PocketMine-MP |
| -d | Install directory |
| -v | Channel (stable or development) |## jenkins.sh
PHP binaries provided by PocketMine are build using this script. The script runs the ``compile.sh`` with some default arguments.
## Extra libraries
### Unix
- https://github.com/madler/zlib/
- http://sourceforge.net/projects/mcrypt/
- https://gmplib.org/
- https://tls.mbed.org/
- https://github.com/bagder/curl/
- http://pyyaml.org/ or https://github.com/yaml/libyaml/
- https://sourceforge.net/projects/libpng/
- https://pecl.php.net/package/pthreads
- https://pecl.php.net/package/Weakref
- https://github.com/php/pecl-file_formats-yaml/### Windows
- http://windows.php.net/downloads/pecl/releases/pthreads/
- http://windows.php.net/downloads/pecl/releases/weakref/
- http://windows.php.net/downloads/pecl/releases/yaml/