/llvm-project/third-party/benchmark/ |
H A D | MODULE.bazel | 3 version = "1.8.3", 6 bazel_dep(name = "bazel_skylib", version = "1.5.0") 7 bazel_dep(name = "platforms", version = "0.0.7") 8 bazel_dep(name = "rules_foreign_cc", version = "0.10.1") 9 bazel_dep(name = "rules_cc", version = "0.0.9") 11 bazel_dep(name = "rules_python", version = "0.27.1", dev_dependency = True) 12 bazel_dep(name = "googletest", version = "1.12.1", dev_dependency = True, repo_name = "com_google_g… 14 bazel_dep(name = "libpfm", version = "4.11.0") 16 # Register a toolchain for Python 3.9 to be able to build numpy. Python 18 # A second reason for this is to be able to build Python hermetically instead [all …]
|
H A D | pyproject.toml | 1 [build-system] 2 requires = ["setuptools", "setuptools-scm[toml]", "wheel"] 3 build-backend = "setuptools.build_meta" 8 requires-python = ">=3.8" 13 {name = "Google", email = "benchmark-discuss@googlegroups.com"}, 17 "Development Status :: 4 - Beta", 21 "Programming Language :: Python :: 3.8", 22 "Programming Language :: Python :: 3.9", 23 "Programming Language :: Python :: 3.10", 24 "Programming Language :: Python :: 3.11", [all …]
|
/llvm-project/lldb/bindings/python/ |
H A D | python.swig | 11 "The lldb module contains the public APIs for Python binding. 39 Since version 3.0.9, swig's logic for importing the native module has changed in 40 a way that is incompatible with our usage of the python module as __init__.py 41 (See swig bug #769). Fortunately, since version 3.0.11, swig provides a way for 49 # _lldb should be a built-in module. 52 # Relative import should work if we are being loaded by Python. 85 // Include the version of swig that was used to generate this interface. 86 %define EMBED_VERSION(VERSION) 93 swig_version = (_to_int(VERSION // 0x10000), _to_int(VERSION // 0x100), _to_int(VERSION)) 112 %include "python-typemaps.swig" [all …]
|
/llvm-project/clang/tools/libclang/ |
H A D | CMakeLists.txt | 7 # to ON - which means that it by default matches CLANG_VERSION_MAJOR 18 # below; this was added under time-pressure to avoid reverting the 19 # better default from LLVM 14 for LLVM 15.0.0-rc3, hence no time 57 ../../include/clang-c/Index.h 90 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_BINARY_DIR}/libclang-generic.exports) 95 # Each functions is exported as "dllexport" in include/clang-c. 108 ARGS ${CMAKE_CURRENT_SOURCE_DIR}/linker-script-to-export-lis [all...] |
/llvm-project/.github/workflows/ |
H A D | libclang-python-tests.yml | 1 name: Libclang Python Binding Tests 10 - 'main' 12 - 'clang/bindings/python/**' 13 - 'clang/tools/libclang/**' 14 - 'clang/CMakeList.txt' 15 - '.github/workflows/libclang-python-test [all...] |
H A D | pr-code-format.yml | 9 - main 10 - 'users/**' 14 runs-on: ubuntu-latest 15 timeout-minutes: 30 17 group: ${{ github.workflow }}-${{ github.event.pull_request.number }} 18 cancel-in-progress: true 19 if: github.repository == 'llvm/llvm-project' 21 - nam [all...] |
H A D | release-doxygen.yml | 9 release-version: 10 description: 'Release Version' 20 release-version: 21 description: 'Release Version' 34 release-doxygen: 36 runs-on: ubuntu-latest 40 upload: ${{ inputs.upload && !contains(inputs.release-versio [all...] |
H A D | release-documentation.yml | 9 release-version: 10 description: 'Release Version' 20 release-version: 21 description: 'Release Version' 30 release-documentation: 32 runs-on: ubuntu-latest 34 upload: ${{ inputs.upload && !contains(inputs.release-versio [all...] |
/llvm-project/lldb/docs/resources/ |
H A D | build.rst | 5 ---------- [all...] |
H A D | test.rst | 5 ---------- [all...] |
/llvm-project/clang/test/utils/update_cc_test_checks/ |
H A D | lit.local.cfg | 6 # python 2.7 backwards compatibility 26 extra_args = "--clang " + shell_quote(clang_path) 28 extra_args += " --opt " + shell_quote(opt_path) 29 # Specify an explicit default version in UTC tests, so that the --version 32 extra_args += " --version=1" 37 # Windows: llvm-lit.py, Linux: llvm-lit 42 glob.glob(os.path.join(config.llvm_tools_dir, "llvm-lit*"))[0] 44 python = shell_quote(config.python_executable) 48 "%s %s %s" % (python, shell_quote(script_path), extra_args), 57 "%s %s -Dclang_lit_site_cfg=%s -j1 -vv" [all …]
|
/llvm-project/llvm/utils/release/ |
H A D | build_llvm_release.bat | 8 echo used for the releases at https://github.com/llvm/llvm-project/releases
10 echo Usage: build_llvm_release.bat --version ^<version^> [--x86,--x64, - 30 set version= global() variable [all...] |
/llvm-project/llvm/docs/ |
H A D | GettingStartedVS.rst | 38 -------- 47 -------- 55 CMake separately, Visual Studio 2022 will require CMake Version 3.21 or later. 57 If you would like to run the LLVM tests you will need `Python 58 <http://www.python.org/>`_. Version 3.8 and newer are known to work. You can 59 install Python with Visual Studio 2019, from the Microsoft store or from 60 the `Python web site <http://www.python.org/>`_. We recommend the latter since it 63 You will need `Git for Windows <https://git-scm.com/>`_ with bash tools, too. 70 These instruction were tested with Visual Studio 2019 and Python 3.9.6: 77 4. Download and install the latest `Python 3 release <http://www.python.org/>`_. [all …]
|
/llvm-project/llvm/test/tools/llvm-readobj/ |
H A D | basic.test | 2 RUN: not llvm-readobj %t.blah 2>&1 | FileCheck --check-prefix=ENOENT -DTOOL=readobj -DMSG=%errc_ENO… 3 RUN: not llvm-readelf %t.blah 2>&1 | FileCheck --check-prefix=ENOENT -DTOOL=readelf -DMSG=%errc_ENO… 5 ENOENT: llvm-[[TOOL]]{{(\.exe)?}}: error: '{{.*}}.blah': [[MSG]] 8 RUN: not llvm-readobj 2>&1 | FileCheck %s --check-prefix=NO-FILE 9 RUN: not llvm-readelf 2>&1 | FileCheck %s --check-prefix=NO-FILE 10 NO-FILE: error: no input files specified 14 RUN: not llvm-readobj %t.empty 2>&1 | FileCheck --check-prefix=EMPTY %s 18 RUN: rm -f %t.a 19 RUN: llvm-ar rc %t.a %t.empty 20 RUN: llvm-readobj --all %t.a 2>&1 | FileCheck --check-prefix=NO-OUTPUT --allow-empty %s [all …]
|
/llvm-project/mlir/docs/Bindings/ |
H A D | Python.md | 1 # MLIR Python Bindings 9 ### Pre-requisites 12 * Installation of python dependencies as specified in 13 `mlir/python/requirements.txt` 19 Enables building the Python bindings. Defaults to `OFF`. 23 Specifies the `python` executable used for the LLVM build, including for 24 determining header/link flags for the Python bindings. On systems with 25 multiple Python implementations, setting this explicitly to the preferred 30 It is recommended to use a python virtual environment. Many ways exist for this, 34 # Make sure your 'python' i [all...] |
/llvm-project/polly/lib/External/isl/ |
H A D | ChangeLog | 1 version: 0.25 4 - support (type safe) user object on id in bindings 5 - more exports to (templated C++) bindings 6 - add some convenience functions 7 --- 8 version: 0.24 11 - improved (C++) bindings (inherit methods, renamed exports) 12 - initial templated C++ bindings 13 - detect bounds on constant polynomials as tight 14 --- [all …]
|
/llvm-project/mlir/cmake/modules/ |
H A D | MLIRDetectPythonEnv.cmake | 1 # Macros and functions related to detecting details of the Python environment. 3 # Finds and configures python packages needed to build MLIR Python bindings. 7 # Prime the search for python to see if there is a full development 17 # the Python libraries are not available. When possible, limit to just 19 # See https://pybind11.readthedocs.io/en/stable/compiling.html#findpython-mode 25 # It's a little silly to detect Python a second time, but nanobind's cmake 27 find_package(Python ${LLVM_MINIMUM_PYTHON_VERSION} 31 message(STATUS "Found python include dirs: ${Python3_INCLUDE_DIRS}") 32 message(STATUS "Found python librarie [all...] |
/llvm-project/clang/test/Analysis/ |
H A D | lit.local.cfg | 1 # -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79: 19 "grep -Ev '%s|%s|%s'" 21 "^[[:space:]]*<string>.* version .*</string>[[:space:]]*$", 32 "grep -Ev '^[[:space:]]*(%s|%s|%s)[[:space:]]*$'" 35 '"version": ".* version .*"', 36 '"version": "2.1.0"',
|
/llvm-project/clang/tools/scan-build/bin/ |
H A D | set-xcode-analyzer | 1 #!/usr/bin/env python 3 # [PR 11661] Note that we hardwire to /usr/bin/python because we 4 # want to the use the system version of Python on Mac OS X. 9 print "set-xcode-analyzer requires Python 3.6 or later" 57 print " (-) Cannot update file:", why, "\n" 59 print " (-) Cannot update file:", why, "\n" 66 parser.add_option("--use-checker-build", dest="path", 67 … help="Use the Clang located at the provided absolute path, e.g. /Users/foo/checker-1") 68 parser.add_option("--use-xcode-clang", action="store_const", 73 …parser.error("You must specify a version of Clang to use for static analysis. Specify '-h' for de… [all …]
|
/llvm-project/libc/utils/buildbot/ |
H A D | Dockerfile | 4 RUN dpkg --add-architecture i386 5 RUN apt-get update && apt-get install -y build-essential clang subversion git \ 6 vim zip libstdc++6:i386 file binutils-dev binutils-gold cmake python-pip \ 7 ninja-build python3 8 RUN python -m pip install buildbot-worker==2.8.4 11 RUN apt-get install -y libmpfr-dev libmpc-dev 14 RUN update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20 17 RUN useradd buildbot --create-home 26 ENV WORKER_NAME="libc-x86_64-debian" 29 RUN mkdir -p "${WORKER_NAME}/info/" [all …]
|
/llvm-project/openmp/libompd/gdb-plugin/ |
H A D | README.txt | 10 …Compile the program to be debugged with '-g' and '-fopenmp' options as shown for a sample C source… 11 $ clang -g -fopenmp xyz.c -o xyz.out 14 …e debugged needs to have a dynamic link dependency on 'libomp.so' for OpenMP-specific debugging to… 19 …$ gdb -x <build_dir/libompd/gdb-plugin/python-module/ompd/__init__.py> or <installed_dir/share/gdb… 21 - The gdb command 'help ompd' lists the subcommands available for OpenMP-specific debugging. 22 …- The command 'ompd init' needs to be run first to load the libompd.so available in the $LD_LIBRAR… 23 …- The 'ompd init' command starts the program run, and the program stops at a temporary breakpoint … 24 - The user can 'continue' from the temporary breakpoint for further debugging. 25 …- The user may place breakpoints at the OpenMP internal locations 'ompd_bp_thread_begin' and 'ompd… 26 …- Similarly, 'ompd_bp_task_begin' and 'ompd_bp_task_end' breakpoints may be used to catch the Open… [all …]
|
/llvm-project/utils/bazel/ |
H A D | configure.bzl | 3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 DEFAULT_OVERLAY_PATH = "llvm-project-overlay" 34 src_path = repository_ctx.path(Label("@llvm-raw//:WORKSPACE")).dirname 36 overlay_path = bazel_path.get_child("llvm-project-overlay") 41 # Windows typically just defines "python" a [all...] |
/llvm-project/llvm/utils/lit/tests/ |
H A D | lit.cfg | 1 # -*- Python -*- 45 # Do not add user-site packages directory to the python search path. This avoids test failures if t… 46 # incompatible lit module installed inside the user-site packages directory, as it gets prioritized… 61 # that can affect FileCheck's output. It also includes "--order=lexical -j1" 65 config.substitutions.append(("%{lit}", "%{lit-no-order-opt} --order=lexical")) 68 "%{lit-no-order-opt}", 69 "{env} %{{python}} {lit} -j1".format( 70 env="env -u FILECHECK_OPTS", lit=os.path.join(lit_path, "lit.py") 74 config.substitutions.append(("%{python}", '"%s"' % (sys.executable))) 81 "%{filter-lit}", [all …]
|
/llvm-project/polly/lib/External/isl/imath/tests/gmp-compat-test/ |
H A D | README | 12 These tests use the python ffi to run the imath and gmp functions. To 16 * python 3 45 gmp api that we wrap and then call the gmp version of the api and 46 compare the results to the imath version. The results should be 51 -------------------- 54 as 0,1,-1, etc. We generate input data based on the type of the input 59 mpz_t: 0,1,-1, all min/max values, all min/max values +/- 1 60 small numbers: 1-4 digits 61 medium numbers: 5-20 digits 62 large numbers: 20-100 digits [all …]
|
/llvm-project/lldb/test/API/macosx/lc-note/firmware-corefile/ |
H A D | TestFirmwareCorefiles.py | 28 "verstr-invalid-ident.core" 30 verstr_corefile_addr = self.getBuildArtifact("verstr-addr.core") 31 create_corefile = self.getBuildArtifact("create-empty-corefile") 35 + " version-string " 44 + " version-string " 52 + " version-string " 126 create_corefile = self.getBuildArtifact("create-empty-corefile") 128 binspec_corefile_addr = self.getBuildArtifact("binspec-addr.core") 130 "binspec-addr-slideonly.core" 139 + " main-bin-spec " [all …]
|