Difference between revisions of "Liboil"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) m |
|||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| style="text-align: left; background-color: AliceBlue;" | {| style="text-align: left; background-color: AliceBlue;" | ||
− | |- | + | |-valign="top" |
!Download Source: | !Download Source: | ||
− | | http://liboil.freedesktop.org/download/liboil- | + | | http://liboil.freedesktop.org/download/liboil-{{Liboil-Version}}.tar.gz |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Package-Introduction|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.).|http://liboil.freedesktop.org/wiki/}} | ||
== Dependencies == | == Dependencies == | ||
Line 31: | Line 33: | ||
Compile the package: | Compile the package: | ||
+ | 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 | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | unset USE_ARCH | ||
=== N32 === | === N32 === | ||
Line 43: | Line 47: | ||
Compile the package: | Compile the package: | ||
+ | export USE_ARCH=N32 && | ||
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | ||
./configure --prefix=/usr --libdir=/usr/lib32 && | ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
Line 49: | Line 54: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | unset USE_ARCH | ||
=== 64Bit === | === 64Bit === | ||
Line 55: | Line 61: | ||
Compile the package: | Compile the package: | ||
+ | export USE_ARCH=64 && | ||
CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | ||
./configure --prefix=/usr --libdir=/usr/lib64 && | ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
Line 61: | Line 68: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | unset USE_ARCH | ||
+ | |||
+ | = Contents = | ||
+ | |||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | ! Installed Programs: | ||
+ | | ??? | ||
+ | |-valign="top" | ||
+ | ! Installed Libraries: | ||
+ | | ??? | ||
+ | |-valign="top" | ||
+ | ! Installed Directories: | ||
+ | | ??? | ||
+ | |} | ||
+ | |||
+ | === Short Descriptions === | ||
+ | |||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | ! program1 | ||
+ | | ??? | ||
+ | |-valign="top" | ||
+ | ! program2 | ||
+ | | ??? | ||
+ | |} | ||
+ | |||
+ | [[Category:General Libs]] |
Latest revision as of 12:40, 8 February 2009
Download Source: | http://liboil.freedesktop.org/download/liboil-0.3.16.tar.gz |
---|
Contents
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 | ??? |