| 61 | |
| 62 | |
| 63 | === Linux Instructions === |
| 64 | |
| 65 | ==== Download and install IPP and IPP samples ==== |
| 66 | |
| 67 | 1. Download Intel IPP and Intel IPP samples from http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm |
| 68 | 1. Extract the archive to a temporary folder and run the installer (e.g. ''./install.sh''). The default installation options will install it to ''/opt/intel/ipp/'' directory (e.g. ''/opt/intel/ipp/5.3.1.062/ia32/''). |
| 69 | 1. Extract IPP samples to a directory (e.g. to '~/Desktop/ipp-samples'). |
| 70 | |
| 71 | |
| 72 | ==== Build the IPP samples ==== |
| 73 | 1. Go to the directory where IPP samples have been extracted (e.g. {{{~/Desktop/ipp-samples}}}). |
| 74 | 1. Go to {{{speech-codecs}}} folder. |
| 75 | 1. Open the {{{readme.htm}}} file, and follow the instructions there to build the samples from the source. |
| 76 | |
| 77 | Once the build process done, you should have '''{{{libusc.a}}}''' file somewhere inside {{{speech-codecs\bin}}} directory (in my case, it's in {{{~/Desktop/ipp-samples/speech-codecs/bin/linux32_gcc3/lib}}} directory). |
| 78 | |
| 79 | If you have any problems with installing and/or building the IPP or IPP samples, please read the documentation or contact Intel for support. |
| 80 | |
| 81 | |
| 82 | ==== Running "configure" with IPP support ==== |
| 83 | |
| 84 | For this tutorial, we'll use two environment variables to hold the location of IPP and IPP samples. Sample ''bash'' session to run the {{{configure}}} script: |
| 85 | |
| 86 | {{{ |
| 87 | $ cd /your/pjproject/directory |
| 88 | $ export IPPROOT=/opt/intel/ipp/5.3.1.062/ia32/ |
| 89 | $ export IPPSAMPLES=~/Desktop/ipp-samples |
| 90 | $ ./configure --enable-ipp --with-ipp=$IPPROOT --with-ipp-samples=$IPPSAMPLES |
| 91 | }}} |
| 92 | |
| 93 | Note 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. |