We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--msvc
1 parent 75efdd7 commit 3fae695Copy full SHA for 3fae695
benchmark.py
@@ -6,6 +6,7 @@
6
from __future__ import absolute_import
7
8
import argparse
9
+import platform
10
import os
11
import os.path as p
12
import subprocess
@@ -31,7 +32,7 @@ def BuildYcmdLibsAndRunBenchmark( args, extra_args ):
31
32
33
os.environ[ 'YCM_BENCHMARK' ] = '1'
34
- if args.msvc:
35
+ if args.msvc and platform.system() == 'Windows':
36
build_cmd.extend( [ '--msvc', str( args.msvc ) ] )
37
38
subprocess.check_call( build_cmd )
0 commit comments