fe1790ca0d
* Add scripts to test multirequest * chmod ug+x multirequest.sh * Add continuous test * Compile c extension * Class entry is obsolete in the second request 1) Needes to use class name in persistent map 2) Invalidate class entry stored in descriptor * Add new files to dist * Fix compile_extension * Cleanup outputs for phpize
15 lines
494 B
Bash
Executable File
15 lines
494 B
Bash
Executable File
#!/bin/bash
|
|
|
|
VERSION=$2
|
|
|
|
export PATH=/usr/local/php-$VERSION/bin:$PATH
|
|
export C_INCLUDE_PATH=/usr/local/php-$VERSION/include/php/main:/usr/local/php-$VERSION/include/php:$C_INCLUDE_PATH
|
|
export CPLUS_INCLUDE_PATH=/usr/local/php-$VERSION/include/php/main:/usr/local/php-$VERSION/include/php:$CPLUS_INCLUDE_PATH
|
|
|
|
pushd ../ext/google/protobuf
|
|
make clean || true
|
|
set -e
|
|
# Add following in configure for debug: --enable-debug CFLAGS='-g -O0'
|
|
phpize && ./configure CFLAGS='-g -O0 -Wall' && make
|
|
popd
|