Skip to content

Commit

Permalink
Bump ct-ng to include latest change for D/Ada & baremetal
Browse files Browse the repository at this point in the history
Enable D and Ada for sh

refs compiler-explorer/compiler-explorer#6520

Signed-off-by: Marc Poulhiès <[email protected]>
  • Loading branch information
dkm committed Jun 5, 2024
1 parent c36f5b3 commit 59f02d2
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 6 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,17 @@ RUN apt-get update -y -q && apt-get upgrade -y -q && apt-get upgrade -y -q && \
rm -rf aws* && \
mkdir -p /opt/compiler-explorer/ && \
cd /opt/compiler-explorer && \
curl "https://s3.amazonaws.com/compiler-explorer/opt/gcc-4.8.5.tar.xz" -o gcc4.tar.xz && \
curl "https://s3.amazonaws.com/compiler-explorer/opt/gcc-11.4.0.tar.xz" -o gcc11.tar.xz && \
curl "https://s3.amazonaws.com/compiler-explorer/opt/gcc-12.3.0.tar.xz" -o gcc12.tar.xz && \
curl "https://s3.amazonaws.com/compiler-explorer/opt/gcc-13.2.0.tar.xz" -o gcc13.tar.xz && \
curl "https://s3.amazonaws.com/compiler-explorer/opt/gcc-14.1.0.tar.xz" -o gcc14.tar.xz && \
tar Jxf gcc4.tar.xz && \
tar Jxf gcc11.tar.xz && \
tar Jxf gcc12.tar.xz && \
tar Jxf gcc13.tar.xz && \
tar Jxf gcc14.tar.xz && \
rm gcc11.tar.xz gcc12.tar.xz gcc13.tar.xz gcc14.tar.xz
rm gcc4.tar.xz gcc11.tar.xz gcc12.tar.xz gcc13.tar.xz gcc14.tar.xz

## Need for host GCC version to be ~= latest cross GCC being built.
## This is at least needed for building cross-GNAT (Ada) as the GNAT runtime has no
Expand All @@ -84,7 +86,7 @@ COPY build/patches/crosstool-ng/ld_library_path.patch ./

## TAG is pointing to a specific ct-ng revision (usually the current dev one
## when updating this script or ct-ng)
RUN TAG=810021d9125a66f6a7cd0862d59aab3d32252a9f && \
RUN TAG=78980241378010f4983e320df76b5edf58a62ab7 && \
curl -sL https://github.com/crosstool-ng/crosstool-ng/archive/${TAG}.zip --output crosstool-ng-master.zip && \
unzip crosstool-ng-master.zip && \
cd crosstool-ng-${TAG} && \
Expand Down
122 changes: 118 additions & 4 deletions build/latest/sh-14.1.0.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# crosstool-NG 1.26.0.72_810021d Configuration
# crosstool-NG 1.26.0.90_7898024_dirty Configuration
#
CT_CONFIGURE_has_static_link=y
CT_CONFIGURE_has_cxx11=y
Expand Down Expand Up @@ -29,7 +29,7 @@ CT_CONFIGURE_has_sha1sum=y
CT_CONFIGURE_has_sha256sum=y
CT_CONFIGURE_has_sha512sum=y
CT_CONFIGURE_has_install_with_strip_program=y
CT_VERSION="1.26.0.72_810021d"
CT_VERSION="1.26.0.90_7898024_dirty"
CT_VCHECK=""
CT_CONFIG_VERSION_ENV="4"
CT_CONFIG_VERSION_CURRENT="4"
Expand All @@ -44,7 +44,9 @@ CT_MODULES=y
# crosstool-NG behavior
#
# CT_OBSOLETE is not set
# CT_EXPERIMENTAL is not set
CT_EXPERIMENTAL=y
# CT_ALLOW_BUILD_AS_ROOT is not set
# CT_ENABLE_EXPERIMENTAL_BUNDLED_PATCHES is not set
# CT_DEBUG_CT is not set

#
Expand All @@ -63,6 +65,7 @@ CT_INSTALL_LICENSES=y
CT_PREFIX_DIR_RO=y
CT_STRIP_HOST_TOOLCHAIN_EXECUTABLES=y
# CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES is not set
# CT_TARBALL_RESULT is not set

