On Thu, Jul 31, 2014 at 11:36:32AM -0700, Bruce Richardson wrote:

> With regards to the general approach for runtime detection of software
> functions, I wonder if something like this can be handled by the
> packaging system? Is it possible to ship out a set of shared libs
> compiled up for different instruction sets, and then at rpm install
> time, symlink the appropriate library? This would push the whole issue
> of detection of code paths outside of code, work across all our
> libraries and ensure each user got the best performance they could get
> form a binary?
> Has something like this been done before? The building of all the
> libraries could be scripted easy enough, just do multiple builds using
> different EXTRA_CFLAGS each time, and move and rename the .so's after
> each run.

I'm not aware of a package that does anything like that.  It probably
is possible, but I imagine that it would provoke a lot of debate
and consternation in FESCO...

-- 
John W. Linville                Someday the world will need a hero, and you
linville at tuxdriver.com                       might be all we have.  Be ready.

Reply via email to