Building Intel® IPP 7.1 Samples

The build process for Intel® IPP samples has recieved a major upgrade. Instead of install scripts the process is automated with cmake*. There are several advantages to cmake, including

  • Automatic generation of build files across all permutations of samples, operating systems, architectures, IDE versions, static/dynamic linkage, single/multithreaded functions, and debug/release.
  • Configuration files are cross platform, simplifying maintenance of consistent behavior across all operating systems that Intel® IPP supports.
  • Build files can be created for a wide variety of IDEs including modern versions of Microsoft* Visual Studio, Xcode*, and Eclipse*.
  • Build files are created specifically for your environment, so no messy conversions.

 

Build System Requirements

  • CMake* 2.8.8. Download from http://www.cmake.org/.
  • Perl 5.12.2.
    • For Linux*/OS X*: a suitable perl is probably already in your environment. Otherwise, please update to the latest version.
    • For Windows*: validated with the community edition of ActiveState* perl. Other implementations such as Strawberry* perl are also expected to work.
  • To build the picnic application you must download and install the Nokia* Qt* GUI library appropriate for your OS from www.qtsoftware.com

Using the Intel® IPP 7.1 Sample Build System

A few initial steps are required:

  • In Windows*, open a command shell window. In Linux*/OS X* open a terminal.
  • Make sure all environment variables are set by running the ippvars or compilervars script.

Type perl build.pl for more information:

Copyright (c) 2012 Intel Corporation. All rights reserved.
This script performs Intel(R) IPP Samples projects creation and build.

Usage: perl build.pl --cmake=SAMPLE,ARCH,GENERATOR,LINKAGE,THREADING,CONFIG [--clean] [--build] [--msdk] [--comp=native/intel]
Required variants:

SAMPLE

ARCH

GENERATOR

LINKAGE

THREADING

CONFIG

advanced-usage

audio-video-codecs

computer-vision

vc2012

data-compression

vc2010

image-codecs

vc2008

image-processing

ia32

nmake

s =static

st =single

debug

language-interface

intel64

make

d =dynamic

mt =multi

release

signal-processing

eclipse

speech-codecs

xcode

string-processing

uic

Optional flags:

--clean - clean build directory before projects generation / build
--build - try to build projects before generation
--comp - try to use custom compiler, native(=gcc/cl.exe) or intel(=icc/icl.exe). Need to call environment!


Examples:

perl build.pl --cmake=audio-video-codecs,ia32,vc2010,s,st,release [only generate projects]
perl build.pl --cmake=uic,intel64,make,s,mt,debug --build [generate and then build]
perl build.pl --cmake=uic,intel64,make,d,mt,debug --build --clean [generate, clean and build]

Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.