Commit b20cea6
authored
Guard adding intel compiler flag behind check for intel compiler. (#2004)
* Guard adding intel compiler flag behind check for intel compiler.
For reasons I don't yet fully understand, failing to guard the check
for flag -wd654 will cause it to be added to certain clang
configurations, and then cause compilation to fail.
While exactly why this happens needs investigation, the fix
proposed in this patch seems direct and simple enough to
apply regardless.
* Update CMakeLists.txt
Address review comments by reusing intel compiler block.1 parent f30ba8b commit b20cea6
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
219 | 222 | | |
220 | 223 | | |
221 | 224 | | |
| |||
230 | 233 | | |
231 | 234 | | |
232 | 235 | | |
233 | | - | |
234 | | - | |
235 | | - | |
| 236 | + | |
236 | 237 | | |
237 | 238 | | |
238 | 239 | | |
| |||
0 commit comments