RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/llvm#f5cf5703840587f202de6d09456fd611b5bb8b48
This commit is contained in:
parent
0058d26c7f
commit
cd7e47d883
82
.gitignore
vendored
82
.gitignore
vendored
@ -0,0 +1,82 @@
|
||||
/cfe-*.src.tar.gz
|
||||
/compiler-rt-*.src.tar.gz
|
||||
/lldb-*.src.tar.gz
|
||||
/llvm-*.src.tar.gz
|
||||
/clang-3.4.src.tar.gz
|
||||
/cfe-3.5.0.src.tar.xz
|
||||
/compiler-rt-3.5.0.src.tar.xz
|
||||
/lldb-3.5.0.src.tar.xz
|
||||
/llvm-3.5.0.src.tar.xz
|
||||
/cfe-3.6.0.src.tar.xz
|
||||
/compiler-rt-3.6.0.src.tar.xz
|
||||
/lldb-3.6.0.src.tar.xz
|
||||
/llvm-3.6.0.src.tar.xz
|
||||
/llvm-3.6.1.src.tar.xz
|
||||
/compiler-rt-3.6.1.src.tar.xz
|
||||
/cfe-3.6.1.src.tar.xz
|
||||
/lldb-3.6.1.src.tar.xz
|
||||
/cfe-3.6.2.src.tar.xz
|
||||
/compiler-rt-3.6.2.src.tar.xz
|
||||
/lldb-3.6.2.src.tar.xz
|
||||
/llvm-3.6.2.src.tar.xz
|
||||
/llvm-3.7.0.src.tar.xz
|
||||
/cfe-3.7.0.src.tar.xz
|
||||
/compiler-rt-3.7.0.src.tar.xz
|
||||
/lldb-3.7.0.src.tar.xz
|
||||
/llvm-3.7.1.src.tar.xz
|
||||
/llvm-3.8.0rc2.src.tar.xz
|
||||
/llvm-3.8.0rc3.src.tar.xz
|
||||
/llvm-3.8.0.src.tar.xz
|
||||
/llvm-3.8.1.src.tar.xz
|
||||
/llvm-3.9.0.src.tar.xz
|
||||
/llvm-3.9.1.src.tar.xz
|
||||
/llvm-4.0.0.src.tar.xz
|
||||
/llvm-4.0.1.src.tar.xz
|
||||
/llvm-5.0.0.src.tar.xz
|
||||
/llvm-5.0.1.src.tar.xz
|
||||
/llvm-6.0.0rc1.src.tar.xz
|
||||
/llvm-6.0.0rc2.src.tar.xz
|
||||
/llvm-6.0.0.src.tar.xz
|
||||
/llvm-6.0.1rc1.src.tar.xz
|
||||
/llvm-6.0.1rc2.src.tar.xz
|
||||
/llvm-6.0.1.src.tar.xz
|
||||
/llvm-7.0.0rc1.src.tar.xz
|
||||
/llvm-7.0.0rc2.src.tar.xz
|
||||
/llvm-7.0.0rc3.src.tar.xz
|
||||
/llvm-7.0.0.src.tar.xz
|
||||
/llvm-7.0.1.src.tar.xz
|
||||
/llvm-8.0.0rc1.src.tar.xz
|
||||
/llvm-8.0.0rc2.src.tar.xz
|
||||
/llvm-8.0.0rc3.src.tar.xz
|
||||
/llvm-8.0.0rc4.src.tar.xz
|
||||
/llvm-8.0.0.src.tar.xz
|
||||
/llvm-9.0.0rc2.src.tar.xz
|
||||
/llvm-9.0.0rc3.src.tar.xz
|
||||
/llvm-9.0.0.src.tar.xz
|
||||
/llvm-9.0.1.src.tar.xz
|
||||
/llvm-10.0.0rc1.src.tar.xz
|
||||
/llvm-10.0.0rc1.src.tar.xz.sig
|
||||
/llvm-10.0.0rc2.src.tar.xz
|
||||
/llvm-10.0.0rc2.src.tar.xz.sig
|
||||
/llvm-10.0.0rc3.src.tar.xz
|
||||
/llvm-10.0.0rc3.src.tar.xz.sig
|
||||
/llvm-10.0.0rc4.src.tar.xz
|
||||
/llvm-10.0.0rc4.src.tar.xz.sig
|
||||
/llvm-10.0.0rc5.src.tar.xz
|
||||
/llvm-10.0.0rc5.src.tar.xz.sig
|
||||
/llvm-10.0.0rc6.src.tar.xz
|
||||
/llvm-10.0.0rc6.src.tar.xz.sig
|
||||
/llvm-10.0.0.src.tar.xz
|
||||
/llvm-10.0.0.src.tar.xz.sig
|
||||
/llvm-11.0.0rc1.src.tar.xz
|
||||
/llvm-11.0.0rc1.src.tar.xz.sig
|
||||
/llvm-11.0.0rc2.src.tar.xz
|
||||
/llvm-11.0.0rc2.src.tar.xz.sig
|
||||
/llvm-11.0.0rc3.src.tar.xz
|
||||
/llvm-11.0.0rc3.src.tar.xz.sig
|
||||
/llvm-11.0.0rc5.src.tar.xz
|
||||
/llvm-11.0.0rc5.src.tar.xz.sig
|
||||
/llvm-11.0.0rc6.src.tar.xz
|
||||
/llvm-11.0.0rc6.src.tar.xz.sig
|
||||
/llvm-11.0.0.src.tar.xz
|
||||
/llvm-11.0.0.src.tar.xz.sig
|
12
gating.yaml
Normal file
12
gating.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_testing
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
52
hans-gpg-key.asc
Normal file
52
hans-gpg-key.asc
Normal file
@ -0,0 +1,52 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFS+1SABEACnmkESkY7eZq0GhDjbkWpKmURGk9+ycsfAhA44NqUvf4tk1GPM
|
||||
5SkJ/fYedYZJaDVhIp98fHgucD0O+vjOzghtgwtITusYjiPHPFBd/MN+MQqSEAP+
|
||||
LUa/kjHLjgyXxKhFUIDGVaDWL5tKOA7/AQKl1TyJ8lz89NHQoUHFsF/hu10+qhJe
|
||||
V65d32MXFehIUSvegh8DrPuExrliSiORO4HOhuc6151dWA4YBWVg4rX5kfKrGMMT
|
||||
pTWnSSZtgoRhkKW2Ey8cmZUqPuUJIfWyeNVu1e4SFtAivLvu/Ymz2WBJcNA1ZlTr
|
||||
RCOR5SIRgZ453pQnI/Bzna2nnJ/TV1gGJIGRahj/ini0cs2x1CILfS/YJQ3rWGGo
|
||||
OxwG0BVmPk0cmLVtyTq8gUPwxcPUd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|
||||
eXFPogYkF2j3VWg8s9UmAs4sg/4a+9KLSantXjX+JFsRv0lQe5Gr/Vl8VQ4LKEXB
|
||||
fiGmSivjIZ7eopdd3YP2w6G5T3SA4d2CQfsg4rnJPnXIjzKNiSOi368ybnt9fL0Y
|
||||
2r2aqLTmP6Y7issDUO+J1TW1XHm349JPR0Hl4cTuNnWm4JuX2m2CJEc5XBlDAha9
|
||||
pUVs+J5C2D0UFFkyeOzeJPwy6x5ApWHm84n8AjhQSpu1qRKxKXdwei6tkQWWMHui
|
||||
+TgSY/zCkmD9/oY15Ei5avJ4WgIbTLJUoZMi70riPmU8ThjpzA7S+Nk0g7rMPq+X
|
||||
l1whjKU/u0udlsrIJjzkh6ftqKUmIkbxYTpjhnEujNrEr5m2S6Z6x3y9E5QagBMR
|
||||
dxRhfk+HbyACcP/p9rXOzl4M291DoKeAAH70GHniGxyNs9rAoMr/hD5XW/Wrz3dc
|
||||
KMc2s555E6MZILE2ZiolcRn+bYOMPZtWlbx98t8uqMf49gY4FGQBZAwPglMrx7mr
|
||||
m7HTIiXahThQGOJg6izJDAD5RwSEGlAcL28T8KAuM6CLLkhlBfQwiKsUBNnh9r8w
|
||||
V3lB+pV0GhL+3i077gTYfZBRwLzjFdhm9xUKEaZ6rN1BX9lzix4eSNK5nln0jUq1
|
||||
67H2IH//2sf8dw==
|
||||
=ADVe
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
17
lit.fedora.cfg.py
Normal file
17
lit.fedora.cfg.py
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
config.llvm_tools_dir = '/usr/bin'
|
||||
config.llvm_shlib_dir = '%(llvm_shlib_dir)s' % lit_config.params
|
||||
|
||||
if hasattr(config, 'host_triple'):
|
||||
# This means we are running lit regression tests
|
||||
|
||||
# Regression tests write output to this directory, so we need to be able to specify
|
||||
# a temp directory when invoking lit. e.g. lit -Dllvm_obj_root=/tmp/lit
|
||||
config.llvm_obj_root = "%(llvm_obj_root)s" % lit_config.params
|
||||
lit_config.load_config(config, '%(llvm_test_root)s/lit.cfg.py' % lit_config.params)
|
||||
else:
|
||||
# This means we are running lit unit tests
|
||||
|
||||
# For unit tests, llvm_obj_root is used to find the unit test binaries.
|
||||
config.llvm_obj_root = '%(llvm_unittest_bindir)s' % lit_config.params
|
||||
lit_config.load_config(config, '%(llvm_test_root)s/Unit/lit.cfg.py' % lit_config.params)
|
9
llvm-Config-config.h
Normal file
9
llvm-Config-config.h
Normal file
@ -0,0 +1,9 @@
|
||||
#include <bits/wordsize.h>
|
||||
|
||||
#if __WORDSIZE == 32
|
||||
#include "config-32.h"
|
||||
#elif __WORDSIZE == 64
|
||||
#include "config-64.h"
|
||||
#else
|
||||
#error "Unknown word size"
|
||||
#endif
|
9
llvm-Config-llvm-config.h
Normal file
9
llvm-Config-llvm-config.h
Normal file
@ -0,0 +1,9 @@
|
||||
#include <bits/wordsize.h>
|
||||
|
||||
#if __WORDSIZE == 32
|
||||
#include "llvm-config-32.h"
|
||||
#elif __WORDSIZE == 64
|
||||
#include "llvm-config-64.h"
|
||||
#else
|
||||
#error "Unknown word size"
|
||||
#endif
|
59
run-lit-tests
Executable file
59
run-lit-tests
Executable file
@ -0,0 +1,59 @@
|
||||
#!/bin/bash
|
||||
|
||||
usage() {
|
||||
echo "usage: `basename $0` [OPTIONS]"
|
||||
echo " --threads NUM The number of threads to use for running tests."
|
||||
echo " --multilib-arch ARCH Use this option to test 32-bit libs/binaries on"
|
||||
echo " 64-bit hosts."
|
||||
}
|
||||
|
||||
threads_arg=''
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
case $1 in
|
||||
--threads)
|
||||
shift
|
||||
threads_arg="--threads $1"
|
||||
;;
|
||||
--multilib-arch)
|
||||
shift
|
||||
ARCH=$1
|
||||
;;
|
||||
* )
|
||||
echo "unknown option: $1"
|
||||
echo ""
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
set -xe
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
ARCH=`rpm --eval '%_arch'`
|
||||
fi
|
||||
|
||||
case $ARCH in
|
||||
arm)
|
||||
;&
|
||||
i686)
|
||||
LIB_DIR="/usr/lib/"
|
||||
;;
|
||||
*)
|
||||
LIB_DIR="/usr/lib64/"
|
||||
;;
|
||||
esac
|
||||
|
||||
cd $(mktemp -d)
|
||||
ln -s /usr/include include
|
||||
ln -s /usr/share/llvm/src/docs docs
|
||||
tar -xzf /usr/share/llvm/src/test.tar.gz
|
||||
ln -s /usr/share/llvm/src/$ARCH.site.cfg.py test/lit.site.cfg.py
|
||||
ln -s /usr/share/llvm/src/$ARCH.Unit.site.cfg.py test/Unit/lit.site.cfg.py
|
||||
lit -v -s $threads_arg test \
|
||||
-Dllvm_obj_root=`pwd` \
|
||||
-Dllvm_test_root=`pwd`/test \
|
||||
-Dllvm_unittest_bindir=$LIB_DIR/llvm \
|
||||
-Dllvm_shlib_dir=$LIB_DIR
|
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
||||
SHA512 (llvm-11.0.0.src.tar.xz) = b3e92091ac48772edc0c30801218ce646ef374e1968baab91df9005f58e11c3ce149b2c4c655c7001f8554fd337caa02c08783bc736153bf58f35fe008e624a4
|
||||
SHA512 (llvm-11.0.0.src.tar.xz.sig) = 4f585e5a4f75ec7ba55eeae49a715569ba93bcd9c68ef25ba28cb2627a08b96ca7dcc9935ba1dda6b92822c42de41dc59a0699dda6f62c2899f662f59a8d1175
|
1
tests/.fmf/version
Normal file
1
tests/.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
16
tests/build-compat/runtest.sh
Executable file
16
tests/build-compat/runtest.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
dnf download --disablerepo=* --enablerepo=test-llvm --source llvm
|
||||
|
||||
# The src.rpm is available in the directory the test run from.
|
||||
set +e
|
||||
mock --resultdir=. --old-chroot --with compat_build --rebuild *.src.rpm
|
||||
if [ $? -ne 0 ]; then
|
||||
cat root.log
|
||||
cat build.log
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
5
tests/provision.fmf
Normal file
5
tests/provision.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
|
||||
standard-inventory-qcow2:
|
||||
qemu:
|
||||
m: 4G
|
16
tests/regression-tests/runtest.sh
Executable file
16
tests/regression-tests/runtest.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
cmd='/usr/libexec/tests/llvm/run-lit-tests --threads 1'
|
||||
if [ `id -u` -eq 0 ]; then
|
||||
# lit tests can't be run as root, so we need to run as a different user
|
||||
user='llvm-regression-tests'
|
||||
if ! id -u $user; then
|
||||
useradd $user
|
||||
fi
|
||||
su $user -c "$cmd"
|
||||
cmd="su $user -c $cmd"
|
||||
else
|
||||
exec $cmd
|
||||
fi
|
34
tests/tests.yml
Normal file
34
tests/tests.yml
Normal file
@ -0,0 +1,34 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- llvm-test
|
||||
- rust
|
||||
- cargo
|
||||
- clang
|
||||
- binutils
|
||||
repositories:
|
||||
- repo: "https://src.fedoraproject.org/tests/llvm.git"
|
||||
dest: "llvm"
|
||||
tests:
|
||||
- regression-tests
|
||||
- rust-sanity:
|
||||
dir: ./
|
||||
run: cargo new hello && cd hello && cargo run
|
||||
# There is a bug in the build process when it runs out of disk space
|
||||
# while stripping binaries, which causes the strip to fail, but does
|
||||
# not fail the build. This results in a libLLVM.so that is over 2GB
|
||||
# which breaks the nightly compose. So this test checks that libLLVM.so
|
||||
# is less than 100MB to ensure it was successfully stripped.
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1793250
|
||||
- libllvm-size:
|
||||
dir: ./
|
||||
run: test `stat -L -c %s /usr/lib64/libLLVM.so` -lt 100000000
|
||||
# This test ensures that the spec file still builds correctly with
|
||||
# %global compat_build 1
|
||||
# FIXME: This fails, because the CI system has a hard-coded timeout of 4
|
||||
# hours.
|
||||
#- build-compat
|
||||
- llvm/binutils-plugin-ar
|
Loading…
Reference in New Issue
Block a user