Browse Source

Tweak to use latest node, and detached child process which hopefully will prevent process killing issues

dev/git-series/gccdum
Matt Godbolt 10 years ago
parent
commit
914ea38364
  1. 3
      app.js
  2. 3
      etc/config/gcc-explorer.lud-ldnmg01.properties
  3. 4
      package.json

3
app.js

@ -157,7 +157,8 @@ function compile(req, res) {
}
var child = child_process.spawn(
compiler,
options
options,
{detached: true}
);
var stdout = "";
var stderr = "";

3
etc/config/gcc-explorer.lud-ldnmg01.properties

@ -1,7 +1,8 @@
# Default settings for GCC Explorer.
port=10240
compileTimeoutMs=4000
compileTimeoutMs=50
compilers=/usr/bin/g++-4.4:/usr/bin/g++-4.5:/usr/bin/g++-4.6:/usr/bin/g++-4.7:/usr/bin/clang++:/home/mgodbolt/apps/intel-icc-oss/bin/icc:/site/apps/gcc-4.7.2-drw.patched.6/bin/g++:/site/apps/gcc-4.8.0-drw.1/bin/g++
compiler-wrapper=./c-preload/compiler-wrapper
#compilers=/usr/bin/gdc:/usr/bin/gdc-4.4:/usr/bin/gdc-4.6
#compileFilename=example.d
#postProcess=d/demangle

4
package.json

@ -2,9 +2,9 @@
"author": "Matt Godbolt <matt@godbolt.org>",
"name": "gcc-explorer",
"description": "Investigate what on earth GCC does",
"version": "0.0.1",
"version": "0.0.2",
"engines": {
"node": "0.6.x"
"node": "0.10.x"
},
"main": "./app.js",
"dependencies": {

Loading…
Cancel
Save