Merge remote-tracking branch 'up/main' into main-riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-03-18 13:05:53 +02:00
commit 140aaf32c6
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
6 changed files with 153 additions and 6 deletions

4
.gitignore vendored
View File

@ -90,3 +90,7 @@
/newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz
/gcc-13.0.1-20230208.tar.xz
/gcc-13.0.1-20230215.tar.xz
/gcc-13.0.1-20230221.tar.xz
/gcc-13.0.1-20230304.tar.xz
/gcc-13.0.1-20230310.tar.xz
/gcc-13.0.1-20230318.tar.xz

View File

@ -1,5 +1,5 @@
%global DATE 20230215
%global gitrev 76b508266ac7460db2e4fe9eba298520ae1eda70
%global DATE 20230318
%global gitrev 24c7659a6ceb150243ffcbb95401b05e70d3fff8
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
Release: %{gcc_release}.4.2.riscv64%{?dist}
Release: %{gcc_release}.8.0.riscv64%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@ -1000,7 +1000,7 @@ sed -i 's|libisl\([^-]\)|libgcc13privateisl\1|g' \
../../isl-%{isl_version}/configure \
CC=/usr/bin/gcc CXX=/usr/bin/g++ \
CFLAGS="${CFLAGS:-%optflags} $ISL_FLAG_PIC" --prefix=`cd ..; pwd`/isl-install
make %{?_smp_mflags}
make %{?_smp_mflags} CFLAGS="${CFLAGS:-%optflags} $ISL_FLAG_PIC"
make install
cd ../isl-install/lib
rm libgcc13privateisl.so{,.23}
@ -3468,12 +3468,93 @@ end
%endif
%changelog
* Fri Feb 17 2023 David Abdurachmanov <davidlt@rivosinc.com> 13.0.1-0.4.0.riscv64
* Sat Mar 18 2023 David Abdurachmanov <davidlt@rivosinc.com> 13.0.1-0.8.0.riscv64
- Update config.{sub,guess} scripts for ISL
- Fix annobin plugin Fedora version check
- Package riscv_vector.h (vector intrinsics) header
- Enable libitm for riscv64
* Sat Mar 18 2023 Jakub Jelinek <jakub@redhat.com> 13.0.1-0.8
- update from trunk
- PRs analyzer/105906, analyzer/108045, analyzer/109097, c++/58538,
c++/69410, c++/95036, c++/96830, c++/98056, c++/100288, c++/101869,
c++/103871, c++/104107, c++/105406, c++/105809, c++/107128,
c++/107280, c++/107310, c++/108179, c++/108242, c++/108468,
c++/108975, c++/109096, c++/109172, c/109151, d/109108, d/109144,
fortran/37336, fortran/58331, fortran/64290, fortran/67444,
fortran/67471, fortran/69298, fortran/70863, fortran/71798,
fortran/80524, fortran/82996, fortran/84472, fortran/88735,
fortran/91316, fortran/93691, fortran/96122, fortran/103854,
fortran/106576, fortran/106945, ipa/107925, libstdc++/62196,
libstdc++/109111, libstdc++/109165, middle-end/106133,
middle-end/108685, middle-end/109031, modula2/109032, modula2/109089,
modula2/109102, modula2/109103, modula2/109125, other/109086,
preprocessor/67046, rtl-optimization/107762, rtl-optimization/109179,
target/105554, target/108583, target/109092, target/109109,
target/109117, testsuite/109118, testsuite/109129, testsuite/109145,
tree-optimization/106896, tree-optimization/109005,
tree-optimization/109046, tree-optimization/109115,
tree-optimization/109123, tree-optimization/109139,
tree-optimization/109141, web/88860
* Fri Mar 10 2023 Jakub Jelinek <jakub@redhat.com> 13.0.1-0.7
- update from trunk
- PRs ada/108858, ada/108983, analyzer/102671, analyzer/105755,
analyzer/108251, analyzer/108400, analyzer/108475, analyzer/109059,
analyzer/109060, c++/102529, c++/105841, c++/106651, c++/107532,
c++/107558, c++/107939, c++/108099, c++/108542, c++/108566,
c++/108773, c++/108972, c++/109030, c++/109039, c++/109042, c/108079,
driver/108865, fortran/104332, fortran/106856, libgcc/108727,
libgomp/90596, libgomp/109062, libstdc++/107572, libstdc++/108362,
libstdc++/108882, libstdc++/109024, libstdc++/109064,
middle-end/108995, other/108464, plugins/108634, sanitizer/81649,
sanitizer/108060, sanitizer/109050, target/107299, target/107703,
target/107998, target/108185, target/108429, target/108654,
target/109000, testsuite/70150, testsuite/108729, testsuite/108730,
testsuite/108810, testsuite/108813, tree-optimization/108980,
tree-optimization/109008, tree-optimization/109025
* Sat Mar 4 2023 Jakub Jelinek <jakub@redhat.com> 13.0.1-0.6
- update from trunk
- PRs ada/108909, analyzer/107565, analyzer/108830, analyzer/108935,
analyzer/108968, analyzer/109016, c++/100127, c++/105224, c++/105839,
c++/106259, c++/107574, c++/107938, c++/108218, c++/108219,
c++/108550, c++/108606, c++/108702, c++/108848, c++/108934,
c++/108998, c/107465, c/107846, c/108880, c/108986, d/108167,
d/108763, d/108877, d/108945, d/108946, debug/108716, debug/108772,
debug/108967, fortran/96024, fortran/96025, fortran/108621,
fortran/108923, fortran/108924, fortran/108937, jit/107999,
libquadmath/87204, libquadmath/94756, libstdc++/52590,
libstdc++/95989, libstdc++/104852, libstdc++/108846, libstdc++/108856,
libstdc++/108952, middle-end/97956, middle-end/106258,
middle-end/107411, middle-end/108545, middle-end/108546,
middle-end/108854, middle-end/109006, modula2/108261, modula2/108944,
modula2/108956, pch/14940, sanitizer/108834, sanitizer/108894,
target/51534, target/104882, target/108240, target/108876,
target/108881, target/108883, target/108910, target/108919,
target/108922, testsuite/79356, testsuite/91419, testsuite/108899,
testsuite/108942, testsuite/108973, testsuite/108985,
testsuite/108991, translation/108890, tree-optimization/108430,
tree-optimization/108603, tree-optimization/108793,
tree-optimization/108828, tree-optimization/108888,
tree-optimization/108950, tree-optimization/108970,
tree-optimization/108979, tree-optimization/108988,
tree-optimization/109002
* Tue Feb 21 2023 Jakub Jelinek <jakub@redhat.com> 13.0.1-0.5
- update from trunk
- PRs analyzer/108664, analyzer/108666, analyzer/108725, analyzer/108806,
c++/52809, c++/53638, c++/87389, c++/89741, c++/92099, c++/97553,
c++/101073, c++/104041, c++/104691, c++/107773, c++/108243,
c++/108829, c/105660, c/108375, fortran/103608, fortran/104554,
libstdc++/108030, target/90458, target/108805, target/108831,
target/108832, target/108862, testsuite/108835,
tree-optimization/108657, tree-optimization/108783,
tree-optimization/108791, tree-optimization/108816,
tree-optimization/108819, tree-optimization/108821,
tree-optimization/108825, tree-optimization/108855,
tree-optimization/108868
* Wed Feb 15 2023 Jakub Jelinek <jakub@redhat.com> 13.0.1-0.4
- update from trunk
- PRs analyzer/108704, analyzer/108733, analyzer/108745, c++/106675,

