Skip to content

Commit

Permalink
Add FFI support
Browse files Browse the repository at this point in the history
  • Loading branch information
dries-c committed Mar 2, 2024
1 parent 015e64f commit 32f2285
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main-pm-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# Used "set -ex" instead of hashbang since script isn't executed with hashbang
set -ex
trap "exit 1" ERR
./compile.sh -t linux64 -j 4 -g -P ${{ inputs.pm-version-major }} -c ./download_cache -D
./compile.sh -t linux64 -j 4 -g -F -P ${{ inputs.pm-version-major }} -c ./download_cache -D
- name: Create tarball
run: |
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
export PATH="/usr/local/opt/bison/bin:$PATH"
set -ex
trap "exit 1" ERR
./compile.sh -t ${{ matrix.target-name }} -j4 -g -P ${{ inputs.pm-version-major }} -c ./download_cache -D
./compile.sh -t ${{ matrix.target-name }} -j4 -g -F -P ${{ inputs.pm-version-major }} -c ./download_cache -D
- name: Create tarball
run: |
Expand Down
2 changes: 2 additions & 0 deletions windows-compile-vs.bat
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ call configure^
--with-crypto=shared^
--with-curl^
--with-dom^
--with-ffi^
--with-gd=shared^
--with-gmp^
--with-iconv^
Expand Down Expand Up @@ -474,6 +475,7 @@ if "%PM_VERSION_MAJOR%" geq "5" (
(echo opcache.optimization_level=0x7FFEBFFF)>>"%php_ini%"
(echo opcache.cache_id=PHP_BINARY ;prevent sharing SHM between different binaries - they won't work because of ASLR)>>"%php_ini%"
(echo ;Optional extensions, supplied for plugin use)>>"%php_ini%"
(echo extension=php_ffi.dll)>>"%php_ini%"
(echo extension=php_fileinfo.dll)>>"%php_ini%"
(echo extension=php_gd.dll)>>"%php_ini%"
(echo extension=php_grpc.dll)>>"%php_ini%"
Expand Down

0 comments on commit 32f2285

Please sign in to comment.