diff options
author | Danny Rawlins <contact@romster.me> | 2021-10-01 18:38:20 +1000 |
---|---|---|
committer | Danny Rawlins <contact@romster.me> | 2021-10-01 18:38:20 +1000 |
commit | 62fd06f2fc9acdd67af80a0463806ba23affd21a (patch) | |
tree | 794d5a0ce7c1570c51db25d7091721a2bed738fd /polly | |
parent | b7089236ce7f619dd03cc0b33bc948a4a102916a (diff) | |
download | opt-62fd06f2fc9acdd67af80a0463806ba23affd21a.tar.gz opt-62fd06f2fc9acdd67af80a0463806ba23affd21a.tar.xz |
polly: initial import
Diffstat (limited to 'polly')
-rw-r--r-- | polly/.footprint | 131 | ||||
-rw-r--r-- | polly/.signature | 5 | ||||
-rw-r--r-- | polly/Pkgfile | 27 |
3 files changed, 163 insertions, 0 deletions
diff --git a/polly/.footprint b/polly/.footprint new file mode 100644 index 000000000..5cbc069d9 --- /dev/null +++ b/polly/.footprint @@ -0,0 +1,131 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/polly/ +-rw-r--r-- root/root usr/include/polly/Canonicalization.h +drwxr-xr-x root/root usr/include/polly/CodeGen/ +-rw-r--r-- root/root usr/include/polly/CodeGen/BlockGenerators.h +-rw-r--r-- root/root usr/include/polly/CodeGen/CodeGeneration.h +-rw-r--r-- root/root usr/include/polly/CodeGen/CodegenCleanup.h +-rw-r--r-- root/root usr/include/polly/CodeGen/IRBuilder.h +-rw-r--r-- root/root usr/include/polly/CodeGen/IslAst.h +-rw-r--r-- root/root usr/include/polly/CodeGen/IslExprBuilder.h +-rw-r--r-- root/root usr/include/polly/CodeGen/IslNodeBuilder.h +-rw-r--r-- root/root usr/include/polly/CodeGen/LoopGenerators.h +-rw-r--r-- root/root usr/include/polly/CodeGen/LoopGeneratorsGOMP.h +-rw-r--r-- root/root usr/include/polly/CodeGen/LoopGeneratorsKMP.h +-rw-r--r-- root/root usr/include/polly/CodeGen/PPCGCodeGeneration.h +-rw-r--r-- root/root usr/include/polly/CodeGen/PerfMonitor.h +-rw-r--r-- root/root usr/include/polly/CodeGen/RuntimeDebugBuilder.h +-rw-r--r-- root/root usr/include/polly/CodeGen/Utils.h +-rw-r--r-- root/root usr/include/polly/CodePreparation.h +drwxr-xr-x root/root usr/include/polly/Config/ +-rw-r--r-- root/root usr/include/polly/Config/config.h +-rw-r--r-- root/root usr/include/polly/DeLICM.h +-rw-r--r-- root/root usr/include/polly/DeadCodeElimination.h +-rw-r--r-- root/root usr/include/polly/DependenceInfo.h +-rw-r--r-- root/root usr/include/polly/FlattenAlgo.h +-rw-r--r-- root/root usr/include/polly/FlattenSchedule.h +-rw-r--r-- root/root usr/include/polly/ForwardOpTree.h +-rw-r--r-- root/root usr/include/polly/JSONExporter.h +-rw-r--r-- root/root usr/include/polly/LinkAllPasses.h +-rw-r--r-- root/root usr/include/polly/ManualOptimizer.h +-rw-r--r-- root/root usr/include/polly/MatmulOptimizer.h +-rw-r--r-- root/root usr/include/polly/Options.h +-rw-r--r-- root/root usr/include/polly/PolyhedralInfo.h +-rw-r--r-- root/root usr/include/polly/PruneUnprofitable.h +-rw-r--r-- root/root usr/include/polly/RegisterPasses.h +-rw-r--r-- root/root usr/include/polly/RewriteByReferenceParameters.h +-rw-r--r-- root/root usr/include/polly/ScheduleOptimizer.h +-rw-r--r-- root/root usr/include/polly/ScheduleTreeTransform.h +-rw-r--r-- root/root usr/include/polly/ScopBuilder.h +-rw-r--r-- root/root usr/include/polly/ScopDetection.h +-rw-r--r-- root/root usr/include/polly/ScopDetectionDiagnostic.h +-rw-r--r-- root/root usr/include/polly/ScopInfo.h +-rw-r--r-- root/root usr/include/polly/ScopPass.h +-rw-r--r-- root/root usr/include/polly/Simplify.h +drwxr-xr-x root/root usr/include/polly/Support/ +-rw-r--r-- root/root usr/include/polly/Support/DumpModulePass.h +-rw-r--r-- root/root usr/include/polly/Support/GICHelper.h +-rw-r--r-- root/root usr/include/polly/Support/ISLOStream.h +-rw-r--r-- root/root usr/include/polly/Support/ISLOperators.h +-rw-r--r-- root/root usr/include/polly/Support/ISLTools.h +-rw-r--r-- root/root usr/include/polly/Support/LinkGPURuntime.h +-rw-r--r-- root/root usr/include/polly/Support/SCEVAffinator.h +-rw-r--r-- root/root usr/include/polly/Support/SCEVValidator.h +-rw-r--r-- root/root usr/include/polly/Support/ScopHelper.h +-rw-r--r-- root/root usr/include/polly/Support/ScopLocation.h +-rw-r--r-- root/root usr/include/polly/Support/VirtualInstruction.h +-rw-r--r-- root/root usr/include/polly/ZoneAlgo.h +drwxr-xr-x root/root usr/include/polly/isl/ +-rw-r--r-- root/root usr/include/polly/isl/aff.h +-rw-r--r-- root/root usr/include/polly/isl/aff_type.h +-rw-r--r-- root/root usr/include/polly/isl/arg.h +-rw-r--r-- root/root usr/include/polly/isl/ast.h +-rw-r--r-- root/root usr/include/polly/isl/ast_build.h +-rw-r--r-- root/root usr/include/polly/isl/ast_type.h +-rw-r--r-- root/root usr/include/polly/isl/constraint.h +-rw-r--r-- root/root usr/include/polly/isl/cpp-checked-conversion.h +-rw-r--r-- root/root usr/include/polly/isl/cpp-checked.h +-rw-r--r-- root/root usr/include/polly/isl/cpp.h +-rw-r--r-- root/root usr/include/polly/isl/ctx.h +-rw-r--r-- root/root usr/include/polly/isl/fixed_box.h +-rw-r--r-- root/root usr/include/polly/isl/flow.h +-rw-r--r-- root/root usr/include/polly/isl/hash.h +-rw-r--r-- root/root usr/include/polly/isl/hmap.h +-rw-r--r-- root/root usr/include/polly/isl/id.h +-rw-r--r-- root/root usr/include/polly/isl/id_to_ast_expr.h +-rw-r--r-- root/root usr/include/polly/isl/id_to_id.h +-rw-r--r-- root/root usr/include/polly/isl/id_to_pw_aff.h +-rw-r--r-- root/root usr/include/polly/isl/id_type.h +-rw-r--r-- root/root usr/include/polly/isl/ilp.h +-rw-r--r-- root/root usr/include/polly/isl/isl-noexceptions.h +-rw-r--r-- root/root usr/include/polly/isl/list.h +-rw-r--r-- root/root usr/include/polly/isl/local_space.h +-rw-r--r-- root/root usr/include/polly/isl/lp.h +-rw-r--r-- root/root usr/include/polly/isl/map.h +-rw-r--r-- root/root usr/include/polly/isl/map_to_basic_set.h +-rw-r--r-- root/root usr/include/polly/isl/map_type.h +-rw-r--r-- root/root usr/include/polly/isl/mat.h +-rw-r--r-- root/root usr/include/polly/isl/maybe.h +-rw-r--r-- root/root usr/include/polly/isl/maybe_ast_expr.h +-rw-r--r-- root/root usr/include/polly/isl/maybe_basic_set.h +-rw-r--r-- root/root usr/include/polly/isl/maybe_id.h +-rw-r--r-- root/root usr/include/polly/isl/maybe_pw_aff.h +-rw-r--r-- root/root usr/include/polly/isl/maybe_templ.h +-rw-r--r-- root/root usr/include/polly/isl/multi.h +-rw-r--r-- root/root usr/include/polly/isl/obj.h +-rw-r--r-- root/root usr/include/polly/isl/options.h +-rw-r--r-- root/root usr/include/polly/isl/point.h +-rw-r--r-- root/root usr/include/polly/isl/polynomial.h +-rw-r--r-- root/root usr/include/polly/isl/polynomial_type.h +-rw-r--r-- root/root usr/include/polly/isl/printer.h +-rw-r--r-- root/root usr/include/polly/isl/printer_type.h +-rw-r--r-- root/root usr/include/polly/isl/schedule.h +-rw-r--r-- root/root usr/include/polly/isl/schedule_node.h +-rw-r--r-- root/root usr/include/polly/isl/schedule_type.h +-rw-r--r-- root/root usr/include/polly/isl/set.h +-rw-r--r-- root/root usr/include/polly/isl/set_type.h +-rw-r--r-- root/root usr/include/polly/isl/space.h +-rw-r--r-- root/root usr/include/polly/isl/space_type.h +-rw-r--r-- root/root usr/include/polly/isl/stdint.h +-rw-r--r-- root/root usr/include/polly/isl/stream.h +-rw-r--r-- root/root usr/include/polly/isl/stride_info.h +-rw-r--r-- root/root usr/include/polly/isl/typed_cpp.h +-rw-r--r-- root/root usr/include/polly/isl/union_map.h +-rw-r--r-- root/root usr/include/polly/isl/union_map_type.h +-rw-r--r-- root/root usr/include/polly/isl/union_set.h +-rw-r--r-- root/root usr/include/polly/isl/union_set_type.h +-rw-r--r-- root/root usr/include/polly/isl/val.h +-rw-r--r-- root/root usr/include/polly/isl/val_gmp.h +-rw-r--r-- root/root usr/include/polly/isl/val_type.h +-rw-r--r-- root/root usr/include/polly/isl/vec.h +-rw-r--r-- root/root usr/include/polly/isl/version.h +-rw-r--r-- root/root usr/include/polly/isl/vertices.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/LLVMPolly.so +drwxr-xr-x root/root usr/lib/cmake/ +drwxr-xr-x root/root usr/lib/cmake/polly/ +-rw-r--r-- root/root usr/lib/cmake/polly/PollyConfig.cmake +-rw-r--r-- root/root usr/lib/cmake/polly/PollyExports-all.cmake +-rw-r--r-- root/root usr/lib/libPolly.a +-rw-r--r-- root/root usr/lib/libPollyISL.a diff --git a/polly/.signature b/polly/.signature new file mode 100644 index 000000000..d32751b1e --- /dev/null +++ b/polly/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/anqA2b9KuZuroBW+8X9qlUTjFFRGIeb5bxTb1mk+cryCNi5bND3BauPVtFhqlfkbsmGhaRAUiACh+v1MCmZHQc= +SHA256 (Pkgfile) = f5d2e47bcedce7f408873f1d6a514cc04e9ca0a5b1920f129f0a529475ab6b50 +SHA256 (.footprint) = 603b90ee61f39edb9f1126df0a26b1117504acf826328b45e93b9f923de8a846 +SHA256 (polly-13.0.0.src.tar.xz) = cd93672c3be35146e199b1e221fb81a39403a0cdeabcad4a47ae878655eea872 diff --git a/polly/Pkgfile b/polly/Pkgfile new file mode 100644 index 000000000..69d691abe --- /dev/null +++ b/polly/Pkgfile @@ -0,0 +1,27 @@ +# Description: LLVM Framework for High-Level Loop and Data-Locality Optimizations +# URL: http://polly.llvm.org/ +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: llvm + +name=polly +version=13.0.0 +release=1 +source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/polly-$version.src.tar.xz) + +build() { + cmake -S $name-$version.src -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D LLVM_LIBDIR_SUFFIX= \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ + -D LLVM_LINK_LLVM_DYLIB=ON \ + -D CMAKE_SKIP_RPATH=ON \ + -D LLVM_EXTERNAL_LIT=/usr/bin/lit \ + -D LLVM_PARALLEL_COMPILE_JOBS="${JOBS:-1}" \ + -Wno-dev + + cmake --build build +# cmake --build build --target check-polly + DESTDIR=$PKG cmake --install build +} |