pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Used to update devel/polly
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Wed Aug 3 13:39:39 2022 +0200
Changeset: 56e723e71e89de3d462c20b41d62b4d46046e04f
Modified Files:
Makefile
Added Files:
polly/DESCR
polly/Makefile
polly/PLIST
polly/buildlink3.mk
polly/distinfo
polly/patches/patch-CMakeLists.txt
Log Message:
Used to update devel/polly
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=56e723e71e89de3d462c20b41d62b4d46046e04f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
polly/DESCR | 12 ++++
polly/Makefile | 31 ++++++++++
polly/PLIST | 118 +++++++++++++++++++++++++++++++++++++
polly/buildlink3.mk | 14 +++++
polly/distinfo | 6 ++
polly/patches/patch-CMakeLists.txt | 17 ++++++
7 files changed, 199 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index a5749651a5..cf67b8b42f 100644
--- a/Makefile
+++ b/Makefile
@@ -3270,6 +3270,7 @@ SUBDIR+= poke-git
SUBDIR+= polarssl11
SUBDIR+= polipo
SUBDIR+= polkit-kde-agent
+SUBDIR+= polly
SUBDIR+= polyclipping
SUBDIR+= polylib
SUBDIR+= polymul
diff --git a/polly/DESCR b/polly/DESCR
new file mode 100644
index 0000000000..6750ff4476
--- /dev/null
+++ b/polly/DESCR
@@ -0,0 +1,12 @@
+Polly is a high-level loop and data-locality optimizer and optimization
+infrastructure for LLVM. It uses an abstract mathematical representation based
+on integer polyhedra to analyze and optimize the memory access pattern of a
+program. We currently perform classical loop transformations, especially tiling
+and loop fusion to improve data-locality. Polly can also exploit OpenMP level
+parallelism, expose SIMDization opportunities. Work has also be done in the
+area of automatic GPU code generation.
+
+For many users, however, it's not the existing optimizations in Polly that are
+of most interest, but the new analyses and optimizations enabled by the Polly
+infrastructure. At polyhedral.info you can get an idea of what has already been
+done and what is possible in the context of polyhedral compilation.
diff --git a/polly/Makefile b/polly/Makefile
new file mode 100644
index 0000000000..9bf1d4e8d9
--- /dev/null
+++ b/polly/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.19 2020/04/18 08:01:43 adam Exp $
+
+.include "../../wip/llvm/version.mk"
+
+DISTNAME= polly-${LLVM_VERSION}.src
+PKGNAME= ${DISTNAME:S/.src//}
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://polly.llvm.org/
+COMMENT= Polyhedral optimizations for LLVM
+LICENSE= apache-2.0
+
+DEPENDS+= llvm-${PKGVERSION_NOREV}{,nb*}:../../lang/llvm
+
+CONFIGURE_DIRS= ${WRKDIR}/build
+CMAKE_ARG_PATH= ${WRKSRC}
+
+USE_LANGUAGES= c c++14
+USE_CMAKE= yes
+GCC_REQD+= 4.8
+
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+= -DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${CXX:Q}
+
+post-extract:
+ ${MKDIR} ${WRKDIR}/build
+
+.include "../../wip/llvm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/polly/PLIST b/polly/PLIST
new file mode 100644
index 0000000000..718d3d2648
--- /dev/null
+++ b/polly/PLIST
@@ -0,0 +1,118 @@
+@comment $NetBSD$
+include/polly/Canonicalization.h
+include/polly/CodeGen/BlockGenerators.h
+include/polly/CodeGen/CodeGeneration.h
+include/polly/CodeGen/CodegenCleanup.h
+include/polly/CodeGen/IRBuilder.h
+include/polly/CodeGen/IslAst.h
+include/polly/CodeGen/IslExprBuilder.h
+include/polly/CodeGen/IslNodeBuilder.h
+include/polly/CodeGen/LoopGenerators.h
+include/polly/CodeGen/LoopGeneratorsGOMP.h
+include/polly/CodeGen/LoopGeneratorsKMP.h
+include/polly/CodeGen/PPCGCodeGeneration.h
+include/polly/CodeGen/PerfMonitor.h
+include/polly/CodeGen/RuntimeDebugBuilder.h
+include/polly/CodeGen/Utils.h
+include/polly/CodePreparation.h
+include/polly/Config/config.h
+include/polly/DeLICM.h
+include/polly/DeadCodeElimination.h
+include/polly/DependenceInfo.h
+include/polly/FlattenAlgo.h
+include/polly/FlattenSchedule.h
+include/polly/ForwardOpTree.h
+include/polly/JSONExporter.h
+include/polly/LinkAllPasses.h
+include/polly/ManualOptimizer.h
+include/polly/MatmulOptimizer.h
+include/polly/Options.h
+include/polly/PolyhedralInfo.h
+include/polly/PruneUnprofitable.h
+include/polly/RegisterPasses.h
+include/polly/ScheduleOptimizer.h
+include/polly/ScheduleTreeTransform.h
+include/polly/ScopBuilder.h
+include/polly/ScopDetection.h
+include/polly/ScopDetectionDiagnostic.h
+include/polly/ScopInfo.h
+include/polly/ScopPass.h
+include/polly/Simplify.h
+include/polly/Support/DumpFunctionPass.h
+include/polly/Support/DumpModulePass.h
+include/polly/Support/GICHelper.h
+include/polly/Support/ISLOStream.h
+include/polly/Support/ISLOperators.h
+include/polly/Support/ISLTools.h
+include/polly/Support/LinkGPURuntime.h
+include/polly/Support/SCEVAffinator.h
+include/polly/Support/SCEVValidator.h
+include/polly/Support/ScopHelper.h
+include/polly/Support/ScopLocation.h
+include/polly/Support/VirtualInstruction.h
+include/polly/ZoneAlgo.h
+include/polly/isl/aff.h
+include/polly/isl/aff_type.h
+include/polly/isl/arg.h
+include/polly/isl/ast.h
+include/polly/isl/ast_build.h
+include/polly/isl/ast_type.h
+include/polly/isl/constraint.h
+include/polly/isl/ctx.h
+include/polly/isl/fixed_box.h
+include/polly/isl/flow.h
+include/polly/isl/hash.h
+include/polly/isl/hmap.h
+include/polly/isl/id.h
+include/polly/isl/id_to_ast_expr.h
+include/polly/isl/id_to_id.h
+include/polly/isl/id_to_pw_aff.h
+include/polly/isl/id_type.h
+include/polly/isl/ilp.h
+include/polly/isl/isl-noexceptions.h
+include/polly/isl/list.h
+include/polly/isl/local_space.h
+include/polly/isl/lp.h
+include/polly/isl/map.h
+include/polly/isl/map_to_basic_set.h
+include/polly/isl/map_type.h
+include/polly/isl/mat.h
+include/polly/isl/maybe.h
+include/polly/isl/maybe_ast_expr.h
+include/polly/isl/maybe_basic_set.h
+include/polly/isl/maybe_id.h
+include/polly/isl/maybe_pw_aff.h
+include/polly/isl/maybe_templ.h
+include/polly/isl/multi.h
+include/polly/isl/obj.h
+include/polly/isl/options.h
+include/polly/isl/point.h
+include/polly/isl/polynomial.h
+include/polly/isl/polynomial_type.h
+include/polly/isl/printer.h
+include/polly/isl/printer_type.h
+include/polly/isl/schedule.h
+include/polly/isl/schedule_node.h
+include/polly/isl/schedule_type.h
+include/polly/isl/set.h
+include/polly/isl/set_type.h
+include/polly/isl/space.h
+include/polly/isl/space_type.h
+include/polly/isl/stdint.h
+include/polly/isl/stream.h
+include/polly/isl/stride_info.h
+include/polly/isl/union_map.h
+include/polly/isl/union_map_type.h
+include/polly/isl/union_set.h
+include/polly/isl/union_set_type.h
+include/polly/isl/val.h
+include/polly/isl/val_gmp.h
+include/polly/isl/val_type.h
+include/polly/isl/vec.h
+include/polly/isl/version.h
+include/polly/isl/vertices.h
+lib/LLVMPolly.so
+lib/cmake/polly/PollyConfig.cmake
+lib/cmake/polly/PollyExports-all.cmake
+lib/libPolly.a
+lib/libPollyISL.a
diff --git a/polly/buildlink3.mk b/polly/buildlink3.mk
new file mode 100644
index 0000000000..dbacddd2f5
--- /dev/null
+++ b/polly/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.6 2019/12/29 15:31:21 adam Exp $
+
+BUILDLINK_TREE+= polly
+
+.if !defined(POLLY_BUILDLINK3_MK)
+POLLY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.polly+= polly>=9.0.1
+BUILDLINK_PKGSRCDIR.polly?= ../../devel/polly
+
+.include "../../wip/llvm/buildlink3.mk"
+.endif # POLLY_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -polly
diff --git a/polly/distinfo b/polly/distinfo
new file mode 100644
index 0000000000..2bcdb00a1e
--- /dev/null
+++ b/polly/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.23 2022/02/03 20:38:40 adam Exp $
+
+BLAKE2s (polly-14.0.6.src.tar.xz) = b787ce64b15d9f550d0c02966d43c5f18f2a601715780a2a34852b503bb81d5c
+SHA512 (polly-14.0.6.src.tar.xz) = a2a3c96d58975a2023a26aef87ec3a755b489d3fe62d5c18fc1a477a65e032e265f4fcebc3d28c2958c2e97de44673259a1e083cc8aebb5671685695501e7645
+Size (polly-14.0.6.src.tar.xz) = 9357684 bytes
+SHA1 (patch-CMakeLists.txt) = c827eac5e5bfa3ae948970b66bfe634c6d1eadfe
diff --git a/polly/patches/patch-CMakeLists.txt b/polly/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..93acf6ce9d
--- /dev/null
+++ b/polly/patches/patch-CMakeLists.txt
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Disable tests: they require missing files from standard LLVM build (lit tool)
+
+--- CMakeLists.txt.orig 2022-08-03 11:25:47.975856617 +0000
++++ CMakeLists.txt
+@@ -147,10 +147,6 @@ add_definitions( -D_GNU_SOURCE )
+
+ add_subdirectory(docs)
+ add_subdirectory(lib)
+-add_subdirectory(test)
+-if (POLLY_GTEST_AVAIL)
+- add_subdirectory(unittests)
+-endif ()
+ add_subdirectory(tools)
+ add_subdirectory(cmake)
+ # TODO: docs.
Home |
Main Index |
Thread Index |
Old Index