6
plans/ci/prepare/prepare.fmf Executable file
View File

@ -0,0 +1,6 @@
summary: Setup task
prepare:
script: ./plans/ci/prepare/prepare.sh
require:
- koji
- dnf-utils

54
plans/ci/prepare/prepare.sh Executable file
View File

@ -0,0 +1,54 @@
#!/bin/bash
#
# Setup task for Fedora CI system. Install the x86_64 GCC build under test
# along with its respective i686 (compat arch) bits needed for the testing.
# KOJI_TASK_ID per https://github.com/fedora-ci/dist-git-pipeline/pull/50 .
#
set -x
true "V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V"
echo "KOJI_TASK_ID=$KOJI_TASK_ID"
. /etc/os-release
if [ "$ID" == "fedora" ] && [ "$(arch)" == "x86_64" ]; then
if [ -z "${KOJI_TASK_ID}" ]; then
echo "Missing koji task ID, skipping ..."
exit 0
fi
tmpd=`mktemp -d`
pushd $tmpd
koji download-task $KOJI_TASK_ID --noprogress --arch=src
ls
VR=$(rpm -qp gcc* --queryformat='%{version}-%{release}')
popd
rm -rf $tmpd
tmpd=`mktemp -d`
pushd $tmpd
koji download-task $KOJI_TASK_ID --noprogress --arch=x86_64 --arch=noarch
rm -f *debuginfo*
ls
dnf -y install *.rpm
popd
rm -rf $tmpd
tmpd=`mktemp -d`
pushd $tmpd
koji download-task $KOJI_TASK_ID --noprogress --arch=i686
rm -f *debuginfo*
ls
yum -y install libgcc-$VR* libgfortran-$VR* libgomp-$VR* libitm-$VR* \
libstdc++-devel-$VR* libstdc++-$VR* libstdc++-static-$VR*
popd
rm -rf $tmpd
else
echo "Not Fedora x86_64, skipping..."
fi
true "^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^"

View File

@ -1,4 +1,4 @@
SHA512 (gcc-13.0.1-20230215.tar.xz) = 630b739424128b17bbde6826164f01fff7a639598881f63c95921168bb35cc7393ceaa63f423bdfb5692ab8ad5a30b99d5681837e05f1b013671373adb2b0b71
SHA512 (gcc-13.0.1-20230318.tar.xz) = 691f0d15e19fd89ca6003f443fe9363f9acbb57920869a51c1ecb4938d225f0c02502a74d6cd224464b68a8f420374e5f6d9685c37ecd936f82a9a1c27b15c79
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz) = 91690321bf96460c3b3e229199a6f752ed1c27c6933d4345dc7e237dc068f604ad211bb3a0373e14d4f332bee05b6227d6933e14e0b475ffdfea8b511ab735e6

View File

@ -26,6 +26,8 @@
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# A testing change.
# Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1