No description
Find a file
Konrad Kleine 7f69c7ebdf Prepare non-snapshot builds
Remove version.spec.inc from git
================================

We no longer track `version.spec.inc` in git. This is useful for
development. If we build a snapshot, the file is required but if we
build a `release` build (see below), then we don't include it.

Make improvements
=================

We distinguish between `snapshot-` and `release-` builds now in the
`Makefile`. These old targets are mapped to their new counterparts and a
deprecation warning is shown:

* `setup` -> `snapshot-setup`
* `local-rpm` -> `snapshot-rpm`
* `local-srpm` -> `snapshot-srpm`
* `local-prep` -> `snapshot-prep`
* `local-clean` -> `snapshot-clean`

We also have these new Make targets that run the build process with a
release tarball instead:

* `release-setup`
* `release-rpm`
* `release-srpm`
* `release-prep`
* `release-clean`

The targets `local-list-check` and `local-tmt-vm` have been commented
out because I think they were not needed. I just kept them for future
reference of research done in those areas.

All builds described by the `Makefile` are still local and no `mock` is
involved. I find this the easiest to debug.

Toggle default bcond state for snapshot_build
=============================================

We want to be able to build non-snapshot releases with this repo. That's
why be default the build condition `snapshot_build` is off. So
only when you explicitly enable `--with=snapshot_build` or define
`--define "_with_snapshot_build 1"` you'll be able to build a snapshot.
If however the build happens in Copr with a namespace that begins with
`fedora-llvm-team/llvm-snapshots-`, then the build condition is ON by
default and there's no need to enable it explicitly with `--with=snapshot_build`.

Things related to release update
================================

* Add llvm-project tarball and signature to sources
* Fix: error: source 1001 defined multiple times
* Fix: error: source 1006 defined multiple times
* Fix missing newline
* Conditionally apply 0001-Always-build-shared-libs-for-LLD.patch
* Only enable offload runtime in snapshot mode

Misc.
=====

* Add missing prep dependency
2024-09-02 15:45:30 +02:00
.copr Prepare non-snapshot builds 2024-09-02 15:45:30 +02:00
.fmf Port tests to tmt 2021-09-15 08:01:11 +02:00
tests Format all files with 'pre-commit run -a' 2024-09-02 15:45:30 +02:00
.gitignore Prepare non-snapshot builds 2024-09-02 15:45:30 +02:00
.pre-commit-config.yaml Format all files with 'pre-commit run -a' 2024-09-02 15:45:30 +02:00
0001-Always-build-shared-libs-for-LLD.patch Rebase LLD patch 2024-09-02 15:45:30 +02:00
0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch merge llvm, clang, compiler-rt and libomp repos 2024-09-02 15:45:17 +02:00
0001-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch merge llvm, clang, compiler-rt and libomp repos 2024-09-02 15:45:17 +02:00
0001-Remove-myst_parser-dependency-for-RHEL.patch Fix ModuleNotFoundError: No module named 'myst_parser' 2024-09-02 15:45:30 +02:00
0001-Workaround-a-bug-in-ORC-on-ppc64le.patch merge llvm, clang, compiler-rt and libomp repos 2024-09-02 15:45:17 +02:00
0003-PATCH-clang-Don-t-install-static-libraries.patch merge llvm, clang, compiler-rt and libomp repos 2024-09-02 15:45:17 +02:00
build.spec.inc Prepare non-snapshot builds 2024-09-02 15:45:30 +02:00
changelog.spec.inc Prepare non-snapshot builds 2024-09-02 15:45:30 +02:00
check.spec.inc lldb: disable tests for lldb 2024-09-02 15:45:30 +02:00
DistributionFedora-stage2.cmake merge llvm, clang, compiler-rt and libomp repos 2024-09-02 15:45:17 +02:00
DistributionFedora.cmake merge llvm, clang, compiler-rt and libomp repos 2024-09-02 15:45:17 +02:00
files.spec.inc Only ship libclang* in clang-libs 2024-09-02 15:45:30 +02:00
gating.yaml gating: Add more required tests 2024-05-31 20:26:59 +00:00
globals.spec.inc Prepare non-snapshot builds 2024-09-02 15:45:30 +02:00
install.spec.inc Remove compact_unwind_encoding.h patch 2024-09-02 15:45:30 +02:00
llvm.rpmlintrc Format all files with 'pre-commit run -a' 2024-09-02 15:45:30 +02:00
llvm.spec lldb: fix ModuleNotFoundError: No module named 'pexpect' 2024-09-02 15:45:30 +02:00
macros.clang merge llvm, clang, compiler-rt and libomp repos 2024-09-02 15:45:17 +02:00
Makefile Prepare non-snapshot builds 2024-09-02 15:45:30 +02:00
packages.spec.inc Add subpackage llvm-toolset 2024-09-02 15:45:30 +02:00
patches.spec.inc Prepare non-snapshot builds 2024-09-02 15:45:30 +02:00
prep.spec.inc Prepare non-snapshot builds 2024-09-02 15:45:30 +02:00
release-keys.asc Update to LLVM 15.0.0 2022-09-06 10:01:30 +02:00
sources Update to LLVM 18.1.8 2024-07-11 12:57:01 +02:00
sources.spec.inc Prepare non-snapshot builds 2024-09-02 15:45:30 +02:00