wip/py-compyle: import py-compyle-0.7

This commit is contained in:
K.I.A.Derouiche 2020-10-22 22:59:22 +01:00
parent 6316e5d0ee
commit 00d84a0547
4 changed files with 177 additions and 0 deletions

16
py-compyle/DESCR Normal file
View File

@ -0,0 +1,16 @@
Compyle allows users to execute a restricted subset of Python
(almost similar to C) on a variety of HPC platforms. Currently
we support multi-core CPU execution using Cython, and for GPU
devices we use OpenCL or CUDA.
Users start with code implemented in a very restricted Python
syntax, this code is then automatically transpiled, compiled
and executed to run on either one CPU core, or multiple CPU
cores (via OpenMP) or on a GPU. Compyle offers source-to-source
transpilation, making it a very convenient tool for writing HPC
libraries.
Some simple yet powerful parallel utilities are provided which
can allow you to solve a remarkably large number of interesting
HPC problems. Compyle also features JIT transpilation making
it easy to us

25
py-compyle/Makefile Normal file
View File

@ -0,0 +1,25 @@
# $NetBSD$
DISTNAME= compyle-0.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= parallel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/compyle/}
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= https://github.com/pypr/compyle
COMMENT= Execute a subset of Python on HPC platforms
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.8.5:../../textproc/py-sphinx
DEPENDS+= ${PYPKGPREFIX}-mako>=1.1.3:../../devel/py-mako
DEPENDS+= ${PYPKGPREFIX}-pytools-[0-9]*:../../wip/py-pytools
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=5.3.5:../../devel/py-test
USE_LANGUAGES= c c++
BUILDLINK_API_DEPENDS.${PYPKGPREFIX}-cython+= ${PYPKGPREFIX}-cython>=0.12.1
.include "../../devel/py-cython/buildlink3.mk"
BUILDLINK_API_DEPENDS.${PYPKGPREFIX}-numpy+= ${PYPKGPREFIX}-numpy>=1.19.2
.include "../../math/py-numpy/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

130
py-compyle/PLIST Normal file
View File

