Skip to content

Commit 669c86c

Browse files
authored
fix(native): Correct compilation for Linux ARM64 (#7215)
1 parent 0f25022 commit 669c86c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ jobs:
132132
env:
133133
CARGO_BUILD_TARGET: ${{ matrix.target }}
134134
run: cd packages/cubejs-backend-native && npm run native:build-release
135+
- name: Setup cross compilation
136+
if: (matrix.target == 'aarch64-unknown-linux-gnu')
137+
uses: allenevans/[email protected]
138+
with:
139+
PYO3_CROSS_PYTHON_VERSION: ${{ matrix.python-version }}
135140
- name: Build native (with Python)
136141
if: (matrix.python-version != 'fallback')
137142
env:

.github/workflows/rust-cubesql.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,11 @@ jobs:
194194
CARGO_BUILD_TARGET: ${{ matrix.target }}
195195
working-directory: ./packages/cubejs-backend-native
196196
run: yarn run native:build-debug
197+
- name: Setup cross compilation
198+
if: (matrix.target == 'aarch64-unknown-linux-gnu')
199+
uses: allenevans/[email protected]
200+
with:
201+
PYO3_CROSS_PYTHON_VERSION: ${{ matrix.python-version }}
197202
- name: Build native (with Python)
198203
if: (matrix.python-version != 'fallback')
199204
env:

0 commit comments

Comments
 (0)