mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 01:19:45 +03:00
New script
This commit is contained in:
parent
9fee3079b5
commit
57383fb2e5
2
.github/workflows/m1.yml
vendored
2
.github/workflows/m1.yml
vendored
|
@ -61,6 +61,8 @@ jobs:
|
|||
PACKAGE_NAME: psycopg2-binary
|
||||
PSYCOPG2_TESTDB: postgres
|
||||
PSYCOPG2_TEST_FAST: 1
|
||||
ARCHFLAGS: "-arch arm64"
|
||||
_PYTHON_HOST_PLATFORM: "macosx-11.0-arm64"
|
||||
|
||||
- run: |
|
||||
ls -l
|
||||
|
|
12
scripts/build/build_macos_arm64.sh
Executable file
12
scripts/build/build_macos_arm64.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Script to generate arm64 wheels on an Apple Silicon host
|
||||
#
|
||||
# TODO: File issue on why cross-compiling is not working
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
pip install -U pip wheel
|
||||
pip install cibuildwheel
|
||||
# You will be prompted for your password in order to install Python under /Applications
|
||||
PACKAGE_NAME=psycopg2-binary
|
||||
CIBW_BUILD=cp38-macosx_arm64 cibuildwheel . --output-dir wheelhouse --platform macos 2>&1
|
Loading…
Reference in New Issue
Block a user