Default to gcc 4.9.0

dev/git-series/gccdum
Matt Godbolt 8 years ago
parent 0db11da754
commit 4b19ef7162

@ -333,7 +333,8 @@ function getClientOptions(req, res) {
google_analytics_enabled: props.get('gcc-explorer', 'clientGoogleAnalyticsEnabled', true),
sharing_enabled: props.get('gcc-explorer', 'clientSharingEnabled', true),
github_ribbon_enabled: props.get('gcc-explorer', 'clientGitHubRibbonEnabled', true),
urlshortener: props.get('gcc-explorer', 'clientURLShortener', 'google')
urlshortener: props.get('gcc-explorer', 'clientURLShortener', 'google'),
defaultCompiler: props.get('gcc-explorer', 'defaultCompiler', '')
};
res.end("var OPTIONS = " + JSON.stringify(options) + ";");
}

@ -1,6 +1,7 @@
# Settings overridden for Amazon EC2 instances that power http://gcc.godbolt.org/
compileTimeoutMs=2000
compilers=/usr/bin/g++-4.4:/usr/bin/g++-4.5:/usr/bin/g++-4.6:/usr/bin/g++-4.7:/usr/bin/arm-linux-gnueabi-g++-4.5:/usr/bin/clang++:/usr/bin/avr-g++:/usr/bin/msp430-g++:/usr/bin/arm-linux-gnueabi-g++-4.6:/opt/intel/bin/icc:/usr/bin/g++-4.8:/opt/clang-3.2/bin/clang++:/opt/clang-3.3/bin/clang++:/opt/gcc-4.9.0-with-concepts/bin/g++:/opt/gcc-4.9.0-0909-concepts/bin/g++:/opt/gcc-4.9.0/bin/g++:/opt/clang+llvm-3.4.1-x86_64-unknown-ubuntu12.04/bin/clang++
defaultCompiler=/opt/gcc-4.9.0/bin/g++
compiler-wrapper=./c-preload/compiler-wrapper
max-asm-size=500000
cacheMb=300

@ -1,6 +1,7 @@
# Default settings for GCC Explorer.
#port=10240
compileTimeoutMs=5000
defaultCompiler=/usr/bin/g++-4.6
#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

@ -274,8 +274,10 @@ function Compiler(domRoot, origFilters, windowLocalPrefix, onChangeCallback, cmM
compilersByExe[arg.exe] = arg;
domRoot.find('.compiler').append($('<option value="' + arg.exe + '">' + arg.version + '</option>'));
});
if (getSetting('compiler')) {
domRoot.find('.compiler').val(getSetting('compiler'));
var defaultCompiler = getSetting('compiler');
if (!defaultCompiler) defaultCompiler = OPTIONS.defaultCompiler;
if (defaultCompiler) {
domRoot.find('.compiler').val(defaultCompiler);
}
onCompilerChange();
}

Loading…
Cancel
Save