File tree 2 files changed +19
-0
lines changed
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"
25
25
EXT_XDEBUG_VERSION=" 3.3.1"
26
26
EXT_IGBINARY_VERSION=" 3.2.15"
27
27
EXT_CRYPTO_VERSION=" abbe7cbf869f96e69f2ce897271a61d32f43c7c0"
28
+ EXT_SNAPPY_VERSION=" 0.2.1"
28
29
EXT_RECURSIONGUARD_VERSION=" 0.1.0"
29
30
EXT_LIBDEFLATE_VERSION=" 0.2.1"
30
31
EXT_MORTON_VERSION=" 0.1.2"
@@ -1321,6 +1322,14 @@ git submodule update --init --recursive >> "$DIR/install.log" 2>&1
1321
1322
cd " $BUILD_DIR "
1322
1323
write_done
1323
1324
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
+
1324
1333
get_github_extension " leveldb" " $EXT_LEVELDB_VERSION " " pmmp" " php-leveldb"
1325
1334
1326
1335
get_github_extension " chunkutils2" " $EXT_CHUNKUTILS2_VERSION " " pmmp" " ext-chunkutils2"
@@ -1557,6 +1566,7 @@ $HAVE_MYSQLI \
1557
1566
--enable-grpc=" $INSTALL_DIR " \
1558
1567
--enable-protobuf \
1559
1568
--enable-zstd \
1569
+ --enable-snappy \
1560
1570
--enable-vanillagenerator \
1561
1571
--enable-opcache=$HAVE_OPCACHE \
1562
1572
--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
32
32
set PHP_IGBINARY_VER = 3.2.15
33
33
set PHP_LEVELDB_VER = 317fdcd8415e1566fc2835ce2bdb8e19b890f9f3
34
34
set PHP_CRYPTO_VER = abbe7cbf869f96e69f2ce897271a61d32f43c7c0
35
+ set PHP_SNAPPY_VER = 0.2.1
35
36
set PHP_RECURSIONGUARD_VER = 0.1.0
36
37
set PHP_MORTON_VER = 0.1.2
37
38
set PHP_LIBDEFLATE_VER = 0.2.1
@@ -346,6 +347,13 @@ git checkout %PHP_CRYPTO_VER% >>"%log_file%" 2>&1 || exit 1
346
347
git submodule update --init --recursive >> " %log_file% " 2 >& 1 || exit 1
347
348
cd /D ..
348
349
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
+
349
357
cd /D ..\..
350
358
351
359
:skip
@@ -384,6 +392,7 @@ call configure^
384
392
--enable-phar^
385
393
--enable-vanillagenerator=shared^
386
394
--enable-zstd^
395
+ --enable-snappy^
387
396
--enable-grpc=shared^
388
397
--enable-protobuf=shared^
389
398
--enable-recursionguard=shared^
You can’t perform that action at this time.
0 commit comments