Difference between revisions of "Liboil"

From CBLFS
Jump to navigationJump to search
m
 
(3 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
----
 
----
  
{{Blank-Package-Introduction}}
+
{{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 33: 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 45: 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 51: Line 54:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
unset USE_ARCH
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 57: 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 63: Line 68:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
unset USE_ARCH
  
 
= Contents =
 
= Contents =
Line 89: Line 95:
 
| ???
 
| ???
 
|}
 
|}
 +
 +
[[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

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 ???
Retrieved from "?title=Liboil&oldid=16811"