这是在PCA下的基于IPP库示例代码例子,在网上下了IPP的库之后,设置相关参数就可以编译该代码.

源代码在线查看: buildem64t.sh

软件大小: 399 K
上传用户: __catcher
关键词: IPP PCA 代码 参数
下载地址: 免注册下载 普通下载 VIP

相关代码

				#! /bin/sh								#				# Usage: build.sh {gcc}				#								IPPENV=${IPPROOT}/tools/env/ippvarsem64t.sh								if [ ! -x "${IPPENV}" ]; then				  IPPENV=/opt/intel/ipp/5.0/em64t/tools/env/ippvarsem64t.sh				fi								if [ ! -x "${IPPENV}" ]; then				  IPPENV=/opt/intel/ipp/5.0_eval/em64t/tools/env/ippvarsem64t.sh				fi								if [ ! -x "${IPPENV}" ]; then				  @echo -e "*************************************************************************"				  @echo -e "Intel(R) IPP is not found!"				  @echo -e "Please install Intel(R) IPP or set IPPROOT environment variable correctly."				  @echo -e "*************************************************************************"				  exit				fi								ARG=$1								CC=gcc				CXX=g++				LIB=ar				ARCH=em64t								if [ "${ARG}" == "" ]; then								  CCFIND=/opt/intel/cce/bin/iccvars.sh				  if [ -x "${CCFIND}" ]; then				    CCENV=${CCFIND}				  fi				  				  if [ "${CCENV}" ]; then				    . ${CCENV}				    CC=icc				    CXX=icc				  fi								fi								. ${IPPENV}								make clean ARCH=${ARCH}				make CC=${CC} CXX=${CXX} ARCH=${ARCH} LIB=${LIB}							

相关资源