From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2217 invoked from network); 25 Aug 2004 23:46:42 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 25 Aug 2004 23:46:42 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1C07TV-0006yF-P9 for arch-gentoo-dev@lists.gentoo.org; Wed, 25 Aug 2004 23:46:41 +0000 Received: (qmail 8996 invoked by uid 89); 25 Aug 2004 23:46:41 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 1543 invoked from network); 25 Aug 2004 23:46:41 +0000 From: Olivier Fisette To: gentoo-dev@lists.gentoo.org Date: Wed, 25 Aug 2004 19:46:36 -0400 User-Agent: KMail/1.6.2 References: <412CF14E.7040106@ifm.liu.se> In-Reply-To: <412CF14E.7040106@ifm.liu.se> Organization: Gentoo Foundation MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200408251946.40919.ribosome@gentoo.org> Subject: Re: [gentoo-dev] ifc USE flag, fortran support and some general notes about multi-compiler support X-Archives-Salt: d2d76a4f-6112-4cb3-95d7-3c015cc06dbb X-Archives-Hash: a4da3eed1cc14d6faf94238684b893ff =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, What about per package environment variable declarations? I have been=20 experiencing problems similar to Anton's: I compile my system using GCC, bu= t=20 I use ICC for some packages I use in intensive calculations. To do so, I mu= st=20 check every "world" update and manually set env variables such as CC.=20 Additionnally, I do not use the same "CFLAGS" for these packages as for the= =20 rest of my system. I am not aware of any mechanism allowing me to automate= =20 this process with the current Portage system. What about having a file such as /etc/portage/package.env, that we could us= e=20 to set per package compilers, "CFLAGS" and such? It would be pretty nice to= =20 be able to configure something along those lines: =3Dapp-sci/emboss-2.9* CC=3D"icc" CFLAGS=3D"IWantFastSequenceAlignments" =2E.. and not have to worry about manually setting environment variables=20 whenever these packages are updated. This would certainly not solve all issues related to alternative compilers,= =20 but it would make many things easier, and we could get rid of silly "USE"=20 flags like "icc", that are not related to the packages' content (the ebuild= s=20 could simply check their environment and adapt the build process or report = a=20 compiler incompatibility). What do you think? =2D --=20 Olivier Fisette (ribosome) Gentoo Linux Developer =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBLSTgr/GGfYtwOqoRAnpoAJ9cUHhIXXIn9ViLKDrIy1QoADS3/gCeNGV6 I1BLY6gTmq8V/8to8V1eoYY=3D =3D/M8O =2D----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list