Skip to content

Commit dc8e9b2

Browse files
author
Brian Pittman
committed
Remove deprecated flag from intel compiler flags
1 parent 90d7866 commit dc8e9b2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ if [[ ! -z $YFAMILY ]]; then
115115
cCompiler=icc
116116
cxxCompiler=icpc
117117
fortranCompiler=ifort
118-
cFlags="-diag-disable=10441 -wd1786"
119-
cxxFlags="-diag-disable=10441 -wd1786"
118+
cFlags="-diag-disable=10441"
119+
cxxFlags="-diag-disable=10441"
120120
elif [[ $YFAMILY == "gnu" ]]; then
121121
echo "Using GNU compiler family defaults for Yogi."
122122
cCompiler=gcc

wrapper/YogiMPIWrapper.py.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ class YogiMPIWrapper(object):
170170

171171
def _showCompilerString(self):
172172
self.compString = self.compilerName
173-
self.compString += ' -I' + self.prefixDir + '/include -DYOGIMPI_ENABLED'
174-
self.compString += ' -L' + self.prefixDir + '/lib -lyogimpi'
173+
self.compString += ' -I"' + self.prefixDir + '/include" -DYOGIMPI_ENABLED'
174+
self.compString += ' -L"' + self.prefixDir + '/lib" -lyogimpi'
175175
print(self.compString)
176176

177177
def _outputMsg(self, message):
@@ -272,11 +272,11 @@ class YogiMPIWrapper(object):
272272
objectName = self._stripExtension(self.sourceFile) + '.o'
273273
self.argArray.append('-o ' + objectName)
274274
# Lovingly add Yogi's include directories to the mix.
275-
self.argArray.insert(self.sourceArgLocation, '-I' +\
276-
self.prefixDir + '/include -DYOGIMPI_ENABLED')
275+
self.argArray.insert(self.sourceArgLocation, '-I"' +\
276+
self.prefixDir + '/include" -DYOGIMPI_ENABLED')
277277
if self.isLinking:
278278
# Linking is happening, so add Yogi's libdir and library flags.
279-
self.argArray.append('-L' + self.prefixDir + '/lib -lyogimpi')
279+
self.argArray.append('-L"' + self.prefixDir + '/lib" -lyogimpi')
280280

281281
## Return the entire command-line argument string. This string includes
282282
# any changes Yogi has made (so-far) to pass down instructions to the

0 commit comments

Comments
 (0)