File tree 2 files changed +27
-1
lines changed
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|
144
144
end
145
145
146
146
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
+
147
170
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
149
172
SHELL
150
173
end
Original file line number Diff line number Diff line change 33
33
/* php.h requires the isnan() macro, which is removed by c++ <cmath> header,
34
34
* work around: re-define the macro to std::isnan function */
35
35
#define isnan (a ) std::isnan(a)
36
+
37
+ /* likewise isfinite */
38
+ #define isfinite (a ) std::isfinite(a)
36
39
#endif
37
40
38
41
extern " C" {
You can’t perform that action at this time.
0 commit comments