Skip to content

Commit

Permalink
math/alglib: Update 3.17.0 -> 3.18.0
Browse files Browse the repository at this point in the history
Also add the 'test' target.

Reported by:	portscout
  • Loading branch information
yurivict committed Nov 7, 2021
1 parent 0131139 commit e685bdf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
10 changes: 8 additions & 2 deletions math/alglib/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= alglib
DISTVERSION= 3.17.0
DISTVERSION= 3.18.0
CATEGORIES= math science
MASTER_SITES= https://www.alglib.net/translator/re/
EXTRACT_SUFX= .cpp.gpl.zip
Expand All @@ -11,7 +11,7 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/gpl3.txt

USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/cpp
WRKSRC= ${WRKDIR}/${PORTNAME}-cpp

do-build:
cd ${WRKSRC}/src && \
Expand All @@ -23,4 +23,10 @@ do-install:
${INSTALL_LIB} ${WRKSRC}/src/lib${PORTNAME}.so.3 ${STAGEDIR}${PREFIX}/lib
@${LN} -s lib${PORTNAME}.so.3 ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so

do-test:
@cd ${WRKSRC} && \
cd tests && \
${CXX} ${CXXFLAGS} test_c.cpp -I ${STAGEDIR}${LOCALBASE}/include/libalglib ${STAGEDIR}${LOCALBASE}/lib/lib${PORTNAME}.so && \
LD_PRELOAD=${STAGEDIR}${LOCALBASE}/lib/lib${PORTNAME}.so ./a.out

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions math/alglib/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1609303656
SHA256 (alglib-3.17.0.cpp.gpl.zip) = 96d61e8ad68e715dfada6aa25eef014eb14d59573809b84e3e393dbf896d40a7
SIZE (alglib-3.17.0.cpp.gpl.zip) = 3076017
TIMESTAMP = 1636274405
SHA256 (alglib-3.18.0.cpp.gpl.zip) = b9045b3c569d351a6bc093ee0166cb72003aca92dc0f95cb7076d3b32dd58c0c
SIZE (alglib-3.18.0.cpp.gpl.zip) = 3175116
3 changes: 3 additions & 0 deletions math/alglib/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ include/libalglib/diffequations.h
include/libalglib/fasttransforms.h
include/libalglib/integration.h
include/libalglib/interpolation.h
include/libalglib/kernels_avx2.h
include/libalglib/kernels_fma.h
include/libalglib/kernels_sse2.h
include/libalglib/linalg.h
include/libalglib/optimization.h
include/libalglib/solvers.h
Expand Down

0 comments on commit e685bdf

Please sign in to comment.