mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
84 lines
2.0 KiB
Bash
84 lines
2.0 KiB
Bash
SUMMARY="A loop generator for scanning Z-polyhedra"
|
|
DESCRIPTION="
|
|
CLooG is a software which generates loops for scanning Z-polyhedra. That is,
|
|
CLooG finds the code or pseudo-code where each integral point of one or more
|
|
parametrized polyhedron or parametrized polyhedra union is reached. CLooG is
|
|
designed to avoid control overhead and to produce a very efficient code.
|
|
"
|
|
HOMEPAGE="http://www.bastoul.net/cloog/index.php"
|
|
COPYRIGHT="
|
|
2001-2005 Cedric Bastoul
|
|
2008 University Paris-Sud 11 and INRIA
|
|
"
|
|
LICENSE="GNU LGPL v2.1"
|
|
SOURCE_URI="https://github.com/periscop/cloog/releases/download/cloog-$portVersion/cloog-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="48602a72aaec8e1dabc33ec0622739d3ad585b7f0ec480eebdc1d724822b7cfd"
|
|
REVISION="1"
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PATCHES="cloog-$portVersion.patchset"
|
|
|
|
PROVIDES="
|
|
cloog$secondaryArchSuffix = $portVersion compat >= 0.18
|
|
cmd:cloog$secondaryArchSuffix
|
|
lib:libcloog_isl$secondaryArchSuffix = 4.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgmp$secondaryArchSuffix
|
|
lib:libisl$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgmp$secondaryArchSuffix
|
|
devel:libisl$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure --with-gmp=system \
|
|
--with-isl=system
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libcloog-isl.la
|
|
|
|
prepareInstalledDevelLibs libcloog-isl
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
cloog${secondaryArchSuffix}_devel = $portVersion compat >= 0.18
|
|
devel:libcloog_isl$secondaryArchSuffix = 4.0.0 compat >= 4
|
|
"
|
|
REQUIRES_devel="
|
|
cloog$secondaryArchSuffix == $portVersion base
|
|
"
|