Skip to content

Commit

Permalink
build for 32-bit arm
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Dec 11, 2024
1 parent e75b9b6 commit bf2be0c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:


build_wheels:
name: Wheels on ${{ matrix.os }}${{ matrix.extra }}
name: Wheels on ${{ matrix.os }} ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
arch_linux: ["aarch64"]
arch: ["aarch64", "armv7l"]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -57,7 +57,7 @@ jobs:

- uses: pypa/[email protected]
env:
CIBW_ARCHS_LINUX: ${{ matrix.arch_linux }}
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
CIBW_BUILD: "cp311-manylinux* cp312-manylinux* cp313-manylinux*"
CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux_2_28"
- name: Verify clean directory
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

ext_modules = [
Pybind11Extension("adafruit_raspberry_pi5_neopixel_write",
["src/main.cpp", "src/gpiolib.c", "src/pio_rp1.c"],
["src/main.cpp", "src/piolib.c", "src/pio_rp1.c"],
define_macros = [('VERSION_INFO', __version__)],
include_dirs = ['./src/ginclude'],
include_dirs = ['./src/include'],
# use this setting when debugging
#extra_compile_args = ["-g3", "-Og"],
),
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <pybind11/pybind11.h>

#include "piolib.h"
#include "utils/piolib/examples/ws2812.pio.h"
#include "ws2812.pio.h"

#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
Expand Down

0 comments on commit bf2be0c

Please sign in to comment.