Wednesday February 22, 2012 19:51:19 UTC
Slackware64 Pakages Optimized with Intel C Compiler

This page covers building the common Linux-based packages with Intel C compiler to optimize for Intel processors. I have been working on updating the build scripts and adding patches where necessary to build the latest source available in slackware64-current and also some additional packages not available with Slackware. I currently use Intel v11.1.064 64-bit compiler and glibc-2.11.1 for the build system.

Optimization

In most cases, these CFLAGS / CXXFLAGS will be used to build the source code. Some packages do not compile or run properly with -ipo or -O3 and in those cases I will adjust the flags as necessary.
-O3 -ipo -xSSE3 -axSSE3_ATOM,SSSE3,SSE4.1,SSE4.2 -fp-model fast=2 -vec-guard-write -vec-report1 -w

Intel Library Dependencies

In order to avoid having to include the Intel libraries with the packages, I use -static-intel where necessary.

CC="icc -static-intel"
CXX="icpc -static-intel"

Links

Packages built with icc so far: 305

Most of these packages are from slackware64-current and include updated build scripts and patches where necessary. I have not had the chance to test out all these packages yet. At this point I am trying to see which will build successfully first.

Source

News

(03/07/10) Built almost all of the X-Windows system with icc. Only 7 of 189 of the x11 related packages failed to compile with icc and those were compiled with gcc instead. Testing x11 is next.