devel/csmith: Update csmith to 2.3.0

This new version contains many changes including:
. Added a CMake-based build system (as well as Autoconf-based system).
. Improved ability to generate C++-compatible code:
    First, the command-line option --lang-cpp now sets other
    options automatically (--match-exact-qualifiers,
    --no-vol-struct-union-fields, and
    --no-const-struct-union-fields).
    Second, the new command-line option --cpp11 tells Csmith to generate
    C++11-compatible code. The default is to generate C++03-compatible code.

. Added command-line options:
    --global-variables / --no-global-variables: allow or disallow global
        variables (allowed by default)
    --const-struct-union-fields / --no-const-struct-union-fields: allow or
        disallow const fields in structs and unions (allowed by default)
    --strict-float to disallow assignments
        between floats and integers. Unless this option is specified, such
        assignments are allowed.
    --fast-execution that biases Csmith toward
        generating faster programs.

. Removed --deputy command-line option, which previously caused Csmith to
    output annotations for Deputy, a dependent type system for C.

Reviewed by:	mat (mentor)
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D11337
This commit is contained in:
Mahdi Mokhtari 2017-07-02 12:36:06 +00:00
parent c79fca5bd1
commit 4bc234320b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444881
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= csmith
PORTVERSION= 2.2.0
PORTVERSION= 2.3.0
CATEGORIES= devel
MASTER_SITES= http://embed.cs.utah.edu/csmith/
@ -17,7 +17,7 @@ LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USES= gmake libtool perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= scripts/compiler_test.pl scripts/launchn.pl scripts/test_csmith.pl
SHEBANG_FILES= scripts/compiler_test.pl scripts/launchn.pl
USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386 amd64

View File

@ -1,2 +1,3 @@
SHA256 (csmith-2.2.0.tar.gz) = 62fd96d3a5228241d4f3159511ad3ff5b8c4cedb9e9a82adc935830b421c8e37
SIZE (csmith-2.2.0.tar.gz) = 622362
TIMESTAMP = 1498294369
SHA256 (csmith-2.3.0.tar.gz) = f247cc0aede5f8a0746271b40a5092b5b5a2d034e5e8f7a836c879dde3fb65d5
SIZE (csmith-2.3.0.tar.gz) = 637381

View File

@ -2,7 +2,6 @@ bin/compiler_test.in
bin/compiler_test.pl
bin/csmith
bin/launchn.pl
bin/test_csmith.pl
include/%%PKGNAME%%/csmith.h
include/%%PKGNAME%%/csmith_minimal.h
include/%%PKGNAME%%/custom_limits.h