aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2023-06-30 17:21:28 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2023-07-02 13:05:01 +0000
commitae342c36f6aa5fa2f7b2945831696dd676603a8d (patch)
treed9f441ae6d27293510d3dda7e1909874ba5415a0
parentf0d6923e6b7525dcca8b04193df78aa848cc265f (diff)
math/openscop: Add new port
Library for Data Exchange in Polyhedral Compilation Tools It's a new dependency of math/cloog.
-rw-r--r--math/Makefile1
-rw-r--r--math/openscop/Makefile24
-rw-r--r--math/openscop/distinfo3
-rw-r--r--math/openscop/pkg-descr5
-rw-r--r--math/openscop/pkg-plist37
5 files changed, 70 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 7e5ce7d35c7d..83e191007bc1 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -658,6 +658,7 @@
SUBDIR += openfst
SUBDIR += openlibm
SUBDIR += openmesh
+ SUBDIR += openscop
SUBDIR += opensolaris-libm
SUBDIR += openturns
SUBDIR += optpp
diff --git a/math/openscop/Makefile b/math/openscop/Makefile
new file mode 100644
index 000000000000..1e694b159409
--- /dev/null
+++ b/math/openscop/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= openscop
+PORTVERSION= 0.9.7
+CATEGORIES= math
+
+MAINTAINER= danilo@FreeBSD.org
+COMMENT= Library for Data Exchange in Polyhedral Compilation Tools
+WWW= https://github.com/periscop/openscop
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libgmp.so:math/gmp
+
+USES= autoreconf gmake libtool
+
+USE_GITHUB= yes
+GH_ACCOUNT= periscop
+
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+CONFIGURE_ARGS+= --with-gmp-prefix=${LOCALBASE}
+
+.include <bsd.port.mk>
diff --git a/math/openscop/distinfo b/math/openscop/distinfo
new file mode 100644
index 000000000000..a14078d33a33
--- /dev/null
+++ b/math/openscop/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688137408
+SHA256 (periscop-openscop-0.9.7_GH0.tar.gz) = bdb566af5c68cb8bb66dc204b1dcafebaa843a25dfdbcc64dfcc21a1912c3e66
+SIZE (periscop-openscop-0.9.7_GH0.tar.gz) = 288697
diff --git a/math/openscop/pkg-descr b/math/openscop/pkg-descr
new file mode 100644
index 000000000000..823886adee7f
--- /dev/null
+++ b/math/openscop/pkg-descr
@@ -0,0 +1,5 @@
+OpenScop is an open specification that defines a file format and a set of
+data structures to represent a static control part (SCoP for short),
+i.e., a program part that can be represented in the polyhedral model.
+The goal of OpenScop is to provide a common interface to various
+polyhedral compilation tools in order to simplify their interaction.
diff --git a/math/openscop/pkg-plist b/math/openscop/pkg-plist
new file mode 100644
index 000000000000..8b154613e176
--- /dev/null
+++ b/math/openscop/pkg-plist
@@ -0,0 +1,37 @@
+include/osl/attributes.h
+include/osl/body.h
+include/osl/extensions/annotation.h
+include/osl/extensions/arrays.h
+include/osl/extensions/clay.h
+include/osl/extensions/comment.h
+include/osl/extensions/coordinates.h
+include/osl/extensions/dependence.h
+include/osl/extensions/extbody.h
+include/osl/extensions/irregular.h
+include/osl/extensions/loop.h
+include/osl/extensions/null.h
+include/osl/extensions/pluto_unroll.h
+include/osl/extensions/region.h
+include/osl/extensions/scatinfos.h
+include/osl/extensions/scatnames.h
+include/osl/extensions/symbols.h
+include/osl/extensions/textual.h
+include/osl/generic.h
+include/osl/int.h
+include/osl/interface.h
+include/osl/macros.h
+include/osl/names.h
+include/osl/osl.h
+include/osl/relation.h
+include/osl/relation_list.h
+include/osl/scop.h
+include/osl/statement.h
+include/osl/strings.h
+include/osl/util.h
+include/osl/vector.h
+lib/libosl.a
+lib/libosl.so
+lib/libosl.so.0
+lib/libosl.so.0.0.0
+lib/osl/osl-config.cmake
+libdata/pkgconfig/osl.pc