Skip to content

Commit 2c4f48a

Browse files
authored
fix(cross): Enable shared python for aarch64-unknown-linux-gnu (#7225)
1 parent 6681e61 commit 2c4f48a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

packages/cubejs-backend-native/DEVELOPMENT.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88

99
```bash
1010
cd packages/cubejs-backend-native
11-
yarn run native:build
11+
# default one, fallback build
12+
yarn run native:build-debug
13+
# or with python
14+
yarn native:build-debug-python
1215
yarn link
1316
```
1417

rust/cubestore/cross/aarch64-unknown-linux-gnu.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VER
7171
echo "ac_cv_file__dev_ptmx=no" >> config.site-aarch64 && \
7272
echo "ac_cv_file__dev_ptc=no" >> config.site-aarch64 && \
7373
CONFIG_SITE=config.site-aarch64 ./configure \
74+
--enable-shared \
7475
--enable-optimizations \
7576
--disable-ipv6 \
7677
--prefix=/usr/aarch64-linux-gnu \
@@ -89,6 +90,7 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VER
8990
echo "ac_cv_file__dev_ptmx=no" >> config.site-aarch64 && \
9091
echo "ac_cv_file__dev_ptc=no" >> config.site-aarch64 && \
9192
CONFIG_SITE=config.site-aarch64 ./configure \
93+
--enable-shared \
9294
--enable-optimizations \
9395
--disable-ipv6 \
9496
--prefix=/usr/aarch64-linux-gnu \
@@ -107,6 +109,7 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VER
107109
echo "ac_cv_file__dev_ptmx=no" >> config.site-aarch64 && \
108110
echo "ac_cv_file__dev_ptc=no" >> config.site-aarch64 && \
109111
CONFIG_SITE=config.site-aarch64 ./configure \
112+
--enable-shared \
110113
--enable-optimizations \
111114
--disable-ipv6 \
112115
--prefix=/usr/aarch64-linux-gnu \
@@ -125,6 +128,7 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VER
125128
echo "ac_cv_file__dev_ptmx=no" >> config.site-aarch64 && \
126129
echo "ac_cv_file__dev_ptc=no" >> config.site-aarch64 && \
127130
CONFIG_SITE=config.site-aarch64 ./configure \
131+
--enable-shared \
128132
--enable-optimizations \
129133
--disable-ipv6 \
130134
--prefix=/usr/aarch64-linux-gnu \

0 commit comments

Comments
 (0)