Commit graph

9 commits

Author SHA1 Message Date
Konrad Kleine
c24f8fd213 Remove no longer used %llvm_snapshot_source_prefix macro 2024-05-16 12:28:49 +00:00
Konrad Kleine
b6fa18a60e Use github source code archive
Instead of generating our own archive we now use the github generated
source code archive instead [1]. We now only sync on the LLVM version
and git revision via our own github releases [2].

[1]: https://docs.github.com/en/repositories/working-with-files/using-files/downloading-source-code-archives#source-code-archive-urls
[2]: https://github.com/fedora-llvm-team/llvm-snapshots/releases/tag/snapshot-version-sync
2024-05-15 11:41:32 +00:00
Konrad Kleine
86afbcc16c Adjust download URL for tarballs to new project location 2024-05-06 10:48:11 +00:00
Konrad Kleine
eb12c13273 merge llvm, clang, compiler-rt and libomp repos
* %check: export LD_LIBRARY_PATH because runtimes use external cmake projects that wouldn't find libclang++.so
* %check: use LLVM's LIT_XFAIL to mark tests that are expected to fail and don't just delete them
* clang: bring over *.patch files
* clang: remove build requires tags from clang package that are already defined by main llvm package
* clang: remove duplicates found in llvm globals and use %{pkg_datadir} instead of %{install_datadir}
* clang: rename and use pkg_name -> pkg_name_clang
* clang: use %{pkg_name_clang} instead of %{name}
* compiler-rt and libomp: wrap in %if %{without compat_build}
* libomp: also build libomp for s390x (See https://github.com/llvm/llvm-project/pull/66081)
* libomp: exclude libomp-devel on s390x just like libomp itself
* libomp: introduce pkg_name_libomp and cleanup the globals
* libomp: remove gdb-plugin (NEED TO CONFIRM IF THIS IS REALLY TRUE)
* libomp: filter out flaky libomp test: ompt/teams/distribute_dispatch.c
* llvm: add BuildRequires: graphviz to llvm-doc
* llvm: use %{pkg_name_llvm} instead of %{name}
* make: added temporary Makefile so I can more easily run srpm or rpm builds locally
* make: Added local-tmt-vm target (not really useful yet)
* rpm: for non-RHEL add prefix like "Jan 05 16:17:06" to every log line This should help in finding out how long things take to build/install/...
* rpm: fully specify %files for top-level packages
* rpm: make all packages fully qualified
* rpm: obsolete llvm-snapshot-builder
* rpm: remove BuildRequires: python3-lit because we have it in-tree
* rpm: remove BuildRequires: tags for clang and llvm specifics as we're building in-tree
* rpm: rename %llvm_srcdir -> %srcdir_llvm
* rpm: rename %pkg_name -> %pkg_name_llvm
* rpm: use full qualified name in %description
* rpm: use region comments in spec file to group by package. This allows editors to fold text to get a better overview
* rpmlint: update rc file to reflect clang and compiler-rt (libomp has no rpmlint rc file)
* use python-lit from within tree
2024-05-02 14:53:58 +00:00
Tom Stellard
92be388fbd copr: Install llvm-snapshot-builder from the local COPR project
This ensures we always get the same source tarball when building into
this project.
2023-05-19 12:08:56 +00:00
Konrad Kleine
f1c4e870ad Revert "Try to lock llvm* and clang* packages so that we don't install LLVM from a previous copr build"
This reverts commit 072ee8575f.
2022-09-06 14:53:04 +02:00
Konrad Kleine
072ee8575f Try to lock llvm* and clang* packages so that we don't install LLVM from a previous copr build 2022-09-06 14:24:31 +02:00
Konrad Kleine
71e6437042 Fixup 2022-06-13 17:46:11 +02:00
Konrad Kleine
40b835b384 Make llvm use the llvm-snapshot-builder as well 2022-06-13 09:22:45 +02:00