diff options
author | i-shenl <i-shenl@activestate.com> | 2022-06-08 12:25:21 -0700 |
---|---|---|
committer | i-shenl <i-shenl@activestate.com> | 2022-06-08 12:25:21 -0700 |
commit | b5658d4ce4da9c8801f4a26b2e7fde8c3c31f198 (patch) | |
tree | 5c8ec4a2b3a16f33549b83525c24dd369a482932 /numpy/distutils | |
parent | e05e65718b34aea0c3be393459e2d5933ab075e0 (diff) | |
download | numpy-b5658d4ce4da9c8801f4a26b2e7fde8c3c31f198.tar.gz |
Enable fortran preprocessing on Windows
Especially needed for compiling scipy on Windows. On Linux and Mac,
fortran preprocessing is already enabled.
Diffstat (limited to 'numpy/distutils')
-rw-r--r-- | numpy/distutils/fcompiler/intel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/intel.py b/numpy/distutils/fcompiler/intel.py index f97c5b348..ed65a4b8c 100644 --- a/numpy/distutils/fcompiler/intel.py +++ b/numpy/distutils/fcompiler/intel.py @@ -154,7 +154,8 @@ class IntelVisualFCompiler(BaseIntelFCompiler): module_include_switch = '/I' def get_flags(self): - opt = ['/nologo', '/MD', '/nbs', '/names:lowercase', '/assume:underscore'] + opt = ['/nologo', '/MD', '/nbs', '/names:lowercase', '/assume:underscore', + '/fpp'] return opt def get_flags_free(self): |