From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KJi0m-0005Ms-BJ for garchives@archives.gentoo.org; Fri, 18 Jul 2008 04:56:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64765E02FD; Fri, 18 Jul 2008 04:56:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3C4D5E02FD for ; Fri, 18 Jul 2008 04:56:06 +0000 (UTC) Received: from gentoo.org (c-71-193-142-160.hsd1.or.comcast.net [71.193.142.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id B1E846629E for ; Fri, 18 Jul 2008 04:56:05 +0000 (UTC) Date: Thu, 17 Jul 2008 21:56:03 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] ICC Profile Message-ID: <20080718045603.GA7446@comet> References: <20080717142344.CHK42419@mirapoint.uc.edu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <20080717142344.CHK42419@mirapoint.uc.edu> User-Agent: Mutt/1.5.18 (2008-05-17) X-Archives-Salt: fe2555a3-60c4-479a-9447-8e8b92ac3782 X-Archives-Hash: 4e9163448578084c51138789cf9824da --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14:23 Thu 17 Jul , Adam Stylinski wrote: > The intel C Compiler (icc) has an ebuild for gentoo and the wiki has a=20 > script to integrate it with portage. This script works will in terms=20 > of building binaries, however when mixed with gcc environments there=20 > are massive linking issues. I propose that an ICC profile is made=20 > which contains specific versions and default flags for people who want=20 > to build a mixed icc-gcc environment. ICC is much faster than GCC and=20 > although not free, offers a free non-commercial license. I would be=20 > very interested in this project and more than willing to help to the=20 > best of my abilities. I've already been trying to maintain a mixed=20 > environment with some luck, while there have been a lot of problems=20 > using dynamically linked libraries (ld from intel and ld from gcc=20 > don't always get along), my system is substatially faster. The kernel=20 > obviously will still be built under gcc as well as bash (unless intel=20 > helps submit patches to make the code work with their compiler). =20 > There are many tools icc has to offer for vectorization. If these=20 > were streamlined into Gentoo with a fetch restriction for ICC, a=20 > bootsrapping boot disk could be made and result in a very fast=20 > distribution. -- gentoo-dev@lists.gentoo.org mailing list Adam, I've already got a mixed system that works reasonably well. I use=20 /etc/portage/env/ to control which packages build with icc and=20 icc-specific CFLAGS by having /etc/portage/env/$CATEGORY/$PN be symlinks=20 to /etc/portage/env/env.icc with these contents: echo " * Exporting: Intel compilers in $EBUILD_PHASE" CC=3D"icc" CXX=3D"icc" FC=3D"ifort" F77=3D"ifort" FFLAGS=3D"-openmp -parallel -ipo -xO -O2 -no-prec-div" FCFLAGS=3D"${FFLAGS}" =20 export CC CXX FC F77 FFLAGS FCFLAGS Is what you're proposing here an improvement over something like the=20 above setup? If so, could you explain how? --=20 Thanks, Donnie Donnie Berkholz Developer, Gentoo Linux Blog: http://dberkholz.wordpress.com --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkiAImMACgkQXVaO67S1rttHNACfb3aljlZxUqFHX+OHLWHqld00 i0MAoMq0I5F0t2cnuECmbtIGJwsM5zjq =Cv3N -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy-- -- gentoo-dev@lists.gentoo.org mailing list