mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
manylinux2014-x64: Fix tests updating path to devtoolset compilers
This commit is contained in:
parent
2e0da22870
commit
549303ece1
@ -14,7 +14,7 @@ RUN echo $'#!/bin/bash\n\
|
|||||||
LD_PRELOAD=/usr/lib64/libcurl.so.4 /usr/bin/yum "$@"' > /usr/local/bin/yum && chmod a+x /usr/local/bin/yum
|
LD_PRELOAD=/usr/lib64/libcurl.so.4 /usr/bin/yum "$@"' > /usr/local/bin/yum && chmod a+x /usr/local/bin/yum
|
||||||
|
|
||||||
ENV CROSS_TRIPLE x86_64-linux-gnu
|
ENV CROSS_TRIPLE x86_64-linux-gnu
|
||||||
ENV CROSS_ROOT /opt/rh/devtoolset-8/root/usr/bin
|
ENV CROSS_ROOT /opt/rh/devtoolset-9/root/usr/bin
|
||||||
ENV AS=${CROSS_ROOT}/as \
|
ENV AS=${CROSS_ROOT}/as \
|
||||||
AR=${CROSS_ROOT}/ar \
|
AR=${CROSS_ROOT}/ar \
|
||||||
CC=${CROSS_ROOT}/gcc \
|
CC=${CROSS_ROOT}/gcc \
|
||||||
|
@ -5,7 +5,7 @@ set(CMAKE_SYSTEM_PROCESSOR x86_64)
|
|||||||
|
|
||||||
set(MANYLINUX2014 TRUE)
|
set(MANYLINUX2014 TRUE)
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER /opt/rh/devtoolset-8/root/usr/bin/gcc)
|
set(CMAKE_C_COMPILER /opt/rh/devtoolset-9/root/usr/bin/gcc)
|
||||||
set(CMAKE_CXX_COMPILER /opt/rh/devtoolset-8/root/usr/bin/g++)
|
set(CMAKE_CXX_COMPILER /opt/rh/devtoolset-9/root/usr/bin/g++)
|
||||||
set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER})
|
set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER})
|
||||||
set(CMAKE_Fortran_COMPILER /opt/rh/devtoolset-8/root/usr/bin/gfortran)
|
set(CMAKE_Fortran_COMPILER /opt/rh/devtoolset-9/root/usr/bin/gfortran)
|
||||||
|
Loading…
Reference in New Issue
Block a user