Changes between Version 23 and Version 24 of Intel_IPP_Codecs


Ignore:
Timestamp:
Feb 11, 2010 12:16:29 PM (14 years ago)
Author:
ismangil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Intel_IPP_Codecs

    v23 v24  
    146146 - (for IPP v5.3) '''{{{libusc.a}}}''' file somewhere under {{{speech-codecs/bin}}} directory, e.g. {{{ipp-samples/speech-codecs/bin/linux32_gcc3/lib}}} directory.  
    147147 - (for IPP v6.x) '''{{{libspeech.a}}}''' file somewhere under {{{speech-codecs/_bin}}} directory, e.g. {{{ipp-samples/speech-codecs/_bin/linuxem64t_gcc4/lib}}} directory.  
     148 
     149The directory name corresponds to the platform where the samples are built for. 
     150 
     151If you have any problems with installing and/or building the IPP or IPP samples, please read the IPP documentation or contact Intel for support. 
     152 
     153==== Running "configure" with IPP support ==== 
     154 
     155The {{{configure}}} script needs to be invoked with the appropriate IPP options in order to set up IPP include and library paths. There are three relevant arguments: 
     156 
     157{{{ 
     158  --with-ipp=DIR          Specify the Intel IPP location 
     159  --with-ipp-samples=DIR  Specify the Intel IPP samples location 
     160  --with-ipp-arch=ARCH    Specify the Intel IPP ARCH suffix, e.g. "64" or 
     161                          "em64t". Default is blank for IA32. 
     162}}} 
     163 
     164 
     165For this tutorial, we'll use two environment variables to hold the location of IPP and IPP samples.  
     166 
     167Sample configure session for Intel IPP 5.3 for IA32 architecture: 
     168 {{{ 
     169$ cd /your/pjproject/directory 
     170$ export IPPROOT=/opt/intel/ipp/5.3.1.062/ia32/ 
     171$ export IPPSAMPLES=~/Desktop/ipp-samples 
     172$ ./configure --enable-ipp --with-ipp=$IPPROOT --with-ipp-samples=$IPPSAMPLES 
     173 }}} 
     174 
     175Sample configure session for Intel IPP 6.1 for em64t architecture: 
     176 {{{ 
     177$ cd /your/pjproject/directory 
     178$ export IPPROOT=/opt/intel/ipp/6.1.2.051/em64t/ 
     179$ export IPPSAMPLES=~/Desktop/opt/intel/ipp-samples 
     180$ ./configure --enable-ipp --with-ipp=$IPPROOT --with-ipp-samples=$IPPSAMPLES --with-ipp-arch=em64t 
     181 }}} 
     182 
     183Note that you still need to enable IPP support in your {{{config_site.h}}} in order to use the IPP features. This will be explained in the next section. 
     184 
     185 
     186=== Mac OS X Instructions === 
     187 
     188==== Download and install Intel Compiler and IPP samples ==== 
     189 
     190 1. IPP cannot be obtained separately, you have to install Intel Compiler to get it. 
     191 1. Download Intel Compiler and Intel IPP samples from http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm 
     192 1. Extract the archive to a temporary folder 
     193 1. Run the installer and follow the on screen instructions. The default installation options will install it to ''"/Library/Frameworks"'' directory (e.g. ''"/Library/Frameworks/Intel_IPP.framework/Versions/Current/"'' in my case). 
     194 1. Extract IPP samples to a directory (e.g. to ''"~/Desktop/ipp-samples"''). 
     195 
     196 
     197==== Build the IPP samples ==== 
     198 1. Go to the directory where IPP samples have been extracted to (e.g. {{{~/Desktop/ipp-samples}}}). 
     199 1. Go to {{{speech-codecs}}} folder. 
     200 1. Open the {{{readme.htm}}} file, and follow the instructions there to build the samples from the source. 
     201   - typically you'd just need to execute one of the '''build*.sh''' script after setting the IPPROOT environment variable. 
     202 
     203The build process produces the following: 
     204 - (for IPP v5.3) '''{{{libusc.a}}}''' file somewhere under {{{speech-codecs/bin}}} directory.  
     205 - (for IPP v6.x) '''{{{libspeech.a}}}''' file somewhere under {{{speech-codecs/_bin}}} directory, e.g. {{{ipp-samples/speech-codecs/_bin/osxem64t_icc111/lib}}} directory.  
    148206 
    149207The directory name corresponds to the platform where the samples are built for. 
     
    296354    }}} 
    297355 
    298 === Linux Instructions === 
     356=== Linux/Mac Instructions === 
    299357 
    300358By default, the configuration and build system will link with Intel IPP shared libraries. This is controlled by the {{{IPP_LIBS}}} setting in the auto-generated {{{build.mak}}} file: