From ea042ee4a975dbf8b49cb945232b027ea2c1bed0 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 2 Aug 2023 23:52:08 +0000 Subject: [PATCH] updating installer data --- tlpkg/installer/config.guess | 33 +++++++++++++++++++++++++++++++-- tlpkg/installer/ctan-mirrors.pl | 1 + 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/tlpkg/installer/config.guess b/tlpkg/installer/config.guess index 354a8ccd..b1872139 100755 --- a/tlpkg/installer/config.guess +++ b/tlpkg/installer/config.guess @@ -4,7 +4,7 @@ # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2023-06-23' +timestamp='2023-07-20' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -976,7 +976,27 @@ EOF GUESS=$UNAME_MACHINE-unknown-minix ;; aarch64:Linux:*:*) - GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + set_cc_for_build + CPU=$UNAME_MACHINE + LIBCABI=$LIBC + if test "$CC_FOR_BUILD" != no_compiler_found; then + ABI=64 + sed 's/^ //' << EOF > "$dummy.c" + #ifdef __ARM_EABI__ + #ifdef __ARM_PCS_VFP + ABI=eabihf + #else + ABI=eabi + #endif + #endif +EOF + cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'` + eval "$cc_set_abi" + case $ABI in + eabi | eabihf) CPU=armv8l; LIBCABI=$LIBC$ABI ;; + esac + fi + GUESS=$CPU-unknown-linux-$LIBCABI ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be @@ -1042,6 +1062,15 @@ EOF k1om:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; + kvx:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; + kvx:cos:*:*) + GUESS=$UNAME_MACHINE-unknown-cos + ;; + kvx:mbr:*:*) + GUESS=$UNAME_MACHINE-unknown-mbr + ;; loongarch32:Linux:*:* | loongarch64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; diff --git a/tlpkg/installer/ctan-mirrors.pl b/tlpkg/installer/ctan-mirrors.pl index 1ad2a72d..a1d96dd6 100644 --- a/tlpkg/installer/ctan-mirrors.pl +++ b/tlpkg/installer/ctan-mirrors.pl @@ -17,6 +17,7 @@ 'https://mirrors.cloud.tencent.com/CTAN/' => 1, 'https://mirrors.cqu.edu.cn/CTAN/' => 1, 'https://mirrors.hit.edu.cn/CTAN/' => 1, + 'https://mirrors.jlu.edu.cn/CTAN/' => 1, 'https://mirrors.nju.edu.cn/CTAN/' => 1, 'https://mirrors.pku.edu.cn/ctan/' => 1, 'https://mirrors.sjtug.sjtu.edu.cn/ctan/' => 1,