Skip to content

Commit

Permalink
manylinux_2_28-x64: Update for gcc-toolset-12
Browse files Browse the repository at this point in the history
Closes #746
  • Loading branch information
thewtex authored and Jonas Vautherin committed Dec 1, 2022
1 parent 08e2f6e commit 21fdaf8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/common.manylinux_2_28
Expand Up @@ -21,7 +21,7 @@ RUN \
set -x && \
# Remove sudo provided by devtoolset since it doesn't work with
# our sudo wrapper calling gosu.
rm -f /opt/rh/gcc-toolset-11/root/usr/bin/sudo && \
rm -f /opt/rh/gcc-toolset-12/root/usr/bin/sudo && \
/buildscripts/install-python-packages.sh && \
rm -rf /buildscripts

Expand Down
2 changes: 1 addition & 1 deletion manylinux_2_28-x64/Dockerfile.in
Expand Up @@ -12,7 +12,7 @@ ENV DEFAULT_DOCKCROSS_IMAGE dockcross/manylinux_2_28-x64
#include "common.docker"

ENV CROSS_TRIPLE x86_64-linux-gnu
ENV CROSS_ROOT /opt/rh/gcc-toolset-11/root/bin/
ENV CROSS_ROOT /opt/rh/gcc-toolset-12/root/bin/
ENV AS=${CROSS_ROOT}/as \
AR=${CROSS_ROOT}/ar \
CC=${CROSS_ROOT}/gcc \
Expand Down
2 changes: 1 addition & 1 deletion manylinux_2_28-x64/Toolchain.cmake
Expand Up @@ -5,7 +5,7 @@ set(CMAKE_SYSTEM_PROCESSOR x86_64)

set(MANYLINUX_2_28 TRUE)

set(CROSS_ROOT /opt/rh/gcc-toolset-11/root/bin/)
set(CROSS_ROOT /opt/rh/gcc-toolset-12/root/bin/)
set(CMAKE_C_COMPILER ${CROSS_ROOT}/gcc)
set(CMAKE_CXX_COMPILER ${CROSS_ROOT}/g++)
set(CMAKE_ASM_COMPILER ${CROSS_ROOT}/as)
Expand Down

0 comments on commit 21fdaf8

Please sign in to comment.