ports/101211: [NEW PORT] devel/acovea: Tool to find the "best" compiler options using genetic algorithm
trasz
trasz at pin.if.uz.zgora.pl
Tue Aug 1 18:41:29 UTC 2006
>Number: 101211
>Category: ports
>Synopsis: [NEW PORT] devel/acovea: Tool to find the "best" compiler options using genetic algorithm
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 01 18:40:24 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: trasz
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jun 3 01:12:10 CEST
>Description:
(Note that this port needs devel/libacovea and devel/libcoyotl,
submitted in another PR.)
ACOVEA (Analysis of Compiler Options via Evolutionary Algorithm)
implements a genetic algorithm to find the "best" options for
compiling programs with the GNU Compiler Collection (GCC) C and C++
compilers. "Best", in this context, is defined as those options
that produce the fastest executable program from a given source
code. Acovea is a C++ framework that can be extended to test other
programming languages and non-GCC compilers.
Author: Scott Robert Ladd
WWW: http://www.coyotegulch.com/products/acovea/index.html
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- acovea-5.1.1.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# acovea
# acovea/pkg-descr
# acovea/Makefile
# acovea/pkg-plist
# acovea/distinfo
# acovea/files
# acovea/files/patch-libacovea-acovea.cpp
#
echo c - acovea
mkdir -p acovea > /dev/null 2>&1
echo x - acovea/pkg-descr
sed 's/^X//' >acovea/pkg-descr << 'END-of-acovea/pkg-descr'
XACOVEA (Analysis of Compiler Options via Evolutionary Algorithm)
Ximplements a genetic algorithm to find the "best" options for
Xcompiling programs with the GNU Compiler Collection (GCC) C and C++
Xcompilers. "Best", in this context, is defined as those options
Xthat produce the fastest executable program from a given source
Xcode. Acovea is a C++ framework that can be extended to test other
Xprogramming languages and non-GCC compilers.
X
XAuthor: Scott Robert Ladd
XWWW: http://www.coyotegulch.com/products/acovea/index.html
END-of-acovea/pkg-descr
echo x - acovea/Makefile
sed 's/^X//' >acovea/Makefile << 'END-of-acovea/Makefile'
X# New ports collection makefile for: acovea
X# Date created: 2006-08-01
X# Whom: trasz <trasz at pin.if.uz.zgora.pl>
X#
X# $FreeBSD$
X#
X
XPORTNAME= acovea
XPORTVERSION= 5.1.1
XCATEGORIES= devel
XMASTER_SITES= http://www.coyotegulch.com/distfiles/
XDISTNAME= libacovea-${PORTVERSION}
X
XMAINTAINER= trasz at pin.if.uz.zgora.pl
XCOMMENT= Tool to find the "best" compiler options using genetic algorithm
X
XLIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
X evocosm-3.1.1:${PORTSDIR}/devel/libevocosm
X
XINSTALLS_SHLIB= yes
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS= CPPFLAGS=-I${PREFIX}/include/ LDFLAGS=-L${PREFIX}/lib/
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's,-lrt,,g' ${WRKSRC}/config/*
X
X.include <bsd.port.post.mk>
END-of-acovea/Makefile
echo x - acovea/pkg-plist
sed 's/^X//' >acovea/pkg-plist << 'END-of-acovea/pkg-plist'
Xbin/runacovea
Xlib/libacovea-5.1.so.5
Xlib/libacovea.la
Xlib/libacovea.a
Xinclude/libacovea/acovea.h
Xshare/libacovea/config/Makefile.example
Xshare/libacovea/config/g++34_opteron.acovea
Xshare/libacovea/config/g++34_pentium3.acovea
Xshare/libacovea/config/g++34_pentium4.acovea
Xshare/libacovea/config/g++40_opteron.acovea
Xshare/libacovea/config/g++40_pentium4.acovea
Xshare/libacovea/config/g9540_opteron.acovea
Xshare/libacovea/config/g9540_pentium3.acovea
Xshare/libacovea/config/g9540_pentium4.acovea
Xshare/libacovea/config/gcc34_intel.acovea
Xshare/libacovea/config/gcc34_opteron.acovea
Xshare/libacovea/config/gcc34_opteron_makefile.acovea
Xshare/libacovea/config/gcc34_opteron_size.acovea
Xshare/libacovea/config/gcc34_pentium3.acovea
Xshare/libacovea/config/gcc34_pentium4.acovea
Xshare/libacovea/config/gcc40_opteron.acovea
Xshare/libacovea/config/gcc40_opteron_makefile.acovea
Xshare/libacovea/config/gcc40_opteron_nofm.acovea
Xshare/libacovea/config/gcc40_opteron_size.acovea
Xshare/libacovea/config/gcc40_pentium4.acovea
Xshare/libacovea/config/gcc41_opteron_nofm.acovea
Xshare/libacovea/benchmarks/almabench.c
Xshare/libacovea/benchmarks/distbench.c
Xshare/libacovea/benchmarks/evobench.c
Xshare/libacovea/benchmarks/fftbench.c
Xshare/libacovea/benchmarks/huffbench.c
Xshare/libacovea/benchmarks/linbench.c
Xshare/libacovea/benchmarks/linsmall.c
Xshare/libacovea/benchmarks/mat1bench.c
Xshare/libacovea/benchmarks/treebench.c
X at dirrm share/libacovea/config
X at dirrm share/libacovea/benchmarks
X at dirrm share/libacovea
X at dirrm include/libacovea
END-of-acovea/pkg-plist
echo x - acovea/distinfo
sed 's/^X//' >acovea/distinfo << 'END-of-acovea/distinfo'
XMD5 (libacovea-5.1.1.tar.gz) = e3bfa6b782205bad083ba58a8b882158
XSHA256 (libacovea-5.1.1.tar.gz) = e84167ac683e6bf7720bd3edf1fc60e77961eb489d31fa2c1d0a34e7d67ae079
XSIZE (libacovea-5.1.1.tar.gz) = 363048
END-of-acovea/distinfo
echo c - acovea/files
mkdir -p acovea/files > /dev/null 2>&1
echo x - acovea/files/patch-libacovea-acovea.cpp
sed 's/^X//' >acovea/files/patch-libacovea-acovea.cpp << 'END-of-acovea/files/patch-libacovea-acovea.cpp'
Xdiff -urN libacovea.orig/acovea.cpp libacovea/acovea.cpp
X--- libacovea.orig/acovea.cpp Tue Aug 1 19:58:27 2006
X+++ libacovea/acovea.cpp Tue Aug 1 19:58:38 2006
X@@ -43,6 +43,7 @@
X #include <fcntl.h>
X #include <unistd.h>
X #include <sys/types.h>
X+#include <sys/stat.h>
X #include <sys/wait.h>
X
X #include <vector>
END-of-acovea/files/patch-libacovea-acovea.cpp
exit
--- acovea-5.1.1.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list