Skip to content

Commit 32f2285

Browse files
committed
Add FFI support
1 parent 015e64f commit 32f2285

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/main-pm-matrix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# Used "set -ex" instead of hashbang since script isn't executed with hashbang
3535
set -ex
3636
trap "exit 1" ERR
37-
./compile.sh -t linux64 -j 4 -g -P ${{ inputs.pm-version-major }} -c ./download_cache -D
37+
./compile.sh -t linux64 -j 4 -g -F -P ${{ inputs.pm-version-major }} -c ./download_cache -D
3838
3939
- name: Create tarball
4040
run: |
@@ -97,7 +97,7 @@ jobs:
9797
export PATH="/usr/local/opt/bison/bin:$PATH"
9898
set -ex
9999
trap "exit 1" ERR
100-
./compile.sh -t ${{ matrix.target-name }} -j4 -g -P ${{ inputs.pm-version-major }} -c ./download_cache -D
100+
./compile.sh -t ${{ matrix.target-name }} -j4 -g -F -P ${{ inputs.pm-version-major }} -c ./download_cache -D
101101
102102
- name: Create tarball
103103
run: |

windows-compile-vs.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ call configure^
398398
--with-crypto=shared^
399399
--with-curl^
400400
--with-dom^
401+
--with-ffi^
401402
--with-gd=shared^
402403
--with-gmp^
403404
--with-iconv^
@@ -474,6 +475,7 @@ if "%PM_VERSION_MAJOR%" geq "5" (
474475
(echo opcache.optimization_level=0x7FFEBFFF)>>"%php_ini%"
475476
(echo opcache.cache_id=PHP_BINARY ;prevent sharing SHM between different binaries - they won't work because of ASLR)>>"%php_ini%"
476477
(echo ;Optional extensions, supplied for plugin use)>>"%php_ini%"
478+
(echo extension=php_ffi.dll)>>"%php_ini%"
477479
(echo extension=php_fileinfo.dll)>>"%php_ini%"
478480
(echo extension=php_gd.dll)>>"%php_ini%"
479481
(echo extension=php_grpc.dll)>>"%php_ini%"

0 commit comments

Comments
 (0)