Home
last modified time | relevance | path

Searched +full:wheel +full:- +full:linux (Results 1 – 25 of 163) sorted by relevance

1234567

/external/rust/crates/grpcio-sys/grpc/tools/run_tests/artifacts/
Dbuild_artifact_python.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
21 export PYTHON=${PYTHON:-python}
22 export AUDITWHEEL=${AUDITWHEEL:-auditwheel}
28 # Needed for building binary distribution wheels -- bdist_wheel
29 "${PYTHON}" -m pip install --upgrade wheel
33 # Install Cython to avoid source wheel build failure.
36 # already have a new-enough version of cython pre-installed.
38 # so we are trying to perform as few download-and-install operations
40 "${PYTHON}" -m pip install --upgrade cython
[all …]
/external/grpc-grpc/tools/run_tests/artifacts/
Dbuild_artifact_python.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
21 export PYTHON=${PYTHON:-python}
22 export AUDITWHEEL=${AUDITWHEEL:-auditwheel}
28 # Needed for building binary distribution wheels -- bdist_wheel
29 "${PYTHON}" -m pip install --upgrade pip wheel setuptools
33 # Install Cython to avoid source wheel build failure.
36 # already have a new-enough version of cython pre-installed.
38 # so we are trying to perform as few download-and-install operations
40 "${PYTHON}" -m pip install --upgrade 'cython<3.0.0rc1'
[all …]
/external/cronet/third_party/re2/src/.github/workflows/
Dpython.yml9 wheel-linux:
10 name: Linux ${{ matrix.os }}, ${{ matrix.arch.name }}, Python ${{ matrix.ver }}
11 runs-on: ${{ matrix.arch.runs-on }}
13 image: quay.io/pypa/${{ matrix.os }}_${{ matrix.arch.python-name }}
17 options: --init --user 1001
19 fail-fast: false
22 - { name: X64, python-name: x86_64, runs-on: [ubuntu-latest] }
23 - { name: ARM64, python-name: aarch64, runs-on: [self-hosted, linux, arm64] }
32 - uses: actions/checkout@v3
34 - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}"
[all …]
/external/angle/
D.vpython33 # It describes patterns for python wheel dependencies of the python scripts in
5 # (since pure-python dependencies can be easily vendored into third_party).
10 # this never requires the end-user machine to have a working python extension
20 # vpython path/to/script.py some --arguments
29 wheel: <
30 name: "infra/python/wheels/protobuf-py3"
36 wheel: <
37 name: "infra/python/wheels/six-py2_py3"
44 # module. 2021.11.2 only has Linux wheels available, so restrict to that
46 wheel: <
[all …]
D.vpython3 # It describes patterns for python wheel dependencies of the python scripts in
5 # (since pure-python dependencies can be easily vendored into third_party).
10 # this never requires the end-user machine to have a working python extension
20 # vpython path/to/script.py some --arguments
26 # https://chromium.googlesource.com/infra/luci/luci-go/+/main/vpython/api/vpython/spec.proto
32 wheel: <
33 name: "infra/python/wheels/jsonlines-py2_py3"
36 wheel: <
39 # Only download for linux since we shouldn't be running CrOS tests on mac/win.
56 wheel: <
[all …]
/external/tensorflow/tensorflow/tools/ci_build/release/
Dcommon.sh8 # http://www.apache.org/licenses/LICENSE-2.0
31 if [[ $? -ne 0 ]]; then
49 set -x
55 mkdir -p /tmpfs/bazel_output
62 case "$(uname -s)" in
63 Darwin) local name=bazelisk-darwin-amd64 ;;
64 Linux)
65 case "$(uname -m)" in
66 x86_64) local name=bazelisk-linux-amd64 ;;
67 aarch64) local name=bazelisk-linux-arm64 ;;
[all …]
/external/bazelbuild-rules_python/examples/wheel/
DBUILD.bazel7 # http://www.apache.org/licenses/LICENSE-2.0
16 load("//examples/wheel/private:wheel_utils.bzl", "directory_writer", "make_variable_tags")
29 "//examples/wheel/lib:simple_module",
30 "//examples/wheel/lib:module_with_data",
31 # Example dependency which is not packaged in the wheel
55 # Package data. We're building "example_minimal_library-0.0.1-py3-none-any.whl"
60 "//examples/wheel/lib:module_with_data",
61 "//examples/wheel/lib:simple_module",
68 # - abi, python_tag: introspect a toolchain to map to appropriate cpython tags
69 # - version: populate given this or a dependent module's version
[all …]
Dwheel_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
30 "wheel",
31 "example_minimal_library-0.0.1-py3-none-any.whl",
37 "examples/wheel/lib/module_with_data.py",
38 "examples/wheel/lib/simple_module.py",
39 "example_minimal_library-0.0.1.dist-info/WHEEL",
40 "example_minimal_library-0.0.1.dist-info/METADATA",
41 "example_minimal_library-0.0.1.dist-info/RECORD",
50 "wheel",
51 "example_minimal_package-0.0.1-py3-none-any.whl",
[all …]
/external/cronet/third_party/protobuf/kokoro/release/python/linux/
Dconfig.sh2 # Test for OSX with [ -n "$IS_OSX" ]
11 local configure_host_flag="--host=aarch64"
16 CXXFLAGS="-fPIC -g -O2" ./configure $configure_host_flag
17 make -j8
25 # of protoc. The qemu-arm emulator is already included
32 echo 'exec qemu-aarch64 "../src/protoc" "$@"' >>protoc_qemu_wrapper.sh
48 # Builds wheel with bdist_wheel, puts into wheelhouse
50 # It may sometimes be useful to use bdist_wheel for the wheel building
53 # https://github.com/warner/python-versioneer/issues/121
62 # when crosscompiling for aarch64, --plat-name needs to be set explicitly
[all …]
/external/protobuf/kokoro/release/python/linux/
Dconfig.sh2 # Test for OSX with [ -n "$IS_OSX" ]
11 local configure_host_flag="--host=aarch64"
16 CXXFLAGS="-fPIC -g -O2" ./configure $configure_host_flag
17 make -j8
25 # of protoc. The qemu-arm emulator is already included
32 echo 'exec qemu-aarch64 "../src/protoc" "$@"' >>protoc_qemu_wrapper.sh
48 # Builds wheel with bdist_wheel, puts into wheelhouse
50 # It may sometimes be useful to use bdist_wheel for the wheel building
53 # https://github.com/warner/python-versioneer/issues/121
62 # when crosscompiling for aarch64, --plat-name needs to be set explicitly
[all …]
/external/tink/python/tools/distribution/
Dbuild_linux_binary_wheels.sh8 # http://www.apache.org/licenses/LICENSE-2.0
17 # This script builds binary wheels of Tink for Linux based on PEP 599. It
21 set -euo pipefail
24 # ["<Python version>"]="<python tag>-<abi tag>"
28 # https://packaging.python.org/en/latest/specifications/, e.g. "cp37-37m"
29 declare -A PYTHON_VERSIONS
30 PYTHON_VERSIONS["3.7"]="cp37-cp37m"
31 PYTHON_VERSIONS["3.8"]="cp38-cp38"
32 PYTHON_VERSIONS["3.9"]="cp39-cp39"
33 PYTHON_VERSIONS["3.10"]="cp310-cp310"
[all …]
Dcreate_release.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 # source distribution and binary wheels for Linux and macOS. All Python tests
19 # are exectued for each binary wheel and the source distribution.
21 set -euox pipefail
23 declare -a PYTHON_VERSIONS=
41 # Builds Tink Python built distribution (Wheel) [1].
45 # [1] https://packaging.python.org/en/latest/glossary/#term-Built-Distribution
52 echo "### Building and testing Linux binary wheels ###"
61 local -r tink_base_dir="/tmp/tink"
62 local -r tink_py_relative_path="${PWD##*/}"
[all …]
/external/cronet/third_party/protobuf/kokoro/linux/aarch64/
Dpython_crosscompile_aarch64.sh5 # NOTE: This script is expected to run under the dockcross/manylinux2014-aarch64 docker image.
7 set -ex
9 PYTHON="/opt/python/cp38-cp38/bin/python"
12 CXXFLAGS="-fPIC -g -O2" ./configure --host=aarch64
13 make -j8
17 echo 'exec qemu-aarch64 "../src/protoc" "$@"' >>protoc_qemu_wrapper.sh
28 # when crosscompiling for aarch64, --plat-name needs to be set explicitly
29 # to end up with correctly named wheel file
32 plat_name_flag="--plat-name=$AUDITWHEEL_PLAT"
34 # override the value of EXT_SUFFIX to make sure the crosscompiled .so files in the wheel have the c…
[all …]
Dpython_run_tests_with_qemu_aarch64.sh3 set -ex
9 PYTHON="/opt/python/cp38-cp38/bin/python"
10 ${PYTHON} -m pip install --user pytest auditwheel
13 (${PYTHON} -c 'import sysconfig; print(sysconfig.get_platform())' | grep -q "linux-aarch64") || (ec…
16 # we've built the python extension previously with --inplace option
19 LD_LIBRARY_PATH=../src/.libs PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp ${PYTHON} -m pytest google/…
21 # step 2: run auditwheel show to check that the wheel is manylinux2014 compatible.
22 # auditwheel needs to run on wheel's target platform (or under an emulator)
23 ${PYTHON} -m auditwheel show dist/protobuf-*-manylinux2014_aarch64.whl
25 # step 3: smoketest that the wheel can be installed and run a smokecheck
[all …]
/external/protobuf/kokoro/linux/aarch64/
Dpython_crosscompile_aarch64.sh5 # NOTE: This script is expected to run under the dockcross/manylinux2014-aarch64 docker image.
7 set -ex
9 PYTHON="/opt/python/cp38-cp38/bin/python"
12 CXXFLAGS="-fPIC -g -O2" ./configure --host=aarch64
13 make -j8
17 echo 'exec qemu-aarch64 "../src/protoc" "$@"' >>protoc_qemu_wrapper.sh
28 # when crosscompiling for aarch64, --plat-name needs to be set explicitly
29 # to end up with correctly named wheel file
32 plat_name_flag="--plat-name=$AUDITWHEEL_PLAT"
34 # override the value of EXT_SUFFIX to make sure the crosscompiled .so files in the wheel have the c…
[all …]
Dpython_run_tests_with_qemu_aarch64.sh3 set -ex
9 PYTHON="/opt/python/cp38-cp38/bin/python"
10 ${PYTHON} -m pip install --user pytest auditwheel
13 (${PYTHON} -c 'import sysconfig; print(sysconfig.get_platform())' | grep -q "linux-aarch64") || (ec…
16 # we've built the python extension previously with --inplace option
19 LD_LIBRARY_PATH=../src/.libs PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp ${PYTHON} -m pytest google/…
21 # step 2: run auditwheel show to check that the wheel is manylinux2014 compatible.
22 # auditwheel needs to run on wheel's target platform (or under an emulator)
23 ${PYTHON} -m auditwheel show dist/protobuf-*-manylinux2014_aarch64.whl
25 # step 3: smoketest that the wheel can be installed and run a smokecheck
[all …]
/external/grpc-grpc/tools/distrib/python/grpcio_tools/
Dsetup.py7 # http://www.apache.org/licenses/LICENSE-2.0
53 "Development Status :: 5 - Production/Stable",
73 # At least on linux, this is normally not needed as we can build manylinux-compatible wheels on lin…
74 # without statically linking libstdc++ (which leads to a slight increase in the wheel size).
76 # it's difficult to ensure that the crosscompilation toolchain has a high-enough version
77 # of GCC (we require >=5.1) but still uses old-enough libstdc++ symbols.
92 [cxx, "-x", "c++", "-std=c++14", "-"],
100 # Double-check to see if -latomic actually can solve the problem.
103 [cxx, "-x", "c++", "-std=c++14", "-", "-latomic"],
118 # E.g. on x64 linux the suffix is ".cpython-XYZ-x86_64-linux-gnu.so"
[all …]
/external/fonttools/
Dtox.ini3 envlist = lint, py3{8,9,10,11,12}-cov, htmlcov
10 # We need this to be able to install skia-pathops on Linux, which uses a
12 # https://github.com/tox-dev/tox/issues/791#issuecomment-518713438
14 # building lxml from source takes too long on CI, force it to download pre-compiled
15 # wheel or fail if none is found with --only-binary=lxml
16 install_command = python -m pip install --only-binary=lxml {opts} {packages}
20 pytest-randomly
21 # add -noextra to tox -e to skip installing extras and only test the core fonttools
22 !noextra: -rrequirements.txt
24 cy: python -c "from fontTools.cu2qu.cu2qu import COMPILED; assert COMPILED"
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/distrib/python/grpcio_tools/
Dsetup.py7 # http://www.apache.org/licenses/LICENSE-2.0
56 'Development Status :: 5 - Production/Stable',
76 # At least on linux, this is normally not needed as we can build manylinux-compatible wheels on lin…
77 # without statically linking libstdc++ (which leads to a slight increase in the wheel size).
79 # it's difficult to ensure that the crosscompilation toolchain has a high-enough version
80 # of GCC (we require >=5.1) but still uses old-enough libstdc++ symbols.
91 cpp_test = subprocess.Popen([cxx, '-x', 'c++', '-std=c++14', '-'],
98 # Double-check to see if -latomic actually can solve the problem.
101 [cxx, '-x', 'c++', '-std=c++14', '-', '-latomic'],
115 # E.g. on x64 linux the suffix is ".cpython-XYZ-x86_64-linux-gnu.so"
[all …]
/external/grpc-grpc/tools/internal_ci/macos/
Dgrpc_distribtests_python.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
29 python3.7 -m pip install -U 'cython<3.0.0rc1' setuptools==65.4.1 wheel --user
30 python3.8 -m pip install -U 'cython<3.0.0rc1' setuptools==65.4.1 wheel --user
31 python3.9 -m pip install -U 'cython<3.0.0rc1' setuptools==65.4.1 wheel --user
32 python3.10 -m pip install -U 'cython<3.0.0rc1' setuptools==65.4.1 wheel --user
33 python3.11 -m pip install -U 'cython<3.0.0rc1' setuptools==65.4.1 wheel --user
34 python3.12 -m pip install -U 'cython<3.0.0rc1' setuptools==65.4.1 wheel --user
37 tools/run_tests/task_runner.py -f artifact macos python ${TASK_RUNNER_EXTRA_FILTERS} -j 2 -x build_…
40 rm -rf input_artifacts
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/.github/workflows/
Dpython_tests.yml6 - main
7 - '[0-9]+.x'
10 - main
11 - '[0-9]+.x'
17 runs-on: ubuntu-large
21 …DOCKER_IMAGE: us-docker.pkg.dev/protobuf-build/release-containers/linux/apple@sha256:bb1d147384499…
24 - uses: actions/checkout@v2
25 - name: Set up Cloud SDK
26 uses: google-github-actions/auth@v0
30 - name: Use gcloud CLI
[all …]
/external/cronet/third_party/google_benchmark/src/docs/
Dpython_bindings.md3 Python bindings are available as wheels on [PyPI](https://pypi.org/project/google-benchmark/) for i…
5 Currently, pre-built wheels exist for macOS (both ARM64 and Intel x86), Linux x86-64 and 64-bit Win…
6 Supported Python versions are Python 3.7 - 3.10.
11 python -m pip install --upgrade pip # for manylinux2014 support
12 python -m pip install google-benchmark
19 To build a wheel directly from source, you can follow these steps:
24 python3 -m venv venv --system-site-packages
27 # upgrade Python's system-wide packages
28 python -m pip install --upgrade pip setuptools wheel
29 # builds the wheel and stores it in the directory "wheelhouse".
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/internal_ci/macos/
Dgrpc_distribtests_python.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
29 python3.7 -m pip install -U cython setuptools==65.4.1 wheel --user
30 python3.8 -m pip install -U cython setuptools==65.4.1 wheel --user
31 python3.9 -m pip install -U cython setuptools==65.4.1 wheel --user
32 python3.10 -m pip install -U cython setuptools==65.4.1 wheel --user
33 python3.11 -m pip install -U cython setuptools==65.4.1 wheel --user
36 tools/run_tests/task_runner.py -f artifact macos python ${TASK_RUNNER_EXTRA_FILTERS} -j 4 -x build_…
39 rm -rf input_artifacts
40 mkdir -p input_artifacts
[all …]
/external/libyuv/
D.vpython33 # It describes patterns for python wheel dependencies of the python scripts in
5 # (since pure-python dependencies can be easily vendored into third_party).
10 # this never requires the end-user machine to have a working python extension
20 # vpython path/to/script.py some --arguments
27 # The default set of platforms vpython checks does not yet include mac-arm64.
29 # allows us to ensure that vpython specs stay mac-arm64-friendly
44 wheel: <
45 name: "infra/python/wheels/protobuf-py2_py3"
51 wheel: <
52 name: "infra/python/wheels/six-py2_py3"
[all …]
/external/fonttools/.github/workflows/
Dwheels.yml7 …# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispat…
11 # skip binary wheels for pypy (preferable to use pure-python) and 32-bit Linux
17 CIBW_TEST_COMMAND: "tox -c {package}/tox.ini -e py-cy-noextra --installpkg {wheel}"
22 runs-on: ubuntu-latest
24 - uses: actions/checkout@v4
25 - name: Set up Python
26 uses: actions/setup-python@v5
28 python-version: '3.x'
29 - name: Install dependencies
31 pip install setuptools wheel twine
[all …]

1234567