|
|
@ -297,7 +297,8 @@ class NodeLanguage(object): |
|
|
|
self.config = config |
|
|
|
self.config = config |
|
|
|
self.args = args |
|
|
|
self.args = args |
|
|
|
_check_compiler(self.args.compiler, ['default', 'node0.12', |
|
|
|
_check_compiler(self.args.compiler, ['default', 'node0.12', |
|
|
|
'node4', 'node5', 'node6']) |
|
|
|
'node4', 'node5', 'node6', |
|
|
|
|
|
|
|
'node7']) |
|
|
|
if self.args.compiler == 'default': |
|
|
|
if self.args.compiler == 'default': |
|
|
|
self.node_version = '4' |
|
|
|
self.node_version = '4' |
|
|
|
else: |
|
|
|
else: |
|
|
@ -932,7 +933,7 @@ argp.add_argument('--compiler', |
|
|
|
'clang3.4', 'clang3.5', 'clang3.6', 'clang3.7', |
|
|
|
'clang3.4', 'clang3.5', 'clang3.6', 'clang3.7', |
|
|
|
'vs2010', 'vs2013', 'vs2015', |
|
|
|
'vs2010', 'vs2013', 'vs2015', |
|
|
|
'python2.7', 'python3.4', |
|
|
|
'python2.7', 'python3.4', |
|
|
|
'node0.12', 'node4', 'node5', 'node6', |
|
|
|
'node0.12', 'node4', 'node5', 'node6', 'node7' |
|
|
|
'coreclr'], |
|
|
|
'coreclr'], |
|
|
|
default='default', |
|
|
|
default='default', |
|
|
|
help='Selects compiler to use. Allowed values depend on the platform and language.') |
|
|
|
help='Selects compiler to use. Allowed values depend on the platform and language.') |
|
|
|