mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
new package:
- add package ppl for upcoming cloog-ppl
This commit is contained in:
parent
0881409386
commit
f87adbb255
36
packages/toolchain/math/ppl/build
Executable file
36
packages/toolchain/math/ppl/build
Executable file
@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/install ccache
|
||||||
|
$SCRIPTS/build gmp
|
||||||
|
|
||||||
|
setup_toolchain host
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
|
||||||
|
mkdir -p objdir
|
||||||
|
cd objdir
|
||||||
|
|
||||||
|
../configure --host=$HOST_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--target=$TARGET_NAME \
|
||||||
|
--prefix=$ROOT/$TOOLCHAIN \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--enable-interfaces="c,cxx" \
|
||||||
|
--disable-optimization \
|
||||||
|
--with-libgmp-prefix="$ROOT/$TOOLCHAIN" \
|
||||||
|
--with-libgmpxx-prefix="$ROOT/$TOOLCHAIN" \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
mkdir -p $ROOT/$TOOLCHAIN/lib
|
||||||
|
cp -PR interfaces/C/.libs/libppl_c.a $ROOT/$TOOLCHAIN/lib
|
||||||
|
cp -PR src/.libs/libppl.a $ROOT/$TOOLCHAIN/lib
|
||||||
|
cp -PR Watchdog/src/.libs/libpwl.a $ROOT/$TOOLCHAIN/lib
|
||||||
|
|
||||||
|
mkdir -p $ROOT/$TOOLCHAIN/include
|
||||||
|
cp -PR interfaces/C/ppl_c.h $ROOT/$TOOLCHAIN/include
|
||||||
|
cp -PR src/ppl.hh $ROOT/$TOOLCHAIN/include
|
||||||
|
cp -PR Watchdog/src/pwl.hh $ROOT/$TOOLCHAIN/include
|
1
packages/toolchain/math/ppl/url
Normal file
1
packages/toolchain/math/ppl/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://sources.openelec.tv/svn/ppl-20100220.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user