Enable the YUL IR pipeline when building with optimisations (#3279)

This commit is contained in:
Hadrien Croubois
2022-06-13 17:16:37 +02:00
committed by GitHub
parent 4135bf9707
commit 5a0bff465d

View File

@ -30,10 +30,15 @@ const argv = require('yargs/yargs')()
choices: [ 'production', 'development' ], choices: [ 'production', 'development' ],
default: 'development', default: 'development',
}, },
ir: {
alias: 'enableIR',
type: 'boolean',
default: false,
},
compiler: { compiler: {
alias: 'compileVersion', alias: 'compileVersion',
type: 'string', type: 'string',
default: '0.8.9', default: '0.8.13',
}, },
coinmarketcap: { coinmarketcap: {
alias: 'coinmarketcapApiKey', alias: 'coinmarketcapApiKey',
@ -65,6 +70,7 @@ module.exports = {
enabled: withOptimizations, enabled: withOptimizations,
runs: 200, runs: 200,
}, },
viaIR: withOptimizations && argv.ir,
}, },
}, },
networks: { networks: {