# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup muniversal 1.0 name cloog conflicts cloog-devel epoch 1 version 0.18.3 subport cloog-devel { conflicts cloog epoch 0 set gitSHA1 10a5ba4075460ac637c2072475339cc33026e10a version 0.18.3 } categories devel math platforms darwin license LGPL-2.1+ maintainers larryv description CLooG, the Chunky Loop Generator, generates code \ for scanning Z-polyhedra long_description CLooG is a free software and library to generate \ code for scanning Z-polyhedra. That is, it finds \ a code (e.g. in C, FORTRAN...) that reaches each \ integral point of one or more parameterized \ polyhedra. CLooG has been originally written to \ solve the code generation problem for optimizing \ compilers based on the polytope model. \ Nevertheless it is used now in various area e.g. \ to build control automata for high-level synthesis \ or to find the best polynomial approximation of \ a function. CLooG may help in any situation where \ scanning polyhedra matters. While the user has \ full control on generated code quality, CLooG is \ designed to avoid control overhead and to produce \ a very effective code. homepage http://www.cloog.org subport cloog { depends_lib port:gmp path:lib/pkgconfig/isl.pc:isl master_sites http://www.bastoul.net/cloog/pages/download/count.php3?url=./ checksums rmd160 2759b99eea48bef983ec49d97d5a5dfb6a17b461 \ sha256 460c6c740acb8cdfbfbb387156b627cf731b3837605f2ec0001d079d89c69734 } subport cloog-devel { depends_lib port:gmp path:lib/pkgconfig/isl.pc:isl-devel master_sites http://repo.or.cz/w/cloog.git/snapshot distname ${gitSHA1} checksums rmd160 c6687ad0f838e970e7b219b3228121c3afc61ca2 \ sha256 35e1c0dd07185b1b8cffefbb85efbae63587e41bca1fad00eb76dee960753c92 worksrcdir cloog-[string range $gitSHA1 0 6] } # prevent -L/lib from being added to LDFLAGS # see http://groups.google.com/group/isl-development/t/37ad876557e50f2c subport cloog { patchfiles patch-configure.diff } subport cloog-devel { patchfiles patch-ax_create_pkgconfig_info.m4.diff \ patch-configure.ac.diff } # Don't link using "-flat_namespace -undefined suppress" on Yosemite and # later (#45706). subport cloog { patchfiles-append yosemite-libtool.patch } subport cloog-devel { use_autoreconf yes } configure.args-append --disable-silent-rules \ --with-gmp=system \ --with-isl=system \ --with-osl=no variant osl description {Build with OpenScop support (causes tests to fail)} { ui_warn "This variant causes tests to fail" depends_lib-append port:openscop configure.args-replace --with-osl=no --with-osl=system } test.run yes test.target check subport cloog { livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} } subport cloog-devel { livecheck.type moddate livecheck.url http://repo.or.cz/w/cloog.git/rss/refs/heads/master }