File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
.github/scripts/download-bundled Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,13 @@ commit=b2bd4254b379b9d7dc9a3dda060a7e27009ccdff # 10.46 release
66
77git clone --recurse-submodules --revision=$commit https://github.com/PCRE2Project/pcre2.git /tmp/php-src-bundled/pcre2
88
9- (cd /tmp/php-src-bundled/pcre2 && ./autogen.sh)
10- (cd /tmp/php-src-bundled/pcre2 && ./configure --enable-jit --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-libz --enable-pcre2grep-libbz2)
11-
129rm -rf ext/pcre/pcre2lib
1310cp -R /tmp/php-src-bundled/pcre2/src ext/pcre/pcre2lib
1411cp -R /tmp/php-src-bundled/pcre2/deps/sljit/sljit_src ext/pcre/pcre2lib/sljit
1512
1613cd ext/pcre/pcre2lib
1714
18- # unneeded files
15+ # remove unneeded files
1916rm -rf .deps
2017rm pcre2.h.in
2118rm pcre2_dftables.c
@@ -29,13 +26,13 @@ rm pcre2posix_test.c
2926rm pcre2test.c
3027rm stamp-h1
3128
32- # renamed files
29+ # move renamed files
3330mv config.h.generic config.h
3431mv pcre2.h.generic pcre2.h
3532mv pcre2_chartables.c.dist pcre2_chartables.c
3633
37- # extra files
34+ # add extra files
3835git restore config.h # based on config.h.generic but with many changes
3936
40- # patched files
37+ # patch customized files
4138git apply -v ../../../.github/scripts/download-bundled/pcre2-adjust-sljit-directory.patch
You can’t perform that action at this time.
0 commit comments