diff options
author | netchild <netchild@FreeBSD.org> | 2004-02-01 21:37:13 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2004-02-01 21:37:13 +0800 |
commit | acec4a2d9386d8d78ef27ecf399bc8d75fa923ed (patch) | |
tree | 8667814e95489cbbfddc7fced4b44e6ad6a75a7f /lang/icc7 | |
parent | c993941127465dae37d0f483599a1c2d3bc6657e (diff) | |
download | freebsd-ports-gnome-acec4a2d9386d8d78ef27ecf399bc8d75fa923ed.tar.gz freebsd-ports-gnome-acec4a2d9386d8d78ef27ecf399bc8d75fa923ed.tar.zst freebsd-ports-gnome-acec4a2d9386d8d78ef27ecf399bc8d75fa923ed.zip |
icc & icc7:
- correct the use of ECHO_CMD and ECHO (swap them) [1]
icc:
- fix the DISTFILE handling, it's automatically available after
bsd.port.post.mk, not after bsd.port.pre.mk, so set it explicitly
to be able to use it in the check for the IGNORE message [1]
icc7:
- don't extract the Intel debugger, it's not usable without a
threads debugging lib
- USE_SIZE
Noticed after: reading the commit log/diff of the
ifc port [1]
Submitted indirectly by: maho, hrs [1]
Diffstat (limited to 'lang/icc7')
-rw-r--r-- | lang/icc7/Makefile | 90 | ||||
-rw-r--r-- | lang/icc7/distinfo | 1 |
2 files changed, 47 insertions, 44 deletions
diff --git a/lang/icc7/Makefile b/lang/icc7/Makefile index cde294a44590..824856ecae56 100644 --- a/lang/icc7/Makefile +++ b/lang/icc7/Makefile @@ -27,6 +27,7 @@ CONFLICTS= linux_devtools* ifc* USE_LINUX= yes USE_REINPLACE= yes +USE_SIZE= yes NO_WRKSUBDIR= yes NO_FILTER_SHLIBS= yes @@ -42,6 +43,7 @@ ICC_SITE= http://www.intel.com/software/products/compilers/ .include <bsd.port.pre.mk> EXTRACT_AFTER_ARGS= | tar -xf - \ + --exclude intel-iidb\*.rpm \ --exclude intel-isubh\*.rpm \ --exclude \*ia64.rpm \ --exclude flexlm64 @@ -109,14 +111,14 @@ post-patch: .for i in icc.cfg icpc.cfg @${REINPLACE_CMD} -i "" -e 's:-Xlinker -rpath -Xlinker <INSTALLDIR>/${COMPILERDIR}/ia32/lib::g' \ ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} - @${ECHO} -e "-Qlocation,ld,${PREFIX}/intel/${COMPILERDIR}/ia32/bin/ldwrapper\n\n-wr1125\n-we140\n\n-Ulinux\n-U__linux__\n-U__linux\n-U__gnu_linux__\n\n-D__FreeBSD__=${ICCCFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} + @${ECHO_CMD} -e "-Qlocation,ld,${PREFIX}/intel/${COMPILERDIR}/ia32/bin/ldwrapper\n\n-wr1125\n-we140\n\n-Ulinux\n-U__linux__\n-U__linux\n-U__gnu_linux__\n\n-D__FreeBSD__=${ICCCFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} .if ${OSVERSION} >= 500039 - @${ECHO} -e "-D__wchar_t=__ct_rune_t\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} + @${ECHO_CMD} -e "-D__wchar_t=__ct_rune_t\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} .endif @${CHMOD} a-x,g-w ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} .endfor # C++ hack for icpc - @${ECHO} -e "\n-I${PREFIX}/include/stlport\n-Qoption,ld,-CPLUSPLUS\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/icpc.cfg + @${ECHO_CMD} -e "\n-I${PREFIX}/include/stlport\n-Qoption,ld,-CPLUSPLUS\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/icpc.cfg @cd ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ && ${LN} -s icc.cfg iccbin.cfg && ${LN} -s icpc.cfg icpcbin.cfg # Hack while there's no support for icc in the stdarg.h of FreeBSD. @${CP} ${FILESDIR}/stdarg.h ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/include @@ -161,46 +163,46 @@ do-install: ${CPIO} -pdu -R ${BINOWN}:${BINGRP} --quiet ${PREFIX} post-install: - @${ECHO_CMD} "${PKGNAME} is now installed in ${PREFIX}/intel, to use it you have to" - @${ECHO_CMD} "put your license into your \$${INTEL_FLEXLM_LICENSE} (default:" - @${ECHO_CMD} "${PREFIX}/intel/licenses) directory and add" - @${ECHO_CMD} "${PREFIX}/intel/${COMPILERDIR}/ia32/bin to your PATH." - @${ECHO_CMD} - @${ECHO_CMD} "In order to be able to compile C++ source with icpc you have to install" - @${ECHO_CMD} "devel/stlport-icc." - @${ECHO_CMD} - @${ECHO_CMD} "If you use icc on a Pentium 4 make sure you have 'options CPU_ENABLE_SSE'" - @${ECHO_CMD} "in your kernel config (have a look at http://www.FreeBSD.org/handbook/" - @${ECHO_CMD} "if you do not know how to do this), else icc will hang forever." - @${ECHO_CMD} - @${ECHO_CMD} "WARNING: If you use icc while having linux_devtools installed, icc will use" - @${ECHO_CMD} "the wrong includes and therefore will generate bogus (not working) binaries!" - @${ECHO_CMD} - @${ECHO_CMD} "If you encounter further problems with icc please consult the errata at" - @${ECHO_CMD} "http://support.intel.com/support/performancetools/c/C_Compiler_Errata.htm" - @${ECHO_CMD} "first." - @${ECHO_CMD} - @${ECHO_CMD} "Call for benchmarks:" - @${ECHO_CMD} "Intel is interested to see some benchmark numbers which compare gcc with icc." - @${ECHO_CMD} "If you have a CPU produced by Intel and are able to do benchmarks with" - @${ECHO_CMD} "either your own source or with one of our major ports (e.g. with" - @${ECHO_CMD} "a webserver, a mailserver, a database system, an important graphics" - @${ECHO_CMD} "suite/program or some important math tool, ...) please try to spend some time" - @${ECHO_CMD} "to do a benchmark and send me (${MAINTAINER}) the result. You should" - @${ECHO_CMD} "include your system specs (CPU: speed/model, RAM: amount/speed, used disks" - @${ECHO_CMD} "(if necessary), chipset/mainboard type, ...), the version of the used" - @${ECHO_CMD} "software (OS, gcc, icc, ...), non default tuning options (kernel, sysctl) and" - @${ECHO_CMD} "the used compiler switches. If you don't use some 'standard' benchmark" - @${ECHO_CMD} "(e.g. the official MySQL benchmark, or the performance test suite of your" - @${ECHO_CMD} "prefered scripting language), please include a description about the" - @${ECHO_CMD} "benchmark too." - @${ECHO_CMD} - @${ECHO_CMD} "Please use FreeBSD as the name of your OS in communications with the support," - @${ECHO_CMD} "the larger the FreeBSD userbase is, the more work gets done on FreeBSD" - @${ECHO_CMD} "specific issues by Intel. And please thank them for the FreeBSD support," - @${ECHO_CMD} "they are already spending some time to improve icc on FreeBSD." - @${ECHO_CMD} - @${ECHO_CMD} "To read the entire post install message again, just run" - @${ECHO_CMD} "'make post-install | less'." + @${ECHO} "${PKGNAME} is now installed in ${PREFIX}/intel, to use it you have to" + @${ECHO} "put your license into your \$${INTEL_FLEXLM_LICENSE} (default:" + @${ECHO} "${PREFIX}/intel/licenses) directory and add" + @${ECHO} "${PREFIX}/intel/${COMPILERDIR}/ia32/bin to your PATH." + @${ECHO} + @${ECHO} "In order to be able to compile C++ source with icpc you have to install" + @${ECHO} "devel/stlport-icc." + @${ECHO} + @${ECHO} "If you use icc on a Pentium 4 make sure you have 'options CPU_ENABLE_SSE'" + @${ECHO} "in your kernel config (have a look at http://www.FreeBSD.org/handbook/" + @${ECHO} "if you do not know how to do this), else icc will hang forever." + @${ECHO} + @${ECHO} "WARNING: If you use icc while having linux_devtools installed, icc will use" + @${ECHO} "the wrong includes and therefore will generate bogus (not working) binaries!" + @${ECHO} + @${ECHO} "If you encounter further problems with icc please consult the errata at" + @${ECHO} "http://support.intel.com/support/performancetools/c/C_Compiler_Errata.htm" + @${ECHO} "first." + @${ECHO} + @${ECHO} "Call for benchmarks:" + @${ECHO} "Intel is interested to see some benchmark numbers which compare gcc with icc." + @${ECHO} "If you have a CPU produced by Intel and are able to do benchmarks with" + @${ECHO} "either your own source or with one of our major ports (e.g. with" + @${ECHO} "a webserver, a mailserver, a database system, an important graphics" + @${ECHO} "suite/program or some important math tool, ...) please try to spend some time" + @${ECHO} "to do a benchmark and send me (${MAINTAINER}) the result. You should" + @${ECHO} "include your system specs (CPU: speed/model, RAM: amount/speed, used disks" + @${ECHO} "(if necessary), chipset/mainboard type, ...), the version of the used" + @${ECHO} "software (OS, gcc, icc, ...), non default tuning options (kernel, sysctl) and" + @${ECHO} "the used compiler switches. If you don't use some 'standard' benchmark" + @${ECHO} "(e.g. the official MySQL benchmark, or the performance test suite of your" + @${ECHO} "prefered scripting language), please include a description about the" + @${ECHO} "benchmark too." + @${ECHO} + @${ECHO} "Please use FreeBSD as the name of your OS in communications with the support," + @${ECHO} "the larger the FreeBSD userbase is, the more work gets done on FreeBSD" + @${ECHO} "specific issues by Intel. And please thank them for the FreeBSD support," + @${ECHO} "they are already spending some time to improve icc on FreeBSD." + @${ECHO} + @${ECHO} "To read the entire post install message again, just run" + @${ECHO} "'make post-install | less'." .include <bsd.port.post.mk> diff --git a/lang/icc7/distinfo b/lang/icc7/distinfo index 1d6467f3d4f8..86bda87598cb 100644 --- a/lang/icc7/distinfo +++ b/lang/icc7/distinfo @@ -1 +1,2 @@ MD5 (l_cc_pc_7.1.035.tar) = 4c13c28ae20db26b0acab29acb8d24db +SIZE (l_cc_pc_7.1.035.tar) = 76103680 |