summaryrefslogtreecommitdiff
path: root/numpy/distutils
diff options
context:
space:
mode:
authori-shenl <i-shenl@activestate.com>2022-06-08 12:25:21 -0700
committeri-shenl <i-shenl@activestate.com>2022-06-08 12:25:21 -0700
commitb5658d4ce4da9c8801f4a26b2e7fde8c3c31f198 (patch)
tree5c8ec4a2b3a16f33549b83525c24dd369a482932 /numpy/distutils
parente05e65718b34aea0c3be393459e2d5933ab075e0 (diff)
downloadnumpy-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.py3
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):