Skip to content

Commit b5a25d0

Browse files
committed
chore: disable pgo for aarch64, because it's not supported with cross
1 parent a0802ac commit b5a25d0

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ARG PYTHON_RELEASE
88
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python${PYTHON_RELEASE} \
99
&& rm -rf /var/lib/apt/lists/*;
1010

11+
# --enable-optimizations is disabled, because it's not supported with CROSS
1112
RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}${PYTHON_VERSION_SUFFIX}.tgz -O - | tar -xz \
1213
&& cd Python-${PYTHON_VERSION}${PYTHON_VERSION_SUFFIX} \
1314
&& touch config.site-aarch64 \
@@ -16,7 +17,6 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VER
1617
&& echo "ac_cv_file__dev_ptc=no" >> config.site-aarch64 \
1718
&& CONFIG_SITE=config.site-aarch64 ./configure \
1819
--enable-shared \
19-
--enable-optimizations \
2020
--disable-ipv6 \
2121
--prefix=/usr/aarch64-linux-gnu \
2222
--build=aarch64-unknown-linux-gnu \

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ ENV ARCH=arm \
3535
CC=aarch64-linux-gnu-gcc \
3636
CXX=aarch64-linux-gnu-g++ \
3737
CPP=aarch64-linux-gnu-cpp \
38-
LD=aarch64-linux-gnu-ld
38+
LD=aarch64-linux-gnu-ld \
39+
RUNLIB=aarch64-linux-gnu-ranlib
3940

4041
ENV ZLIB_VERSION=1.3.1
4142
RUN wget https://zlib.net/zlib-${ZLIB_VERSION}.tar.gz -O - | tar -xz && \

rust/cubestore/cross/docker-bake.hcl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ variable "LLVM_VERSION" {
99

1010
variable "PYTHON_VERSIONS" {
1111
default = [
12-
# TODO: Enable after release.
13-
# {
14-
# python_version = "3.14.0"
15-
# python_version_sufix = "rc1"
16-
# python_release = "3.14"
17-
# },
12+
{
13+
python_version = "3.14.0"
14+
python_version_sufix = "rc1"
15+
python_release = "3.14"
16+
},
1817
{
1918
python_version = "3.13.5"
2019
python_version_sufix = ""

0 commit comments

Comments
 (0)