New submission from Zachary Ware: Attached is a patch that adds support for ICC to configure, making it easier to build with ICC on Unix and adjusting arguments to better fit ICC.
- Adds '--with-icc' argument to configure, which sets 'CC=icc' and 'CXX=icpc' - Adds support for ICC PGO - Prevents '-Wno-unused-result' from being added to CFLAGS if CC=icc (issue24709) - Adds '-fp-model strict' to BASECFLAGS (I'm not 100% sure that's the right place, perhaps CFLAGS_NODIST would be better?). Adding '-fp-model strict' clears up all the failures on the Ubuntu ICC Non-Debug buildbot, and most of the failures I get on OSX with -O3. From a quick run of the 'math' benchmarks (perf.py -b math), adding '-fp-model strict' does not hurt performance (with the flag was always faster or negligibly slower). Be sure to run autoreconf before testing. ---------- components: Build files: configure_icc.diff keywords: patch messages: 256141 nosy: r.david.murray, zach.ware priority: normal severity: normal stage: patch review status: open title: Support ICC in configure type: enhancement versions: Python 2.7, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file41272/configure_icc.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25827> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com