@ -0,0 +1,130 @@
@comment $NetBSD$
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/compyle/__init__.py
${PYSITELIB}/compyle/__init__.pyc
${PYSITELIB}/compyle/__init__.pyo
${PYSITELIB}/compyle/api.py
${PYSITELIB}/compyle/api.pyc
${PYSITELIB}/compyle/api.pyo
${PYSITELIB}/compyle/array.py
${PYSITELIB}/compyle/array.pyc
${PYSITELIB}/compyle/array.pyo
${PYSITELIB}/compyle/ast_utils.py
${PYSITELIB}/compyle/ast_utils.pyc
${PYSITELIB}/compyle/ast_utils.pyo
${PYSITELIB}/compyle/capture_stream.py
${PYSITELIB}/compyle/capture_stream.pyc
${PYSITELIB}/compyle/capture_stream.pyo
${PYSITELIB}/compyle/config.py
${PYSITELIB}/compyle/config.pyc
${PYSITELIB}/compyle/config.pyo
${PYSITELIB}/compyle/cuda.py
${PYSITELIB}/compyle/cuda.pyc
${PYSITELIB}/compyle/cuda.pyo
${PYSITELIB}/compyle/cython_generator.py
${PYSITELIB}/compyle/cython_generator.pyc
${PYSITELIB}/compyle/cython_generator.pyo
${PYSITELIB}/compyle/ext_module.py
${PYSITELIB}/compyle/ext_module.pyc
${PYSITELIB}/compyle/ext_module.pyo
${PYSITELIB}/compyle/extern.py
${PYSITELIB}/compyle/extern.pyc
${PYSITELIB}/compyle/extern.pyo
${PYSITELIB}/compyle/jit.py
${PYSITELIB}/compyle/jit.pyc
${PYSITELIB}/compyle/jit.pyo
${PYSITELIB}/compyle/low_level.py
${PYSITELIB}/compyle/low_level.pyc
${PYSITELIB}/compyle/low_level.pyo
${PYSITELIB}/compyle/opencl.py
${PYSITELIB}/compyle/opencl.pyc
${PYSITELIB}/compyle/opencl.pyo
${PYSITELIB}/compyle/parallel.py
${PYSITELIB}/compyle/parallel.pyc
${PYSITELIB}/compyle/parallel.pyo
${PYSITELIB}/compyle/profile.py
${PYSITELIB}/compyle/profile.pyc
${PYSITELIB}/compyle/profile.pyo
${PYSITELIB}/compyle/sort.py
${PYSITELIB}/compyle/sort.pyc
${PYSITELIB}/compyle/sort.pyo
${PYSITELIB}/compyle/template.py
${PYSITELIB}/compyle/template.pyc
${PYSITELIB}/compyle/template.pyo
${PYSITELIB}/compyle/tests/__init__.py
${PYSITELIB}/compyle/tests/__init__.pyc
${PYSITELIB}/compyle/tests/__init__.pyo
${PYSITELIB}/compyle/tests/py3_code.py
${PYSITELIB}/compyle/tests/py3_code.pyc
${PYSITELIB}/compyle/tests/py3_code.pyo
${PYSITELIB}/compyle/tests/test_array.py
${PYSITELIB}/compyle/tests/test_array.pyc
${PYSITELIB}/compyle/tests/test_array.pyo
${PYSITELIB}/compyle/tests/test_ast_utils.py
${PYSITELIB}/compyle/tests/test_ast_utils.pyc
${PYSITELIB}/compyle/tests/test_ast_utils.pyo
${PYSITELIB}/compyle/tests/test_capture_stream.py
${PYSITELIB}/compyle/tests/test_capture_stream.pyc
${PYSITELIB}/compyle/tests/test_capture_stream.pyo
${PYSITELIB}/compyle/tests/test_config.py
${PYSITELIB}/compyle/tests/test_config.pyc
${PYSITELIB}/compyle/tests/test_config.pyo
${PYSITELIB}/compyle/tests/test_cuda.py
${PYSITELIB}/compyle/tests/test_cuda.pyc
${PYSITELIB}/compyle/tests/test_cuda.pyo
${PYSITELIB}/compyle/tests/test_cython_generator.py
${PYSITELIB}/compyle/tests/test_cython_generator.pyc
${PYSITELIB}/compyle/tests/test_cython_generator.pyo
${PYSITELIB}/compyle/tests/test_ext_module.py
${PYSITELIB}/compyle/tests/test_ext_module.pyc
${PYSITELIB}/compyle/tests/test_ext_module.pyo
${PYSITELIB}/compyle/tests/test_gpu_struct.py
${PYSITELIB}/compyle/tests/test_gpu_struct.pyc
${PYSITELIB}/compyle/tests/test_gpu_struct.pyo
${PYSITELIB}/compyle/tests/test_jit.py
${PYSITELIB}/compyle/tests/test_jit.pyc
${PYSITELIB}/compyle/tests/test_jit.pyo
${PYSITELIB}/compyle/tests/test_low_level.py
${PYSITELIB}/compyle/tests/test_low_level.pyc
${PYSITELIB}/compyle/tests/test_low_level.pyo
${PYSITELIB}/compyle/tests/test_parallel.py
${PYSITELIB}/compyle/tests/test_parallel.pyc
${PYSITELIB}/compyle/tests/test_parallel.pyo
${PYSITELIB}/compyle/tests/test_profile.py
${PYSITELIB}/compyle/tests/test_profile.pyc
${PYSITELIB}/compyle/tests/test_profile.pyo
${PYSITELIB}/compyle/tests/test_template.py
${PYSITELIB}/compyle/tests/test_template.pyc
${PYSITELIB}/compyle/tests/test_template.pyo
${PYSITELIB}/compyle/tests/test_translator.py
${PYSITELIB}/compyle/tests/test_translator.pyc
${PYSITELIB}/compyle/tests/test_translator.pyo
${PYSITELIB}/compyle/tests/test_transpiler.py
${PYSITELIB}/compyle/tests/test_transpiler.pyc
${PYSITELIB}/compyle/tests/test_transpiler.pyo
${PYSITELIB}/compyle/tests/test_types.py
${PYSITELIB}/compyle/tests/test_types.pyc
${PYSITELIB}/compyle/tests/test_types.pyo
${PYSITELIB}/compyle/tests/test_utils.py
${PYSITELIB}/compyle/tests/test_utils.pyc
${PYSITELIB}/compyle/tests/test_utils.pyo
${PYSITELIB}/compyle/thrust/__init__.py
${PYSITELIB}/compyle/thrust/__init__.pyc
${PYSITELIB}/compyle/thrust/__init__.pyo
${PYSITELIB}/compyle/thrust/sort.so
${PYSITELIB}/compyle/translator.py
${PYSITELIB}/compyle/translator.pyc
${PYSITELIB}/compyle/translator.pyo
${PYSITELIB}/compyle/transpiler.py
${PYSITELIB}/compyle/transpiler.pyc
${PYSITELIB}/compyle/transpiler.pyo
${PYSITELIB}/compyle/types.py
${PYSITELIB}/compyle/types.pyc
${PYSITELIB}/compyle/types.pyo
${PYSITELIB}/compyle/utils.py
${PYSITELIB}/compyle/utils.pyc
${PYSITELIB}/compyle/utils.pyo

6
py-compyle/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (compyle-0.7.tar.gz) = edd9fc0514e0266237678a224ad1fca17d6af6c2
RMD160 (compyle-0.7.tar.gz) = d869ac715f9f8ac8ba8ce599e1fe49010a7f970d
SHA512 (compyle-0.7.tar.gz) = 5e9f71c973d3240e011011f082c6a7d2a4b6fa95684ba861d323978ef6a7bf834a5189d7842b2b003d4cb071bbbf62bff90c2785c3a0d579a2d50dc04591a508
Size (compyle-0.7.tar.gz) = 118993 bytes