After installation of the evaluation copy, first thing was to compile VXL, which was reasonable experience but not completely smooth. I found out that in addition to providing the C and C++ compiler commands, I also need to specify the Intel version of ar command before cmake is run for the first time. I tried to make this modification by editing CMakeCache.txt, but the Make files seem to be stuck with the original ar command. Here is a simple cache file I supply:
//Path to a program.Boost is the second software to compile. I did a bit research online about how to tell bjam to find the necessary tools. These are the information I found:
CMAKE_AR:FILEPATH=/software/intel/Compiler/11.1/069/bin/intel64/xiar
//CXX compiler.
CMAKE_CXX_COMPILER:FILEPATH=/software/intel/Compiler/11.1/069/bin/intel64/icpc
//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=-xhost -ipo
//C compiler.
CMAKE_C_COMPILER:FILEPATH=/software/intel/Compiler/11.1/069/bin/intel64/icc
//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING=-xhost -ipo
//Path to a program.
CMAKE_LINKER:FILEPATH=/software/intel/Compiler/11.1/069/bin/intel64/xild
//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=-ipo
- bjam tool configuration:
http://boost.org/boost-build2/doc/html/bbv2/reference/tools.html - Intel forum post:
http://software.intel.com/en-us/forums/showthread.php?t=65607
using intel-linux : 11.1 : /software/intel/Compiler/11.1/069/bin/intel64/icpc : -xhostWith this bjam command line:
bjam --build-dir=/tmp/build-boost-64 variant=release threading=multi link=static cxxflags="-xhost -fPIC" cflags="-xhost -fPIC" --prefix=/software/boost-1_42_0-intel --libdir=/software/boost-1_42_0-intel/lib64 install