Skip to content

Commit

Permalink
Add swoole, disable zts and remove parallel extension
Browse files Browse the repository at this point in the history
  • Loading branch information
donhardman committed Oct 11, 2023
1 parent e1aebd7 commit df28fa3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
3 changes: 2 additions & 1 deletion build-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ ENABLE_STATIC=yes
--with-pcre-jit --enable-zstd --with-libzstd \
--enable-pcntl --enable-posix \
--enable-sockets \
--enable-zts --enable-parallel --enable-ds \
--enable-ds \
--enable-swoole \
--with-openssl --with-zlib --with-zip \
--enable-filter \
--with-curl \
Expand Down
12 changes: 6 additions & 6 deletions build-bash-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ set -e

PHP_VERSION="$1"
ZSTD_REV="2dfcd6524ccdcef6dfdaa97d7f3716b866885093"
PARALLEL_REV="25ba1ee594c350b0e3e239c6b995d772d0e4fc9c"
DS_REV="d42750d69beb684ec3ef7b3da48fba769ce57ffc"
SWOOLE_REV="b72d22ad65dbcc0a5cf75b4d6a483b73c9f32157"
SKIP_SYSTEM_DEPS="$2"
BUILD_DEV="$3"
BUILD_STATIC=1 # Always build static but dev
Expand Down Expand Up @@ -43,16 +43,16 @@ cd zstd && git checkout "$ZSTD_REV"
# cd zstd && make && cd ..
cd ..

# parallel
git clone https://github.com/manticoresoftware/krakjoe-parallel.git parallel
cd parallel && git checkout "$PARALLEL_REV"
cd ..

# ds
git clone https://github.com/php-ds/ext-ds.git ds
cd ds && git checkout "$DS_REV"
cd ..

# openswoole
git clone https://github.com/swoole/swoole-src.git swoole
cd swoole && git checkout "$SWOOLE_REV"
cd ..

cd ..

BUILD_EXTRA=()
Expand Down
3 changes: 2 additions & 1 deletion build-linux
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ ENABLE_STATIC=yes
--with-pcre-jit --enable-zstd --with-libzstd \
--enable-pcntl --enable-posix \
--enable-sockets \
--enable-zts --enable-parallel --enable-ds \
--enable-ds \
--enable-swoole \
--with-openssl --with-zlib --with-zip \
--enable-filter \
--with-curl \
Expand Down
2 changes: 1 addition & 1 deletion build-osx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fi
--with-pcre-jit --enable-zstd --with-libzstd \
--enable-pcntl --enable-posix \
--enable-sockets \
--enable-zts --enable-parallel \
--enable-swoole \
--with-openssl --with-zlib --with-zip \
--enable-filter \
--with-curl \
Expand Down

0 comments on commit df28fa3

Please sign in to comment.