diff options
author | Joshua Sheard <mail@jsheard.com> | 2017-06-03 22:26:50 +0100 |
---|---|---|
committer | Joshua Sheard <mail@jsheard.com> | 2017-06-03 22:26:50 +0100 |
commit | 4fc0ec68df9e6a7d14bffb4b691c94e95a107a93 (patch) | |
tree | 2211f7a68d5cc4dcd90de86028b54be38cba5c45 /lib/compilers/ispc.js | |
parent | 2e76244c31e21964535cc2c9deff8b19a7887377 (diff) | |
download | compiler-explorer-4fc0ec68df9e6a7d14bffb4b691c94e95a107a93.tar.gz compiler-explorer-4fc0ec68df9e6a7d14bffb4b691c94e95a107a93.zip |
Add support for Intel ISPC compiler
Diffstat (limited to 'lib/compilers/ispc.js')
-rw-r--r-- | lib/compilers/ispc.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/compilers/ispc.js b/lib/compilers/ispc.js new file mode 100644 index 000000000..79912e735 --- /dev/null +++ b/lib/compilers/ispc.js @@ -0,0 +1,11 @@ +var Compile = require('../base-compiler'); + +function compileISPC(info, env) { + var compiler = new Compile(info, env); + compiler.optionsForFilter = function (filters, outputFilename) { + return ['--emit-asm', '-g', '-o', this.filename(outputFilename)]; + }; + return compiler.initialise(); +} + +module.exports = compileISPC; |