Difference between revisions of "Liboil"

From CBLFS
Jump to navigationJump to search
m
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 &&
Line 39: Line 40:
 
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 =

Revision as of 17:35, 27 June 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 &&
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 ???