Commit graph

97 commits

Author SHA1 Message Date
Konrad Kleine
626da9456a 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-07-11 18:47:43 +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
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
Nikita Popov
340b9e8ea3 Sync with rawhide 2023-05-26 11:41:49 +02:00
Nikita Popov
a20957b5eb Update to LLVM 15.0.7 2023-01-12 10:31:52 +01:00
Nikita Popov
2fa672b23f Update to LLVM 15.0.6 2022-12-05 08:56:31 +01:00
Nikita Popov
3c595192e2 Update to LLVM 15.0.4 2022-11-03 12:56:08 +01:00
Nikita Popov
81e2995efc Update to LLVM 15.0.0 2022-09-06 10:01:30 +02:00
Timm Bäder
af1b169c7b 14.0.5 release 2022-06-13 16:13:21 +02:00
Tom Stellard
4e05585009 14.0.3 Release 2022-05-19 15:21:52 +00:00
sergesanspaille
a6af40e6f6 Upload new sources 2022-03-29 10:04:53 +02:00
Nikita Popov
35d886f8dc Update to LLVM 13.0.1 final 2022-02-02 16:35:08 +01:00
Nikita Popov
3c9de0ccf8 Update to LLVM 13.0.1rc3 2022-01-25 14:56:25 +01:00
Nikita Popov
cfd5d23c9d Update to LLVM 13.0.1rc2 2022-01-13 04:08:32 -05:00
Nikita Popov
236248c006 Upstream 13.0.1 rc1 release 2022-01-10 08:23:04 -05:00
Tom Stellard
d7b923e36b 13.0.0 Release 2021-10-01 03:28:44 +00:00
Tom Stellard
2b9d762f80 13.0.0-rc4 Release 2021-09-30 03:52:09 +00:00
Tom Stellard
efdfe5532f 13.0.0-rc3 Release 2021-09-17 20:06:08 +00:00
serge-sans-paille
bbcd893d83 13.0.0-rc1 Release 2021-08-06 06:51:44 +00:00
Tom Stellard
ed9052f67d Add missing sources 2021-07-13 17:49:35 +00:00
Tom Stellard
086ce6b60e 12.0.1-rc3 Release 2021-06-30 12:49:06 +00:00
Tom Stellard
084eb9adc4 12.0.1-rc1 Release 2021-05-27 13:31:14 +00:00
Tom Stellard
f096dec97c 12.0.0 Release 2021-04-16 04:58:30 +00:00
serge-sans-paille
649f50d8ed New upstream release candidate 2021-04-08 14:19:56 +02:00
serge-sans-paille
15b5503827 Add Missing sources 2021-04-02 14:12:59 +02:00
serge-sans-paille
23ea0783cb LLVM 12.0.0 rc3 2021-03-11 14:54:27 +01:00
serge-sans-paille
5476c44af0 12.0.0-rc2 release 2021-02-24 09:16:46 +01:00
serge-sans-paille
d31813f419 12.0.0-rc1 release 2021-02-03 07:33:44 +01:00
serge-sans-paille
f768ecb72d 11.1.0-rc2 release 2021-01-22 18:23:01 +01:00
serge-sans-paille
4799046978 11.1.0-rc1 release 2021-01-18 17:06:17 +01:00
serge-sans-paille
11cea8ec0d LLVM 11.0.1 final 2021-01-06 10:54:54 +01:00
serge-sans-paille
c32dd93367 11.0.1-rc2 release 2020-12-21 09:57:36 +01:00
serge-sans-paille
86790c25da Add missing sources 2020-12-01 13:56:07 +00:00
serge-sans-paille
f5cf570384 llvm 11.0.0 - final release 2020-10-12 11:30:04 +00:00
serge-sans-paille
9e83c56016 11.0.0-rc6 2020-10-08 09:12:06 +00:00
serge-sans-paille
4720785554 11.0.0-rc5 Release 2020-10-02 07:14:52 +00:00
serge-sans-paille
493675c744 11.0.0-rc3 Release 2020-09-24 14:22:13 +00:00
Tom Stellard
9095ad677f 11.0.0-rc2 Release 2020-08-24 11:10:01 -04:00
Tom Stellard
992907b031 LLVM 11.0.0-rc1 Release
Also make llvm-devel require llvm-static and llvm-test.
2020-08-07 23:50:07 -04:00
serge-sans-paille
78e975e88f 10.0.0 final 2020-03-25 21:45:43 +00:00
serge-sans-paille
901bdb19f1 10.0.0 rc6 2020-03-24 07:20:09 +00:00
serge-sans-paille
b9d5a005d6 10.0.0 rc5 2020-03-19 19:02:46 +00:00
serge-sans-paille
004b709e96 10.0.0 rc4 2020-03-14 08:06:07 +00:00
serge-sans-paille
0cf0e0fcc8 10.0.0 rc3 2020-03-05 11:19:15 +00:00
serge-sans-paille
d323e42667 10.0.0 rc1 2020-02-14 09:01:38 +00:00
serge-sans-paille
7790ff0825 10.0.0 rc1 2020-02-06 05:45:54 +00:00
Tom Stellard
d9ea1b48ed 9.0.1 Release 2019-12-20 02:34:08 +00:00
Tom Stellard
6a704c4759 9.0.0 Release 2019-09-20 14:23:01 +00:00
Tom Stellard
547b9347c2 Add missing sources 2019-08-31 01:18:31 +00:00
Tom Stellard
5dee6b644a 9.0.0-rc2 Release 2019-08-22 03:32:45 +00:00