Skip to content

Commit

Permalink
v8js build for php7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed May 31, 2020
1 parent c34ebdc commit 7e53275
Show file tree
Hide file tree
Showing 24 changed files with 4,557 additions and 501 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ RUN cd /tmp \
&& ls -la /usr/lib/php
RUN /usr/bin/switch-php.sh "7.4" \
&& pecl -d php_suffix=7.4 install -f --alldeps igbinary couchbase imagick \
&& git clone https://github.com/phpv8/v8js.git /tmp/v8js \
&& cd /tmp/v8js \
&& git checkout php7 && phpize7.4 \
&& ./configure LDFLAGS="-lstdc++" CFLAGS="-fsanitize=address -g -O0" CXXFLAGS="-fsanitize=address -g -O0" --with-v8js=/opt/libv8-7.4 \
&& make all test install \
&& mkdir -p /mytmp/20190902 && rsync -ahp /usr/lib/php/20190902/ /mytmp/20190902/ \
&& rm -rf /tmp/*
RUN /usr/bin/switch-php.sh "7.3" \
Expand Down Expand Up @@ -68,7 +73,7 @@ RUN curl -s -o /tmp/python-support_1.0.15_all.deb https://launchpadlibrarian.net
&& rm -rf /var/lib/apt/lists/* \
&& rm -f /core \
&& rm -rf /tmp/* \
&& find /etc/service/ -name "down" -exec rm -f {} \;
&& find /etc/service/ -name "down" -exec rm -f {} \;

ENV DEBIAN_FRONTEND=teletype

Expand Down
3 changes: 3 additions & 0 deletions rootfs/opt/libv8-7.4/include/APIDesign.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ which in turn guarantees long-term stability of the API.
# The V8 inspector

All debugging capabilities of V8 should be exposed via the inspector protocol.
The exception to this are profiling features exposed via v8-profiler.h.
Changes to the inspector protocol need to ensure backwards compatibility and
commitment to maintain.
7 changes: 4 additions & 3 deletions rootfs/opt/libv8-7.4/include/OWNERS
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
set noparent

[email protected]
[email protected]
[email protected]
[email protected]

per-file v8-internal.h=file://OWNERS
per-file *DEPS=file:../COMMON_OWNERS
per-file v8-internal.h=file:../COMMON_OWNERS
per-file [email protected]
per-file [email protected]
per-file [email protected]
per-file [email protected]
per-file [email protected]
per-file [email protected]
per-file [email protected]
per-file [email protected]

# COMPONENT: Blink>JavaScript>API
997 changes: 997 additions & 0 deletions rootfs/opt/libv8-7.4/include/js_protocol-1.2.json

Large diffs are not rendered by default.

1,205 changes: 1,205 additions & 0 deletions rootfs/opt/libv8-7.4/include/js_protocol-1.3.json

Large diffs are not rendered by default.

Loading

0 comments on commit 7e53275

Please sign in to comment.