Liboil: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
|||
| Line 35: | Line 35: | ||
export USE_ARCH=32 && | export USE_ARCH=32 && | ||
CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | ||
./configure --prefix=/usr && | ./configure --prefix=/usr --build=${CLFS_TARGET32} && | ||
make | make | ||
Revision as of 18:37, 10 October 2007
| Download Source: | http://liboil.freedesktop.org/download/liboil-0.3.16.tar.gz |
|---|
Introduction to Liboil
Liboil is a library of simple functions that are optimized for various CPUs. These functions are generally loops implementing simple algorithms, such as converting an array of N integers to floating-point numbers or multiplying and summing an array of N numbers. Such functions are candidates for significant optimization using various techniques, especially by using extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).
Project Homepage: http://liboil.freedesktop.org/wiki/
Dependencies
Required
Optional
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
Compile the package:
export USE_ARCH=32 &&
CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --build=${CLFS_TARGET32} &&
make
Install the package
make install && unset USE_ARCH
N32
Compile the package:
export USE_ARCH=N32 &&
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make
Install the package
make install && unset USE_ARCH
64Bit
Compile the package:
export USE_ARCH=64 &&
CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make
Install the package
make install && unset USE_ARCH
Contents
| Installed Programs: | ??? |
|---|---|
| Installed Libraries: | ??? |
| Installed Directories: | ??? |
Short Descriptions
| program1 | ??? |
|---|---|
| program2 | ??? |