mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
new package:
- add package cloog-ppl
This commit is contained in:
parent
f87adbb255
commit
cb9d5266ef
37
packages/toolchain/math/cloog-ppl/build
Executable file
37
packages/toolchain/math/cloog-ppl/build
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
#!/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 \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--with-bits=gmp \
|
||||||
|
--with-gmp="$ROOT/$TOOLCHAIN" \
|
||||||
|
--with-ppl="$ROOT/$TOOLCHAIN" \
|
||||||
|
|
||||||
|
make libcloog.la
|
||||||
|
|
||||||
|
mkdir -p $ROOT/$TOOLCHAIN/lib
|
||||||
|
cp -PR .libs/libcloog.a $ROOT/$TOOLCHAIN/lib
|
||||||
|
|
||||||
|
mkdir -p $ROOT/$TOOLCHAIN/include/cloog
|
||||||
|
cp -PR include/cloog/*.h $ROOT/$TOOLCHAIN/include/cloog
|
||||||
|
|
||||||
|
# use the follow if cloog-ppl is fixed for use with gmp-5.0
|
||||||
|
# make
|
||||||
|
# make check #
|
24
packages/toolchain/math/cloog-ppl/patches/use_ppl_0.11.diff
Normal file
24
packages/toolchain/math/cloog-ppl/patches/use_ppl_0.11.diff
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff -Naur cloog-ppl-0.15.8/configure cloog-ppl-0.15.8.patch/configure
|
||||||
|
--- cloog-ppl-0.15.8/configure 2010-02-11 19:05:30.000000000 +0100
|
||||||
|
+++ cloog-ppl-0.15.8.patch/configure 2010-02-20 14:25:38.957509566 +0100
|
||||||
|
@@ -12684,7 +12684,7 @@
|
||||||
|
POLYHEDRAL_BACKEND=polylib
|
||||||
|
|
||||||
|
ppl_major_version=0
|
||||||
|
-ppl_minor_version=10
|
||||||
|
+ppl_minor_version=11
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
diff -Naur cloog-ppl-0.15.8/configure.in cloog-ppl-0.15.8.patch/configure.in
|
||||||
|
--- cloog-ppl-0.15.8/configure.in 2010-02-11 19:05:31.000000000 +0100
|
||||||
|
+++ cloog-ppl-0.15.8.patch/configure.in 2010-02-20 14:26:01.755539644 +0100
|
||||||
|
@@ -311,7 +311,7 @@
|
||||||
|
|
||||||
|
dnl Checking for PPL
|
||||||
|
ppl_major_version=0
|
||||||
|
-ppl_minor_version=10
|
||||||
|
+ppl_minor_version=11
|
||||||
|
AC_SUBST(PPL_CPPFLAGS)
|
||||||
|
AC_SUBST(PPL_LDFLAGS)
|
||||||
|
AC_SUBST(PPL_LIBS)
|
5
packages/toolchain/math/cloog-ppl/unpack
Executable file
5
packages/toolchain/math/cloog-ppl/unpack
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
sed -i "/LD_LIBRARY_PATH=/d" $BUILD/$1*/configure
|
1
packages/toolchain/math/cloog-ppl/url
Normal file
1
packages/toolchain/math/cloog-ppl/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.8.tar.gz
|
Loading…
x
Reference in New Issue
Block a user