#
# Downloading
Expand Down Expand Up @@ -91,7 +94,10 @@ CT_VERIFY_DOWNLOAD_DIGEST_ALG="sha512"
CT_OVERRIDE_CONFIG_GUESS_SUB=y
# CT_ONLY_EXTRACT is not set
CT_PATCH_BUNDLED=y
# CT_PATCH_LOCAL is not set
# CT_PATCH_BUNDLED_LOCAL is not set
# CT_PATCH_LOCAL_BUNDLED is not set
# CT_PATCH_NONE is not set
CT_PATCH_ORDER="bundled"

#
Expand Down Expand Up @@ -135,11 +141,18 @@ CT_LOG_FILE_COMPRESS=y
# CT_ARCH_ARM is not set
# CT_ARCH_AVR is not set
# CT_ARCH_BPF is not set
# CT_ARCH_C6X is not set
# CT_ARCH_LOONGARCH is not set
# CT_ARCH_M68K is not set
# CT_ARCH_MICROBLAZE is not set
# CT_ARCH_MIPS is not set
# CT_ARCH_MOXIE is not set
# CT_ARCH_MSP430 is not set
# CT_ARCH_NIOS2 is not set
# CT_ARCH_PARISC is not set
# CT_ARCH_POWERPC is not set
# CT_ARCH_PRU is not set
# CT_ARCH_RISCV is not set
# CT_ARCH_S390 is not set
CT_ARCH_SH=y
# CT_ARCH_SPARC is not set
Expand Down Expand Up @@ -173,6 +186,7 @@ CT_ARCH_SUFFIX=""
#
CT_ARCH_REQUIRES_MULTILIB=y
CT_MULTILIB=y
# CT_DEMULTILIB is not set
CT_ARCH_SUPPORTS_BOTH_MMU=y
CT_ARCH_DEFAULT_HAS_MMU=y
CT_ARCH_USE_MMU=y
Expand Down Expand Up @@ -223,7 +237,9 @@ CT_TARGET_ALIAS=""
#
# Toolchain type
#
# CT_NATIVE is not set
CT_CROSS=y
# CT_CROSS_NATIVE is not set
# CT_CANADIAN is not set
CT_TOOLCHAIN_TYPE="cross"

Expand Down Expand Up @@ -276,11 +292,19 @@ CT_BINUTILS_BINUTILS_SHOW=y
CT_BINUTILS_BINUTILS_PKG_KSYM="BINUTILS"
CT_BINUTILS_DIR_NAME="binutils"
CT_BINUTILS_USE_GNU=y
# CT_BINUTILS_USE_LINARO is not set
# CT_BINUTILS_USE_ORACLE is not set
CT_BINUTILS_USE="BINUTILS"
CT_BINUTILS_PKG_NAME="binutils"
CT_BINUTILS_SRC_RELEASE=y
# CT_BINUTILS_SRC_DEVEL is not set
# CT_BINUTILS_SRC_CUSTOM is not set
CT_BINUTILS_PATCH_GLOBAL=y
# CT_BINUTILS_PATCH_BUNDLED is not set
# CT_BINUTILS_PATCH_LOCAL is not set
# CT_BINUTILS_PATCH_BUNDLED_LOCAL is not set
# CT_BINUTILS_PATCH_LOCAL_BUNDLED is not set
# CT_BINUTILS_PATCH_NONE is not set
CT_BINUTILS_PATCH_ORDER="global"
CT_BINUTILS_V_2_42=y
# CT_BINUTILS_V_2_41 is not set
Expand Down Expand Up @@ -346,6 +370,13 @@ CT_NEWLIB_DIR_NAME="newlib"
CT_NEWLIB_PKG_NAME="newlib"
CT_NEWLIB_SRC_RELEASE=y
# CT_NEWLIB_SRC_DEVEL is not set
# CT_NEWLIB_SRC_CUSTOM is not set
CT_NEWLIB_PATCH_GLOBAL=y
# CT_NEWLIB_PATCH_BUNDLED is not set
# CT_NEWLIB_PATCH_LOCAL is not set
# CT_NEWLIB_PATCH_BUNDLED_LOCAL is not set
# CT_NEWLIB_PATCH_LOCAL_BUNDLED is not set
# CT_NEWLIB_PATCH_NONE is not set
CT_NEWLIB_PATCH_ORDER="global"
CT_NEWLIB_V_4_4=y
# CT_NEWLIB_V_4_3 is not set
Expand Down Expand Up @@ -412,11 +443,13 @@ CT_CC_GCC_SHOW=y
CT_CC_GCC_PKG_KSYM="GCC"
CT_GCC_DIR_NAME="gcc"
CT_GCC_USE_GNU=y
# CT_GCC_USE_LINARO is not set
# CT_GCC_USE_ORACLE is not set
CT_GCC_USE="GCC"
CT_GCC_PKG_NAME="gcc"
# CT_GCC_SRC_RELEASE is not set
CT_GCC_SRC_DEVEL=y
# CT_GCC_SRC_CUSTOM is not set
CT_GCC_DEVEL_VCS_git=y
# CT_GCC_DEVEL_VCS_svn is not set
# CT_GCC_DEVEL_VCS_hg is not set
Expand All @@ -427,7 +460,15 @@ CT_GCC_DEVEL_BRANCH="releases/gcc-14.1.0"
CT_GCC_DEVEL_REVISION=""
CT_GCC_DEVEL_SUBDIR=""
CT_GCC_DEVEL_BOOTSTRAP=""
CT_GCC_PATCH_GLOBAL=y
# CT_GCC_PATCH_BUNDLED is not set
# CT_GCC_PATCH_LOCAL is not set
# CT_GCC_PATCH_BUNDLED_LOCAL is not set
# CT_GCC_PATCH_LOCAL_BUNDLED is not set
# CT_GCC_PATCH_NONE is not set
CT_GCC_PATCH_ORDER="global"
# CT_GCC_VERY_NEW is not set
# CT_GCC_V_14 is not set
CT_GCC_V_13=y
# CT_GCC_V_12 is not set
# CT_GCC_V_11 is not set
Expand All @@ -438,12 +479,14 @@ CT_GCC_V_13=y
# CT_GCC_V_6 is not set
# CT_GCC_V_5 is not set
# CT_GCC_V_4_9 is not set
CT_GCC_VERSION="13.2.0"
CT_GCC_VERSION="13.3.0"
CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})"
CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_GCC_SIGNATURE_FORMAT=""
CT_GCC_14_or_older=y
CT_GCC_older_than_14=y
CT_GCC_later_than_13=y
CT_GCC_13_or_later=y
CT_GCC_later_than_12=y
Expand Down Expand Up @@ -516,8 +559,23 @@ CT_ALL_CC_CHOICES="GCC"
#
CT_CC_LANG_CXX=y
# CT_CC_LANG_FORTRAN is not set
# CT_CC_LANG_JIT is not set
CT_CC_LANG_ADA=y
CT_CC_LANG_D=y
CT_CC_LANG_OTHERS=""
# end of C compiler

