1
0
forked from ports/opt

polly: initial import

This commit is contained in:
Danny Rawlins 2021-10-01 18:38:20 +10:00
parent b7089236ce
commit 62fd06f2fc
3 changed files with 163 additions and 0 deletions

131
polly/.footprint Normal file
View File

@ -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

5
polly/.signature Normal file
View File

@ -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

27
polly/Pkgfile Normal file
View File

@ -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
}