File:  [cvs.NetBSD.org] / pkgsrc / math / ntl / Makefile
Revision 1.39: download - view: text, annotated - select for diffs
Sun Oct 24 07:56:31 2021 UTC (3 years, 3 months ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, HEAD
Update to 11.5.1

Upstream changes:
2021.06.23: Changes between NTL 11.5.0 and 11.5.1
Fixed bug that prevented compilation on IBM Z.
2021.06.20: Changes between NTL 11.4.4 and 11.5.0
Added a new configuration option NTL_RANDOM_AES256CTR. The default is off. Configure with NTL_RANDOM_AES256CTR=on to replace the default ChaCha20 Pseudo-Random Number Generator (PRNG) with 256-bit AES counter mode. On certain plaforms (modern x86 and IBM System/390x), special instructions are exploited to improve performance.
Using AES in place of ChaCha may break inter-operability of applications that depend on the behavior of the PRNG.

Using AES in place of ChaCha may affect the performance positively or negatively. On IBM System/390x, there is a marked performance improvement. On x86 there may be a moderate performance improvement or degredation. On any other platforms, where there is no hardware support for AES (or none that is exploited by NTL), there will likely be a marked performance degredation.

Thanks to Patrick Steuer for contributing this code.

# $NetBSD: Makefile,v 1.39 2021/10/24 07:56:31 wen Exp $

DISTNAME=		ntl-11.5.1
CATEGORIES=		math devel
MASTER_SITES=		https://www.shoup.net/ntl/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://www.shoup.net/ntl/
COMMENT=		C++ library for doing number theory
LICENSE=		gnu-lgpl-v2.1

WRKSRC=			${WRKDIR}/${DISTNAME}/src
HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	DEF_PREFIX=${PREFIX}
USE_LANGUAGES=		c c++
USE_TOOLS+=		perl
MAKE_FILE=		makefile
TEST_TARGET=		check

.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>