File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ EXT_CHUNKUTILS2_VERSION="0.3.5"
2525EXT_XDEBUG_VERSION=" 3.3.1"
2626EXT_IGBINARY_VERSION=" 3.2.15"
2727EXT_CRYPTO_VERSION=" abbe7cbf869f96e69f2ce897271a61d32f43c7c0"
28+ EXT_SNAPPY_VERSION=" 0.2.1"
2829EXT_RECURSIONGUARD_VERSION=" 0.1.0"
2930EXT_LIBDEFLATE_VERSION=" 0.2.1"
3031EXT_MORTON_VERSION=" 0.1.2"
@@ -1321,6 +1322,14 @@ git submodule update --init --recursive >> "$DIR/install.log" 2>&1
13211322cd " $BUILD_DIR "
13221323write_done
13231324
1325+ echo -n " snappy: downloading $EXT_SNAPPY_VERSION ..."
1326+ git clone https://github.com/kjdev/php-ext-snappy.git " $BUILD_DIR /php/ext/snappy" >> " $DIR /install.log" 2>&1
1327+ cd " $BUILD_DIR /php/ext/snappy"
1328+ git checkout " $EXT_SNAPPY_VERSION " >> " $DIR /install.log" 2>&1
1329+ git submodule update --init --recursive >> " $DIR /install.log" 2>&1
1330+ cd " $BUILD_DIR "
1331+ write_done
1332+
13241333get_github_extension " leveldb" " $EXT_LEVELDB_VERSION " " pmmp" " php-leveldb"
13251334
13261335get_github_extension " chunkutils2" " $EXT_CHUNKUTILS2_VERSION " " pmmp" " ext-chunkutils2"
@@ -1557,6 +1566,7 @@ $HAVE_MYSQLI \
15571566--enable-grpc=" $INSTALL_DIR " \
15581567--enable-protobuf \
15591568--enable-zstd \
1569+ --enable-snappy \
15601570--enable-vanillagenerator \
15611571--enable-opcache=$HAVE_OPCACHE \
15621572--enable-opcache-jit=$HAVE_OPCACHE_JIT \
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ set PHP_CHUNKUTILS2_VER=0.3.5
3232set PHP_IGBINARY_VER = 3.2.15
3333set PHP_LEVELDB_VER = 317fdcd8415e1566fc2835ce2bdb8e19b890f9f3
3434set PHP_CRYPTO_VER = abbe7cbf869f96e69f2ce897271a61d32f43c7c0
35+ set PHP_SNAPPY_VER = 0.2.1
3536set PHP_RECURSIONGUARD_VER = 0.1.0
3637set PHP_MORTON_VER = 0.1.2
3738set PHP_LIBDEFLATE_VER = 0.2.1
@@ -346,6 +347,13 @@ git checkout %PHP_CRYPTO_VER% >>"%log_file%" 2>&1 || exit 1
346347git submodule update --init --recursive >> " %log_file% " 2 >& 1 || exit 1
347348cd /D ..
348349
350+ call :pm-echo " - snappy: downloading %PHP_SNAPPY_VER% ..."
351+ git clone https://github.com/kjdev/php-ext-snappy.git snappy >> " %log_file% " 2 >& 1 || exit 1
352+ cd /D snappy
353+ git checkout %PHP_SNAPPY_VER% >> " %log_file% " 2 >& 1 || exit 1
354+ git submodule update --init --recursive >> " %log_file% " 2 >& 1 || exit 1
355+ cd /D ..
356+
349357cd /D ..\..
350358
351359:skip
@@ -384,6 +392,7 @@ call configure^
384392 --enable-phar^
385393 --enable-vanillagenerator=shared^
386394 --enable-zstd^
395+ --enable-snappy^
387396 --enable-grpc=shared^
388397 --enable-protobuf=shared^
389398 --enable-recursionguard=shared^
You can’t perform that action at this time.
0 commit comments