mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 02:34:52 +00:00
Automatically enable snapshot_build conditional
Package llvm-snapshot-builder is provided in the snapshot Copr repository and defines llvm_sb. This can be used to automatically enable the snapshot_build conditional and avoid unintentional changes when merging rawhide <-> upstream-snapshot.
This commit is contained in:
parent
e602c81dd7
commit
11654dc9a7
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
|||
%bcond_with snapshot_build
|
||||
# Automatically enable snapshot_build if llvm_sb is defined.
|
||||
# This usually is defined via package llvm-snapshot-builder.
|
||||
%if %{defined llvm_sb}
|
||||
%bcond_without snapshot_build
|
||||
%else
|
||||
%bcond_with snapshot_build
|
||||
%endif
|
||||
|
||||
%if %{with snapshot_build}
|
||||
# Unlock LLVM Snapshot LUA functions
|
||||
|
|
Loading…
Reference in a new issue