Accepting request 1194784 from devel:tools:compiler
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1194784 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm16?expand=0&rev=13
This commit is contained in:
commit
8518b77d39
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 11 19:14:57 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Add %python3_fix_shebang_path to fix binaries dependency on
|
||||||
|
/usr/bin/python3 (bsc#1212476).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 3 20:18:07 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
Wed Apr 3 20:18:07 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
14
llvm16.spec
14
llvm16.spec
@ -1418,6 +1418,20 @@ python3 bin/llvm-lit -sv projects/libcxxabi/test/
|
|||||||
%endif
|
%endif
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# Fix shebang of Python scripts
|
||||||
|
%{python3_fix_shebang_path %{buildroot}%{python3_sitearch}/lldb/utils/*.py \
|
||||||
|
%{buildroot}%{python3_sitelib}/optrecord.py \
|
||||||
|
%{buildroot}%{_bindir}/opt-diff \
|
||||||
|
%{buildroot}%{_bindir}/opt-stats \
|
||||||
|
%{buildroot}%{_bindir}/opt-viewer \
|
||||||
|
%{buildroot}%{_libdir}/clang/%{_sonum}/bin/hwasan_symbolize \
|
||||||
|
%{buildroot}%{_datadir}/scan-view/*.py \
|
||||||
|
%{buildroot}%{_libexecdir}/*
|
||||||
|
%{buildroot}%{_bindir}/*
|
||||||
|
}
|
||||||
|
# control
|
||||||
|
grep -r "^#!.*python" %{buildroot}/ | grep -v "$(realpath %{_bindir}/python3)"
|
||||||
|
|
||||||
# Remove files that won't be needed anymore.
|
# Remove files that won't be needed anymore.
|
||||||
# This reduces the total amount of disk space used during build. (bnc#1074625)
|
# This reduces the total amount of disk space used during build. (bnc#1074625)
|
||||||
# This is meant to happen after build, install and check, but before
|
# This is meant to happen after build, install and check, but before
|
||||||
|
Loading…
Reference in New Issue
Block a user