projg2 / shadowman Goto Github PK
View Code? Open in Web Editor NEWUnified compiler shadow link directory updater (for ccache, distcc, icecc)
Unified compiler shadow link directory updater (for ccache, distcc, icecc)
. . . . . . shadowman . . . . . . compiler shadow directory manager ( 2-BSD licensed eselect module ) shadowman is a management tool for compiler shadow directories that are used by ccache, distcc, icecc and similar tools. Why? Because right now, Gentoo bundles its own *-config tool for every program out there. Each of these tools has different usage and different limitations. The idea behind shadowman is to provide a single tool that supports all the compiler wrappers out there, and that can easily be extended to support more. This has a number of advantages: 1. one usage syntax that works for all tools, 2. ability to update/clean masquerades for multiple tools in one call, 3. consistent (and *good*) implementation -- now all tools get the same executable list, 4. reduced code duplication, 5. modular layout that allows adding extra tools/compiler wildcards by third-party packages. shadowman can not only replace the existing *-config tools but also extend their usefulness. For example, toolchain packages can be extended to call 'eselect compiler-shadow update all' in postinst and save the user from manually updating shadow directories post compiler upgrades. shadowman uses compiler and tool modules to provide support for different programs. Those are installed to /usr/share/shadowman/compilers and /usr/share/shadowman/tools by default. A compiler module is a text file whose first (and only) line contains one or more compiler name wildcards in bash syntax. For example, the default 'posix' module has: {,*-}{cc,c99,c++} shadowman uses wildcards from all compiler modules found, unless the user provides an alternate wildcard to use. The compilers found in any directory of PATH matching the wildcards are used. A tool module is a text file whose filename matches the tool executable name and whose first (and only) line contains the path to the respective shadow directory. For example, the 'ccache' module has: /usr/lib/ccache/bin shadowman enables support for all the tools whose executable is found in PATH (i.e. the 'ccache' tool is enabled if 'ccache' can be found in PATH).
The old sys-devel/distcc
ebuild used to have a USE flag to prevent installation of bare cc/gcc/c++/g++ symlinks, so that slow i686 machines can safely distcc to fast amd64 hosts without cryptic failures, e.g. bug 639494. This tool installs symlinks unconditionally and there's no fix besides manually pruning them, which gets undone whenever it decides to run again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.