ehahn / paludis-bashrc

A bashrc for paludis supporting the Intel C++ compiler and per-package CFLAGS

This URL has Read+Write access

paludis-bashrc / README.markdown
100644 49 lines (37 sloc) 1.529 kb

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