Lines 1-33
Link Here
|
1 |
PORTNAME= creduce |
1 |
PORTNAME= creduce |
2 |
DISTVERSION= 2.10.0 |
2 |
DISTVERSION= 2.11.0.20220927 |
3 |
CATEGORIES= devel |
3 |
CATEGORIES= devel |
4 |
MASTER_SITES= http://embed.cs.utah.edu/creduce/ |
|
|
5 |
|
4 |
|
6 |
MAINTAINER= swills@FreeBSD.org |
5 |
MAINTAINER= swills@FreeBSD.org |
7 |
COMMENT= Produces small test cases |
6 |
COMMENT= Produces small test cases |
8 |
WWW= https://embed.cs.utah.edu/creduce/ |
7 |
WWW= https://github.com/csmith-project/creduce |
9 |
|
8 |
|
10 |
LLVM_VER= 80 |
9 |
BROKEN_FreeBSD_12_powerpc64= fails to configure: cannot compile and link test program with selected LLVM |
11 |
BUILD_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} |
10 |
|
12 |
RUN_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} \ |
11 |
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex |
13 |
topformflat:devel/delta \ |
12 |
LIB_DEPENDS= libzstd.so:archivers/zstd |
14 |
astyle:devel/astyle \ |
13 |
RUN_DEPENDS= topformflat:devel/delta \ |
15 |
p5-Benchmark-Timer>=0:devel/p5-Benchmark-Timer \ |
14 |
p5-Benchmark-Timer>=0:devel/p5-Benchmark-Timer \ |
16 |
p5-Exporter-Lite>=0:devel/p5-Exporter-Lite \ |
15 |
p5-Exporter-Lite>=0:devel/p5-Exporter-Lite \ |
17 |
p5-File-Which>=0:sysutils/p5-File-Which \ |
16 |
p5-File-Which>=0:sysutils/p5-File-Which \ |
18 |
p5-Regexp-Common>=0:textproc/p5-Regexp-Common \ |
17 |
p5-Regexp-Common>=0:textproc/p5-Regexp-Common \ |
19 |
p5-Sys-CPU>=0:devel/p5-Sys-CPU \ |
18 |
p5-Sys-CPU>=0:devel/p5-Sys-CPU \ |
20 |
p5-Getopt-Tabular>=0:devel/p5-Getopt-Tabular |
19 |
p5-Getopt-Tabular>=0:devel/p5-Getopt-Tabular \ |
|
|
20 |
p5-Term-ReadKey>=0:devel/p5-Term-ReadKey |
21 |
|
21 |
|
22 |
BROKEN_FreeBSD_12_powerpc64= fails to configure: cannot compile and link test program with selected LLVM |
22 |
USES= cmake gnome llvm:build,lib,run perl5 |
|
|
23 |
|
24 |
USE_CXXSTD= c++14 |
25 |
USE_GITHUB= yes |
26 |
GH_ACCOUNT= csmith-project |
27 |
GH_TAGNAME= 8d56bee |
28 |
USE_GNOME= libxml2 |
23 |
|
29 |
|
24 |
GNU_CONFIGURE= yes |
30 |
# See clang_delta/CMakeLists.txt for more details |
25 |
CONFIGURE_ENV= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER} \ |
31 |
LDFLAGS+= -lLLVM-${LLVM_VERSION} -L/${LOCALBASE}/llvm${LLVM_VERSION}/lib |
26 |
CC=${LOCALBASE}/bin/clang${LLVM_VER} \ |
|
|
27 |
CXX=${LOCALBASE}/bin/clang++${LLVM_VER} \ |
28 |
CPP=${LOCALBASE}/bin/clang-cpp${LLVM_VER} |
29 |
|
32 |
|
30 |
USES= autoreconf compiler gmake libtool perl5 |
33 |
CMAKE_OFF= ENABLE_TRANS_ASSERT |
|
|
34 |
CMAKE_ARGS= -DLLVM_DIR=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/llvm \ |
35 |
-DClang_DIR=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/clang |
31 |
|
36 |
|
32 |
CFLAGS_powerpc64= -mabi=elfv2 |
37 |
CFLAGS_powerpc64= -mabi=elfv2 |
33 |
|
38 |
|
Lines 37-48
CFLAGS_powerpc64= -mabi=elfv2
Link Here
|
37 |
LLD_UNSAFE= yes |
42 |
LLD_UNSAFE= yes |
38 |
.endif |
43 |
.endif |
39 |
|
44 |
|
40 |
.include <bsd.port.pre.mk> |
|
|
41 |
|
42 |
# Detect base system libc++ >= 14 by checking for COMPILER_VERSION. |
43 |
# Not really the ideal way, but it should work. |
44 |
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 140 |
45 |
CXXFLAGS+= -include ${FILESDIR}/builtin_is_constant_evaluated.h |
46 |
.endif |
47 |
|
48 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.mk> |