Skip to content

Commit

Permalink
remove hiredis
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Apr 11, 2024
1 parent caa4aeb commit ab2eea8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: [ '8.0', '8.1', '8.2', '8.3' ]
php-version: [ '8.1', '8.2', '8.3' ]
framework: [ 'Simps' ]
name: ${{ matrix.framework }} - PHP ${{ matrix.php-version }} - macOS
steps:
Expand Down
14 changes: 2 additions & 12 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ PHP_ARG_ENABLE([thread-context],
[whether to enable thread context],
[AS_HELP_STRING([--enable-thread-context],
[Use thread context])], [no], [no])

PHP_ARG_ENABLE([swoole-thread],
[whether to enable swoole thread support],
[AS_HELP_STRING([--enable-swoole-thread],
Expand Down Expand Up @@ -1034,13 +1034,6 @@ EOF
thirdparty/swoole_http_parser.c \
thirdparty/multipart_parser.c"

swoole_source_file="$swoole_source_file \
thirdparty/hiredis/hiredis.c \
thirdparty/hiredis/alloc.c \
thirdparty/hiredis/net.c \
thirdparty/hiredis/read.c \
thirdparty/hiredis/sds.c"

if test "$PHP_NGHTTP2_DIR" = "no"; then
PHP_ADD_INCLUDE([$ext_srcdir/thirdparty])
swoole_source_file="$swoole_source_file \
Expand Down Expand Up @@ -1191,7 +1184,6 @@ EOF
PHP_ADD_INCLUDE([$ext_srcdir/include])
PHP_ADD_INCLUDE([$ext_srcdir/ext-src])
PHP_ADD_INCLUDE([$ext_srcdir/thirdparty])
PHP_ADD_INCLUDE([$ext_srcdir/thirdparty/hiredis])

AC_MSG_CHECKING([swoole coverage])
if test "$PHP_SWOOLE_COVERAGE" != "no"; then
Expand All @@ -1206,8 +1198,7 @@ EOF
include/*.h \
stubs/*.h \
thirdparty/*.h \
thirdparty/nghttp2/*.h \
thirdparty/hiredis/*.h])
thirdparty/nghttp2/*.h])

PHP_REQUIRE_CXX()

Expand Down Expand Up @@ -1236,7 +1227,6 @@ EOF
PHP_ADD_BUILD_DIR($ext_builddir/src/wrapper)
PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/boost)
PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/boost/asm)
PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/hiredis)
PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php/sockets)
PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php/standard)
PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php/curl)
Expand Down
15 changes: 0 additions & 15 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2407,21 +2407,6 @@
<file role="src" name="thirdparty/boost/asm/make_sparc64_sysv_elf_gas.S" />
<file role="src" name="thirdparty/boost/asm/make_x86_64_sysv_elf_gas.S" />
<file role="src" name="thirdparty/boost/asm/make_x86_64_sysv_macho_gas.S" />
<file role="doc" name="thirdparty/hiredis/CHANGELOG.md" />
<file role="doc" name="thirdparty/hiredis/COPYING" />
<file role="doc" name="thirdparty/hiredis/README.md" />
<file role="src" name="thirdparty/hiredis/alloc.c" />
<file role="src" name="thirdparty/hiredis/alloc.h" />
<file role="src" name="thirdparty/hiredis/fmacros.h" />
<file role="src" name="thirdparty/hiredis/hiredis.c" />
<file role="src" name="thirdparty/hiredis/hiredis.h" />
<file role="src" name="thirdparty/hiredis/net.c" />
<file role="src" name="thirdparty/hiredis/net.h" />
<file role="src" name="thirdparty/hiredis/read.c" />
<file role="src" name="thirdparty/hiredis/read.h" />
<file role="src" name="thirdparty/hiredis/sds.c" />
<file role="src" name="thirdparty/hiredis/sds.h" />
<file role="src" name="thirdparty/hiredis/sdsalloc.h" />
<file role="src" name="thirdparty/multipart_parser.c" />
<file role="src" name="thirdparty/multipart_parser.h" />
<file role="doc" name="thirdparty/nghttp2/COPYING" />
Expand Down

0 comments on commit ab2eea8

Please sign in to comment.