Difference between revisions of "Liboil"

From CBLFS
Jump to navigationJump to search
(I added the template for the package description and "Contents" sections.)
m
 
(5 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://liboil.freedesktop.org/download/liboil-0.3.9.tar.gz
+
| http://liboil.freedesktop.org/download/liboil-{{Liboil-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
  
== Introduction to Liboil ==
+
{{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/}}
 
 
<Package Description Needed>
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 35: 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 47: 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 53: Line 54:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
unset USE_ARCH
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 59: 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 65: Line 68:
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
unset USE_ARCH
  
 
= Contents =
 
= Contents =
Line 91: 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"