File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,30 @@ Vagrant.configure("2") do |config|
144144 end
145145
146146
147+ #
148+ # ubuntu xenial(16.04) box with PHP 7.1.3, V8 5.2
149+ # (to reproduce issue #304)
150+ #
151+ config . vm . define "xenial-v8-5.2" do |i |
152+ i . vm . box = "ubuntu/xenial64"
153+ i . vm . synced_folder "." , "/data/v8js"
154+
155+ i . vm . provision "shell" , inline : <<-SHELL
156+ gpg --keyserver keys.gnupg.net --recv 7F438280EF8D349F
157+ gpg --armor --export 7F438280EF8D349F | apt-key add -
158+
159+ apt-get update
160+ apt-get install -y software-properties-common gdb tmux git tig curl apache2-utils lcov
161+
162+ add-apt-repository ppa:ondrej/php
163+ add-apt-repository ppa:pinepain/libv8-5.2
164+ apt-get update
165+ apt-get install -y php7.1-dev libv8-5.2-dbg libv8-5.2-dev
166+ SHELL
167+ end
168+
169+
147170 config . vm . provision "shell" , inline : <<-SHELL
148- mkdir -p /data/build && chown vagrant:vagrant /data/build
171+ mkdir -p /data/build && chown 1000:1000 /data/build
149172 SHELL
150173end
Original file line number Diff line number Diff line change 3333/* php.h requires the isnan() macro, which is removed by c++ <cmath> header,
3434 * work around: re-define the macro to std::isnan function */
3535#define isnan (a ) std::isnan(a)
36+
37+ /* likewise isfinite */
38+ #define isfinite (a ) std::isfinite(a)
3639#endif
3740
3841extern " C" {
You can’t perform that action at this time.
0 commit comments