ports/147670: [NEW PORT] math/liblbfgs: A library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno
Hung-Yi Chen
gaod at hychen.org
Tue Jun 8 00:30:10 UTC 2010
>Number: 147670
>Category: ports
>Synopsis: [NEW PORT] math/liblbfgs: A library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno
>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 Jun 08 00:30:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Hung-Yi Chen
>Release: FreeBSD 8.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD cse.tw 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #9: Fri May 28 01:48:32 CST 2010
>Description:
This library is a C port of the implementation of Limited-memory
Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) method written by Jorge Nocedal.
The original FORTRAN source code is available at:
http://www.ece.northwestern.edu/~nocedal/lbfgs.html
WWW: http://www.chokkan.org/software/liblbfgs/
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- liblbfgs-1.9.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:
#
# liblbfgs
# liblbfgs/pkg-descr
# liblbfgs/Makefile
# liblbfgs/files
# liblbfgs/files/patch-lib_arithmetic_sse_double.h
# liblbfgs/distinfo
#
echo c - liblbfgs
mkdir -p liblbfgs > /dev/null 2>&1
echo x - liblbfgs/pkg-descr
sed 's/^X//' >liblbfgs/pkg-descr << '8eeb88e564aad3921d5818584e295f60'
XThis library is a C port of the implementation of Limited-memory
XBroyden-Fletcher-Goldfarb-Shanno (L-BFGS) method written by Jorge Nocedal.
XThe original FORTRAN source code is available at:
Xhttp://www.ece.northwestern.edu/~nocedal/lbfgs.html
X
XWWW: http://www.chokkan.org/software/liblbfgs/
8eeb88e564aad3921d5818584e295f60
echo x - liblbfgs/Makefile
sed 's/^X//' >liblbfgs/Makefile << '0dc7b1aaeb0cfd8a0c95c931d63e907d'
X# New ports collection makefile for: liblbfgs
X# Date created: 2010-06-08
X# Whom: Hung-Yi Chen <gaod at hychen.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= liblbfgs
XPORTVERSION= 1.9
XCATEGORIES= math
XMASTER_SITES= http://www.chokkan.org/software/dist/
X
XMAINTAINER= gaod at hychen.org
XCOMMENT= A library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno
X
XGNU_CONFIGURE= yes
XUSE_AUTOTOOLS= autoconf:262:env
X
XOPTIONS= OPTIMIZED "Enable SSE2 optimization routines" off
X
X.include <bsd.port.options.mk>
X
X# Enable/disable compilation optimizations.
X.if defined(WITH_OPTIMIZED)
XCONFIGURE_ARGS+= --enable-sse2
X.endif
X
XCONFIGURE_ARGS+= --prefix=${PREFIX}
X
XPLIST_FILES= lib/liblbfgs-1.9.so.0.0 lib/liblbfgs.a lib//liblbfgs.la \
X lib/liblbfgs.so.0.0 include/lbfgs.h
X
XPORTDOCS= README INSTALL COPYING AUTHORS ChangeLog NEWS
X
X.include <bsd.port.mk>
0dc7b1aaeb0cfd8a0c95c931d63e907d
echo c - liblbfgs/files
mkdir -p liblbfgs/files > /dev/null 2>&1
echo x - liblbfgs/files/patch-lib_arithmetic_sse_double.h
sed 's/^X//' >liblbfgs/files/patch-lib_arithmetic_sse_double.h << 'c4453553f79079b0c52402840ee1acb7'
X--- lib/arithmetic_sse_double.h.orig 2010-06-08 08:17:38.000000000 +0800
X+++ lib/arithmetic_sse_double.h 2010-06-08 08:19:41.000000000 +0800
X@@ -26,7 +26,6 @@
X /* $Id: arithmetic_sse_double.h 65 2010-01-29 12:19:16Z naoaki $ */
X
X #include <stdlib.h>
X-#include <malloc.h>
X #include <memory.h>
X
X #if 1400 <= _MSC_VER
X@@ -37,6 +36,8 @@
X #include <emmintrin.h>
X #endif/*HAVE_EMMINTRIN_H*/
X
X+#define memalign(A,B) malloc(B)
X+
X inline static void* vecalloc(size_t size)
X {
X #ifdef _MSC_VER
c4453553f79079b0c52402840ee1acb7
echo x - liblbfgs/distinfo
sed 's/^X//' >liblbfgs/distinfo << 'a6d74fa5f5dd96e0d248adcedf39bbb6'
XMD5 (liblbfgs-1.9.tar.gz) = 311eb920dd3ed777c3fae14e4ae7c9a5
XSHA256 (liblbfgs-1.9.tar.gz) = 76e2decbb4d05349f83ed81d30318b3af8597c007f447a0f68ff6f9eb8a8b47c
XSIZE (liblbfgs-1.9.tar.gz) = 318447
a6d74fa5f5dd96e0d248adcedf39bbb6
exit
--- liblbfgs-1.9.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list