Videre
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,145 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: llvmlite
|
||||
Version: 0.47.0
|
||||
Summary: lightweight wrapper around basic LLVM functionality
|
||||
Home-page: http://llvmlite.readthedocs.io
|
||||
License-Expression: BSD-2-Clause AND Apache-2.0 WITH LLVM-exception
|
||||
Project-URL: Source, https://github.com/numba/llvmlite
|
||||
Classifier: Development Status :: 4 - Beta
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Classifier: Programming Language :: Python :: 3.14
|
||||
Classifier: Topic :: Software Development :: Code Generators
|
||||
Classifier: Topic :: Software Development :: Compilers
|
||||
Requires-Python: >=3.10
|
||||
License-File: LICENSE
|
||||
License-File: LICENSE.thirdparty
|
||||
Dynamic: classifier
|
||||
Dynamic: description
|
||||
Dynamic: home-page
|
||||
Dynamic: license-file
|
||||
Dynamic: license-expression
|
||||
Dynamic: project-url
|
||||
Dynamic: requires-python
|
||||
Dynamic: summary
|
||||
|
||||
========
|
||||
llvmlite
|
||||
========
|
||||
|
||||
.. image:: https://dev.azure.com/numba/numba/_apis/build/status/numba.llvmlite?branchName=main
|
||||
:target: https://dev.azure.com/numba/numba/_build/latest?definitionId=2&branchName=main
|
||||
:alt: Azure Pipelines
|
||||
.. image:: https://coveralls.io/repos/github/numba/llvmlite/badge.svg
|
||||
:target: https://coveralls.io/github/numba/llvmlite
|
||||
:alt: Coveralls.io
|
||||
.. image:: https://readthedocs.org/projects/llvmlite/badge/
|
||||
:target: https://llvmlite.readthedocs.io
|
||||
:alt: Readthedocs.io
|
||||
|
||||
A Lightweight LLVM Python Binding for Writing JIT Compilers
|
||||
-----------------------------------------------------------
|
||||
|
||||
.. _llvmpy: https://github.com/llvmpy/llvmpy
|
||||
|
||||
llvmlite is a project originally tailored for Numba_'s needs, using the
|
||||
following approach:
|
||||
|
||||
* A small C wrapper around the parts of the LLVM C++ API we need that are
|
||||
not already exposed by the LLVM C API.
|
||||
* A ctypes Python wrapper around the C API.
|
||||
* A pure Python implementation of the subset of the LLVM IR builder that we
|
||||
need for Numba.
|
||||
|
||||
Why llvmlite
|
||||
============
|
||||
|
||||
The old llvmpy_ binding exposes a lot of LLVM APIs but the mapping of
|
||||
C++-style memory management to Python is error prone. Numba_ and many JIT
|
||||
compilers do not need a full LLVM API. Only the IR builder, optimizer,
|
||||
and JIT compiler APIs are necessary.
|
||||
|
||||
Key Benefits
|
||||
============
|
||||
|
||||
* The IR builder is pure Python code and decoupled from LLVM's
|
||||
frequently-changing C++ APIs.
|
||||
* Materializing a LLVM module calls LLVM's IR parser which provides
|
||||
better error messages than step-by-step IR building through the C++
|
||||
API (no more segfaults or process aborts).
|
||||
* Most of llvmlite uses the LLVM C API which is small but very stable
|
||||
(low maintenance when changing LLVM version).
|
||||
* The binding is not a Python C-extension, but a plain DLL accessed using
|
||||
ctypes (no need to wrestle with Python's compiler requirements and C++ 11
|
||||
compatibility).
|
||||
* The Python binding layer has sane memory management.
|
||||
* llvmlite is faster than llvmpy thanks to a much simpler architecture
|
||||
(the Numba_ test suite is twice faster than it was).
|
||||
|
||||
Compatibility
|
||||
=============
|
||||
|
||||
llvmlite has been tested with Python 3.10 -- 3.13 and is likely to work with
|
||||
greater versions.
|
||||
|
||||
As of version 0.45.0, llvmlite requires LLVM 20.x.x on all architectures
|
||||
|
||||
Historical compatibility table:
|
||||
|
||||
================= ========================
|
||||
llvmlite versions compatible LLVM versions
|
||||
================= ========================
|
||||
0.45.0 - ...... 20.x.x
|
||||
0.44.0 15.x.x and 16.x.x
|
||||
0.41.0 - 0.43.0 14.x.x
|
||||
0.40.0 - 0.40.1 11.x.x and 14.x.x (12.x.x and 13.x.x untested but may work)
|
||||
0.37.0 - 0.39.1 11.x.x
|
||||
0.34.0 - 0.36.0 10.0.x (9.0.x for ``aarch64`` only)
|
||||
0.33.0 9.0.x
|
||||
0.29.0 - 0.32.0 7.0.x, 7.1.x, 8.0.x
|
||||
0.27.0 - 0.28.0 7.0.x
|
||||
0.23.0 - 0.26.0 6.0.x
|
||||
0.21.0 - 0.22.0 5.0.x
|
||||
0.17.0 - 0.20.0 4.0.x
|
||||
0.16.0 - 0.17.0 3.9.x
|
||||
0.13.0 - 0.15.0 3.8.x
|
||||
0.9.0 - 0.12.1 3.7.x
|
||||
0.6.0 - 0.8.0 3.6.x
|
||||
0.1.0 - 0.5.1 3.5.x
|
||||
================= ========================
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
You'll find the documentation at http://llvmlite.pydata.org
|
||||
|
||||
|
||||
Pre-built binaries
|
||||
==================
|
||||
|
||||
We recommend you use the binaries provided by the Numba_ team for
|
||||
the Conda_ package manager. You can find them in Numba's `anaconda.org
|
||||
channel <https://anaconda.org/numba>`_. For example::
|
||||
|
||||
$ conda install --channel=numba llvmlite
|
||||
|
||||
(or, simply, the official llvmlite package provided in the Anaconda_
|
||||
distribution)
|
||||
|
||||
.. _Numba: http://numba.pydata.org/
|
||||
.. _Conda: http://conda.pydata.org/
|
||||
.. _Anaconda: http://docs.continuum.io/anaconda/index.html
|
||||
|
||||
|
||||
Other build methods
|
||||
===================
|
||||
|
||||
If you don't want to use our pre-built packages, you can compile
|
||||
and install llvmlite yourself. The documentation will teach you how:
|
||||
http://llvmlite.pydata.org/en/latest/install/index.html
|
||||
@@ -0,0 +1,84 @@
|
||||
llvmlite-0.47.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
llvmlite-0.47.0.dist-info/METADATA,sha256=5_qgSQ_rn3r9Z9WVz8So6O70CORgTB5OgnMe-tfk6k4,4978
|
||||
llvmlite-0.47.0.dist-info/RECORD,,
|
||||
llvmlite-0.47.0.dist-info/WHEEL,sha256=xZDW7cs1uNrIXupugSX6MuN9g_ZyR5vcfKfhfn3-rY4,151
|
||||
llvmlite-0.47.0.dist-info/licenses/LICENSE,sha256=XQdy9NxMsW5r7iQZv6V8ChKYCEAONBuH_Z-Hy-allj0,1285
|
||||
llvmlite-0.47.0.dist-info/licenses/LICENSE.thirdparty,sha256=3FJyk8_C5LTVkELgsgRmcWKEXYVIZRky9anS9K38kos,12561
|
||||
llvmlite-0.47.0.dist-info/top_level.txt,sha256=WJi8Gq92jA2wv_aV1Oshp9iZ-zMa43Kcmw80kWeGYGA,9
|
||||
llvmlite/__init__.py,sha256=_UwFsDa2wiXx1WLx0XUV2WkrPZpQwjXTR4sPSNQ2nDM,461
|
||||
llvmlite/__pycache__/__init__.cpython-312.pyc,,
|
||||
llvmlite/__pycache__/_version.cpython-312.pyc,,
|
||||
llvmlite/__pycache__/utils.cpython-312.pyc,,
|
||||
llvmlite/_version.py,sha256=IC6u1xAH6u2wVM-wK4QQit3RV8Yk0iDWztCITlX_cs4,418
|
||||
llvmlite/binding/__init__.py,sha256=FAVr7gLzepeEKb26NiW5WeQA1C0mmlRkUrKdmPqubUc,404
|
||||
llvmlite/binding/__pycache__/__init__.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/analysis.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/common.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/config.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/context.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/dylib.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/executionengine.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/ffi.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/initfini.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/linker.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/module.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/newpassmanagers.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/object_file.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/options.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/orcjit.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/targets.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/typeref.cpython-312.pyc,,
|
||||
llvmlite/binding/__pycache__/value.cpython-312.pyc,,
|
||||
llvmlite/binding/analysis.py,sha256=BbCcAAGY0GLAEUek6ZogHkBAmFA9kvpS7333XyIrbhc,2253
|
||||
llvmlite/binding/common.py,sha256=eCSnnY4sctgeqVwDv9PrH6jpMI45nJPmAz4rfjbPsf8,742
|
||||
llvmlite/binding/config.py,sha256=o9UReyRbcWQLZHzNowSLmoL6hsvZfiOm8Y8uijKteNs,4473
|
||||
llvmlite/binding/context.py,sha256=0uEJwi4u0y5pp3gHubmmJYvwT1z3I1jmzAByq-DVnvI,675
|
||||
llvmlite/binding/dylib.py,sha256=ypfikOYKiWQZi8h00LhLBXwmPlJ5d86yLOUn01pDjmM,1300
|
||||
llvmlite/binding/executionengine.py,sha256=PgUFCVJdGvrxXCZAevMv8nUAL8n29Xm58FYO1XYLafc,11022
|
||||
llvmlite/binding/ffi.py,sha256=whmHib78V0qUxpoQz7O7Otg33L1XupVpLbrq09v2COo,13163
|
||||
llvmlite/binding/initfini.py,sha256=_o87ZBtIVDmkN-QU2pypVRKuGOE6XokHOWysJCX9Y_I,2163
|
||||
llvmlite/binding/libllvmlite.so,sha256=zoeNhu4PhHrA_9qvbju8YwS1EOTYqv586B0fZIumEIA,167766616
|
||||
llvmlite/binding/linker.py,sha256=M4bAkoxVAUgxqai5S0_iCHS5EcNRPBX_9zldVqFLV90,489
|
||||
llvmlite/binding/module.py,sha256=Zf9GcuCEFf1xtOmP-jXqKtJbj4dO8l9a2NEPKTwsimI,11174
|
||||
llvmlite/binding/newpassmanagers.py,sha256=Mzgc9CM0jnmYGL4UAMkWdnfxMoBPVzSYoNFxx2Q44gY,34496
|
||||
llvmlite/binding/object_file.py,sha256=qZMTAi6gcVQq2e3KghHNxVH3Ivzr7zxDPecfiZ1Riy8,2664
|
||||
llvmlite/binding/options.py,sha256=aDH4SFh6VZ11agtUJO9vAxhVhQkIGAByK9IHKeuRcAI,509
|
||||
llvmlite/binding/orcjit.py,sha256=HUWDKicxrYK5s2trdrM_KEmkfvwifrP4E9MxmCb8JSM,11856
|
||||
llvmlite/binding/targets.py,sha256=P4YCkQIUkw2puaL_JbdJyawPsxgVtEZ7Vpe2KDLI9KQ,15369
|
||||
llvmlite/binding/typeref.py,sha256=kqg757zMfTayKzzjajlHeBjzyB77B9wtN9XzYT5xzx8,7805
|
||||
llvmlite/binding/value.py,sha256=GVsScOUMcSx9vrIq2LQiBPlsfjIHGsbcuELyf8wnSnQ,19477
|
||||
llvmlite/ir/__init__.py,sha256=rNPtrPLshsPJYO4GegWAU-rpbpiYo0xU-CQb3rt0JtE,258
|
||||
llvmlite/ir/__pycache__/__init__.cpython-312.pyc,,
|
||||
llvmlite/ir/__pycache__/_utils.cpython-312.pyc,,
|
||||
llvmlite/ir/__pycache__/builder.cpython-312.pyc,,
|
||||
llvmlite/ir/__pycache__/context.cpython-312.pyc,,
|
||||
llvmlite/ir/__pycache__/instructions.cpython-312.pyc,,
|
||||
llvmlite/ir/__pycache__/module.cpython-312.pyc,,
|
||||
llvmlite/ir/__pycache__/transforms.cpython-312.pyc,,
|
||||
llvmlite/ir/__pycache__/types.cpython-312.pyc,,
|
||||
llvmlite/ir/__pycache__/values.cpython-312.pyc,,
|
||||
llvmlite/ir/_utils.py,sha256=mkpyEMlQ9nHMcWmBMBsJm4S16Y0BfvxBf5brsdMmKio,2001
|
||||
llvmlite/ir/builder.py,sha256=23dpZ2Sw6Kq_Db2qRvRqaKEQwhOztJdq2g6l4QfzpBo,33628
|
||||
llvmlite/ir/context.py,sha256=tIFLM1FDatctrgN45jrdxbxIPQjgQTRLGoImkCdgcVA,540
|
||||
llvmlite/ir/instructions.py,sha256=k0AHNtOq8Ph5Wlhb2z2yGHoKZ2_fMxfdAYWXqiApNP8,33051
|
||||
llvmlite/ir/module.py,sha256=-5cDgxA83a9vGsABTJx9CyxalsH39X8iW3Etd4D0urM,9472
|
||||
llvmlite/ir/transforms.py,sha256=pV79pB20m4N_HLmBEksw5VVP8cxyf7AYGDCbS1E7fOQ,1552
|
||||
llvmlite/ir/types.py,sha256=Dv5pV648MoA_8hGW0lBOjh--Kn8m0zmdsMftvHHV1ys,20079
|
||||
llvmlite/ir/values.py,sha256=pCsz_RB6AmH6EuT3Je97BlSOmMh-mKlubV1C5WY_LdY,34254
|
||||
llvmlite/tests/__init__.py,sha256=TBHEOsEq-9M9rF94nES2HxefA-7GYwNE00Y7gTkHrD8,1378
|
||||
llvmlite/tests/__main__.py,sha256=10_On1rLj4CX1xsBJ9TbjULvNSp_K0qk9U1N6azUTUw,40
|
||||
llvmlite/tests/__pycache__/__init__.cpython-312.pyc,,
|
||||
llvmlite/tests/__pycache__/__main__.cpython-312.pyc,,
|
||||
llvmlite/tests/__pycache__/customize.cpython-312.pyc,,
|
||||
llvmlite/tests/__pycache__/refprune_proto.cpython-312.pyc,,
|
||||
llvmlite/tests/__pycache__/test_binding.cpython-312.pyc,,
|
||||
llvmlite/tests/__pycache__/test_ir.cpython-312.pyc,,
|
||||
llvmlite/tests/__pycache__/test_refprune.cpython-312.pyc,,
|
||||
llvmlite/tests/__pycache__/test_valuerepr.cpython-312.pyc,,
|
||||
llvmlite/tests/customize.py,sha256=85Af1gyZ5rtXXI3qpeTc2DXMrgETjv7hrLN-73A7Fhg,13268
|
||||
llvmlite/tests/refprune_proto.py,sha256=w3hRtkd4VtcfoHYkZkjZJgzOJCW6TxorK-JFohxNZME,8702
|
||||
llvmlite/tests/test_binding.py,sha256=xFIPijurAz6lDGMn9znnRPwFj5UMd4emFqh3PtsZutY,112447
|
||||
llvmlite/tests/test_ir.py,sha256=ySy-QV2P1PxTZhHgupxsruBZseCrHAmlEnTxycLVmKk,126191
|
||||
llvmlite/tests/test_refprune.py,sha256=BGLf4IwZOoRAGy2qjyKNJJzQviG778FTjMz2sHbGFrA,15660
|
||||
llvmlite/tests/test_valuerepr.py,sha256=57MaGznJUnqCf0etajnOCoBRue5-nmFTx1bds_5atlE,1989
|
||||
llvmlite/utils.py,sha256=BwgrA2JaYaZiHRafshoZBHiYSBskJQMG_K2F2jbW2-w,695
|
||||
@@ -0,0 +1,6 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: setuptools (82.0.1)
|
||||
Root-Is-Purelib: false
|
||||
Tag: cp312-cp312-manylinux_2_17_x86_64
|
||||
Tag: cp312-cp312-manylinux2014_x86_64
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
Copyright (c) 2014, Anaconda Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -0,0 +1,225 @@
|
||||
The llvmlite source tree includes code from LLVM that is governed by the
|
||||
following license.
|
||||
|
||||
==============================================================================
|
||||
The Apache License v2.0 with LLVM Exceptions:
|
||||
==============================================================================
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
|
||||
---- LLVM Exceptions to the Apache 2.0 License ----
|
||||
|
||||
As an exception, if, as a result of your compiling your source code, portions
|
||||
of this Software are embedded into an Object form of such source code, you
|
||||
may redistribute such embedded portions in such Object form without complying
|
||||
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
|
||||
|
||||
In addition, if you combine or link compiled forms of this Software with
|
||||
software that is licensed under the GPLv2 ("Combined Software") and if a
|
||||
court of competent jurisdiction determines that the patent provision (Section
|
||||
3), the indemnity provision (Section 9) or other Section of the License
|
||||
conflicts with the conditions of the GPLv2, you may retroactively and
|
||||
prospectively choose to deem waived or otherwise exclude such Section(s) of
|
||||
the License, but only in their entirety and only with respect to the Combined
|
||||
Software.
|
||||
@@ -0,0 +1 @@
|
||||
llvmlite
|
||||
Reference in New Issue
Block a user