public
Description: A bashrc for paludis supporting the Intel C++ compiler and per-package CFLAGS
Homepage: http://ihatenicks.bplaced.net/paludis-bashrc/
Clone URL: git://github.com/ehahn/paludis-bashrc.git
ehahn (author)
Tue Oct 28 05:07:05 -0700 2008
commit  37530a2896eb4d593a4d40bc8102489e566247b0
tree    5a88286287f9b92fc151688293ae4aae2f7f7a16
parent  906f809b4954406419173e3cbf9b0946fd003b6e
name age message
file CHANGES Loading commit data...
file LICENSE Fri Oct 24 04:35:13 -0700 2008 Move COPYING to LICENSE [ehahn]
file README.markdown Tue Oct 28 05:07:05 -0700 2008 Mention bug in readme [ehahn]
file bashrc
file cc.conf Mon Oct 27 16:14:20 -0700 2008 Revert "Use cc.conf created by the asconf syste... [ehahn]
directory conf.test/ Mon Oct 27 18:29:19 -0700 2008 Modify test 4 to take multiple flags into account [ehahn]
file gccflags.conf Sat Aug 30 13:18:29 -0700 2008 Remove obsolete note about supported atoms from... [Erik Hahn]
file gccxxflags.conf Fri Aug 29 12:57:24 -0700 2008 Initial commit [Erik Hahn]
file iccflags.conf Sat Aug 30 13:09:29 -0700 2008 Add warning to iccflags.conf that "-ip" might c... [Erik Hahn]
file iccxxflags.conf Fri Aug 29 12:57:24 -0700 2008 Initial commit [Erik Hahn]
file ldflags.conf Fri Aug 29 13:39:26 -0700 2008 remove "-Wl,-z,combreloc" from example ldflags.... [Erik Hahn]
file make.conf Sat Aug 30 12:57:43 -0700 2008 Outsource static variables into make.conf [Erik Hahn]
file test.bash Mon Oct 27 18:51:16 -0700 2008 test.bash: remove old temp files before testing [ehahn]
directory www/
README.markdown

Paludis Bashrc

This is a bashrc for paludis which supports the use of the Intel C++ Compiler as well as package-specific CFLAGS.

Configuration:

CFLAGS and CXXFLAGS are configured in gccflags.conf for gcc's CFLAGS and iccflags.conf for icc's CFLAGS. Additional CXXFLAGS are read from gccxxflags.conf/iccxxflags.conf and appended to the CFLAGS. For LDFLAGS use ldflags.conf, it follows the same syntax.

Supported atoms:

This bashrc should support all atoms that don't specify a version, including not only regular ones like "cate-gory/" or "cate-gory/pn:slot", but also stuff like "/*:slot". Support for versioned atoms is planned.

Filtering flags:

You can not only add flags per package, you can also remove them by replacing the leading '-' by a '+'. Example:

app-emulation/wine  +fomit-frame-pointer

Please note: due to a bug, you have to specify the flags that shall be filtered after those to be added.

app-emulation/wine +fomit-frame-pointer -Os

wouldn't behave as expected, instead use:

app-emulation/wine -Os +fomit-frame-pointer

Portage & Pkgcore:

This bashrc is designed for use with Paludis but should work with Portage as well. I haven't done much testing, though. If Pkgcore can use a bashrc at all, this one should work as well. If you had success using it with another package manager, please tell me so I can note it here.

GIT:

I use a public git repository at

http://github.com/ehahn/paludis-bashrc/tree/master