#
# Linkers
#

#
# BFD enabled in binutils
#
# CT_LINKER_MOLD is not set
CT_ALL_LINKER_CHOICES="MOLD"
# end of Linkers

#
# Debug facilities
#
Expand All @@ -537,6 +595,13 @@ CT_CLOOG_DIR_NAME="cloog"
CT_CLOOG_PKG_NAME="cloog"
CT_CLOOG_SRC_RELEASE=y
# CT_CLOOG_SRC_DEVEL is not set
# CT_CLOOG_SRC_CUSTOM is not set
CT_CLOOG_PATCH_GLOBAL=y
# CT_CLOOG_PATCH_BUNDLED is not set
# CT_CLOOG_PATCH_LOCAL is not set
# CT_CLOOG_PATCH_BUNDLED_LOCAL is not set
# CT_CLOOG_PATCH_LOCAL_BUNDLED is not set
# CT_CLOOG_PATCH_NONE is not set
CT_CLOOG_PATCH_ORDER="global"
CT_CLOOG_V_0_18_4=y
CT_CLOOG_VERSION="0.18.4"
Expand All @@ -553,6 +618,13 @@ CT_GMP_DIR_NAME="gmp"
CT_GMP_PKG_NAME="gmp"
CT_GMP_SRC_RELEASE=y
# CT_GMP_SRC_DEVEL is not set
# CT_GMP_SRC_CUSTOM is not set
CT_GMP_PATCH_GLOBAL=y
# CT_GMP_PATCH_BUNDLED is not set
# CT_GMP_PATCH_LOCAL is not set
# CT_GMP_PATCH_BUNDLED_LOCAL is not set
# CT_GMP_PATCH_LOCAL_BUNDLED is not set
# CT_GMP_PATCH_NONE is not set
CT_GMP_PATCH_ORDER="global"
CT_GMP_V_6_2=y
# CT_GMP_V_6_1 is not set
Expand All @@ -568,6 +640,13 @@ CT_ISL_DIR_NAME="isl"
CT_ISL_PKG_NAME="isl"
CT_ISL_SRC_RELEASE=y
# CT_ISL_SRC_DEVEL is not set
# CT_ISL_SRC_CUSTOM is not set
CT_ISL_PATCH_GLOBAL=y
# CT_ISL_PATCH_BUNDLED is not set
# CT_ISL_PATCH_LOCAL is not set
# CT_ISL_PATCH_BUNDLED_LOCAL is not set
# CT_ISL_PATCH_LOCAL_BUNDLED is not set
# CT_ISL_PATCH_NONE is not set
CT_ISL_PATCH_ORDER="global"
# CT_ISL_V_0_26 is not set
# CT_ISL_V_0_25 is not set
Expand Down Expand Up @@ -599,6 +678,13 @@ CT_MPC_DIR_NAME="mpc"
CT_MPC_PKG_NAME="mpc"
CT_MPC_SRC_RELEASE=y
# CT_MPC_SRC_DEVEL is not set
# CT_MPC_SRC_CUSTOM is not set
CT_MPC_PATCH_GLOBAL=y
# CT_MPC_PATCH_BUNDLED is not set
# CT_MPC_PATCH_LOCAL is not set
# CT_MPC_PATCH_BUNDLED_LOCAL is not set
# CT_MPC_PATCH_LOCAL_BUNDLED is not set
# CT_MPC_PATCH_NONE is not set
CT_MPC_PATCH_ORDER="global"
CT_MPC_V_1_3=y
CT_MPC_VERSION="1.3.1"
Expand All @@ -615,6 +701,13 @@ CT_MPFR_DIR_NAME="mpfr"
CT_MPFR_PKG_NAME="mpfr"
CT_MPFR_SRC_RELEASE=y
# CT_MPFR_SRC_DEVEL is not set
# CT_MPFR_SRC_CUSTOM is not set
CT_MPFR_PATCH_GLOBAL=y
# CT_MPFR_PATCH_BUNDLED is not set
# CT_MPFR_PATCH_LOCAL is not set
# CT_MPFR_PATCH_BUNDLED_LOCAL is not set
# CT_MPFR_PATCH_LOCAL_BUNDLED is not set
# CT_MPFR_PATCH_NONE is not set
CT_MPFR_PATCH_ORDER="global"
CT_MPFR_V_4_2=y
CT_MPFR_VERSION="4.2.1"
Expand All @@ -634,6 +727,13 @@ CT_ZLIB_DIR_NAME="zlib"
CT_ZLIB_PKG_NAME="zlib"
CT_ZLIB_SRC_RELEASE=y
# CT_ZLIB_SRC_DEVEL is not set
# CT_ZLIB_SRC_CUSTOM is not set
CT_ZLIB_PATCH_GLOBAL=y
# CT_ZLIB_PATCH_BUNDLED is not set
# CT_ZLIB_PATCH_LOCAL is not set
# CT_ZLIB_PATCH_BUNDLED_LOCAL is not set
# CT_ZLIB_PATCH_LOCAL_BUNDLED is not set
# CT_ZLIB_PATCH_NONE is not set
CT_ZLIB_PATCH_ORDER="global"
# CT_ZLIB_V_1_3 is not set
CT_ZLIB_V_1_2_13=y
Expand All @@ -649,7 +749,15 @@ CT_ZSTD_DIR_NAME="zstd"
CT_ZSTD_PKG_NAME="zstd"
CT_ZSTD_SRC_RELEASE=y
# CT_ZSTD_SRC_DEVEL is not set
# CT_ZSTD_SRC_CUSTOM is not set
CT_ZSTD_PATCH_GLOBAL=y
# CT_ZSTD_PATCH_BUNDLED is not set
# CT_ZSTD_PATCH_LOCAL is not set
# CT_ZSTD_PATCH_BUNDLED_LOCAL is not set
# CT_ZSTD_PATCH_LOCAL_BUNDLED is not set
# CT_ZSTD_PATCH_NONE is not set
CT_ZSTD_PATCH_ORDER="global"
# CT_ZSTD_V_1_5_6 is not set
# CT_ZSTD_V_1_5_5 is not set
CT_ZSTD_V_1_5_2=y
CT_ZSTD_VERSION="1.5.2"
Expand Down Expand Up @@ -688,3 +796,9 @@ CT_ZSTD=y
# CT_COMP_TOOLS_MAKE is not set
CT_ALL_COMP_TOOLS_CHOICES="AUTOCONF AUTOMAKE BISON DTC LIBTOOL M4 MAKE"
# end of Companion tools

#
# Test suite
#
# CT_TEST_SUITE_GCC is not set
# end of Test suite

0 comments on commit 59f02d2

Please sign in to comment.