diff --git a/automake.spec b/automake.spec index 3e7598ef95685d45400359d71b064f8c78a4f03e..d065e7ab805f43caebe5f4c3f86b08e6764b6ff0 100644 --- a/automake.spec +++ b/automake.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 %global api_version 1.16 # do not mangle shebang in files which are part of bootstraped project @@ -166,6 +166,9 @@ make -k %{?_smp_mflags} check %{?TESTS_FLAGS: TESTS="%{TESTS_FLAGS}"} \ %doc AUTHORS README THANKS NEWS README.aclocal README.multilib %changelog +* Tue Mar 19 2024 wxiat - 1.16.2-8.0.2 +- cherry-pick `add sw arch #ae5f78b8502183e7de462ac47dca6fbee09483db`. + * Wed Dec 06 2023 mgb01105731 - 1.16.2-8.0.1 - Add doc sub package - Support loongarch64 platform (Liwei Ge) diff --git a/config.guess b/config.guess index 4395a0a3dcaafd0eedea0c57053d7be7f2e05ba5..d58e26e04996fa05f3d4b25a261bbff982202676 100755 --- a/config.guess +++ b/config.guess @@ -916,6 +916,14 @@ EOF loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; + sw_64:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + sw) UNAME_MACHINE=sw_64 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC=gnulibc1 ; fi + echo "$UNAME_MACHINE"-sunway-linux-"$LIBC" + exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; diff --git a/config.sub b/config.sub index 05051871276ceab526de7c071d9c2af16ff67eca..aaf8187926557359e622ec90eada8de60069cb21 100755 --- a/config.sub +++ b/config.sub @@ -1158,6 +1158,7 @@ case $cpu-$vendor in | aarch64 | aarch64_be \ | loongarch32 | loongarch64 | loongarchx32 \ | abacus \ + | sw_64 \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \ | alphapca5[67] | alpha64pca5[67] \