Files
Arch-R/packages/toolchain/math/cloog-ppl/build
Stephan Raue 9ffb9a5a19 cloog-ppl:
- cosmetics
2010-04-26 23:55:25 +02:00

30 lines
559 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/install ccache
$SCRIPTS/build gmp
$SCRIPTS/build ppl
setup_toolchain host
cd $BUILD/$1*
mkdir -p objdir
cd objdir
LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib" \
../configure --host=$HOST_NAME \
--build=$HOST_NAME \
--target=$TARGET_NAME \
--prefix=$ROOT/$TOOLCHAIN \
--enable-shared \
--disable-static \
--with-bits=gmp \
--with-gmp="$ROOT/$TOOLCHAIN" \
--with-ppl="$ROOT/$TOOLCHAIN" \
make
make check
make install