Low Level Virtual Machine

Edit Package llvm10

LLVM is a compiler infrastructure designed for compile-time, link-time, runtime, and idle-time optimization of programs from arbitrary programming languages.

The compiler infrastructure includes mirror sets of programming tools as well as libraries with equivalent functionality.

Refresh
Refresh
Source Files
Filename Size Changed
Fix-missing-include.patch 0000000690 690 Bytes
_constraints 0000001441 1.41 KB
assume-opensuse.patch 0000001248 1.22 KB
baselibs.conf 0000000393 393 Bytes
clang-10.0.1.src.tar.xz 0014046188 13.4 MB
clang-docs-10.0.1.src.tar.xz 0001140428 1.09 MB
clang-ignore-stack-clash-protector.patch 0000000846 846 Bytes
clang-resourcedirs.patch 0000000574 574 Bytes
clang-tools-extra-10.0.1.src.tar.xz 0002599404 2.48 MB
compiler-rt-10.0.1.src.tar.xz 0002085712 1.99 MB
compiler-rt-D88922-nostdlib.patch 0000006187 6.04 KB
compiler-rt-Remove-cyclades-inclusion-in-sanitizer.patch 0000005077 4.96 KB
default-to-i586.patch 0000000470 470 Bytes
fix-atomics-test.patch 0000004121 4.02 KB
libcxx-10.0.1.src.tar.xz 0001839172 1.75 MB
libcxxabi-10.0.1.src.tar.xz 0000552940 540 KB
lld-10.0.1.src.tar.xz 0001134580 1.08 MB
lld-default-sha1.patch 0000000454 454 Bytes
lldb-10.0.1.src.tar.xz 0009632124 9.19 MB
lldb-cmake.patch 0000000936 936 Bytes
lldb-swig-4.1.0-build-fix.patch 0000002719 2.66 KB
llvm-10.0.1.src.tar.xz 0035270168 33.6 MB
llvm-better-detect-64bit-atomics-support.patch 0000000768 768 Bytes
llvm-do-not-install-static-libraries.patch 0000005513 5.38 KB
llvm-docs-10.0.1.src.tar.xz 0003601416 3.43 MB
llvm-fix-a-copy-and-paste-error-that-would-cause-a-crash.patch 0000001101 1.08 KB
llvm-fix-find-gcc5-install.patch 0000000613 613 Bytes
llvm-gcc13-issue55711.patch 0000001140 1.11 KB
llvm-glibc-2-36.patch 0000002684 2.62 KB
llvm-normally-versioned-libllvm.patch 0000002793 2.73 KB
llvm-remove-clang-only-flags.patch 0000001144 1.12 KB
llvm10-rpmlintrc 0000000398 398 Bytes
llvm10.changes 0000088227 86.2 KB
llvm10.spec 0000075508 73.7 KB
llvm_build_tablegen_component_as_shared_library.patch 0000002802 2.74 KB
lto-disable-cache.patch 0000001485 1.45 KB
openmp-10.0.1.src.tar.xz 0000955492 933 KB
opt-viewer-Find-style-css-in-usr-share.patch 0000000861 861 Bytes
polly-10.0.1.src.tar.xz 0008894312 8.48 MB
polly-pthread.patch 0000000513 513 Bytes
restore-llvm10-abi.patch 0000001156 1.13 KB
tests-use-python3.patch 0000001007 1007 Bytes
Latest Revision
Aaron Puchert's avatar Aaron Puchert (aaronpuchert) committed (revision 45)
- Use old conflicts/provides for python3-clang on Leap.
Comments 3

Fabio Pesari's avatar

Can this line:

rm -rf %{buildroot}%{_includedir}/lld

be removed and can a package for liblld-devel be created? It's needed to build some packages (the Zig compiler is one of them).


Aaron Puchert's avatar

That alone won't cut it, you'll also need the libraries. I'm somewhat reluctant to do this, because upstream doesn't offer a liblld interface, there are just internal component libraries. They aren't really meant to be consumed outside of lld itself.

I've had a brief look at the Zig compiler, the only use of lld libraries that I can find is in src/zig_llvm.cpp:

        case ZigLLVM_COFF:
            return lld::coff::link(array_ref_args, false, diag_stdout, diag_stderr);

        case ZigLLVM_ELF:
            return lld::elf::link(array_ref_args, false, diag_stdout, diag_stderr);

        case ZigLLVM_MachO:
            return lld::mach_o::link(array_ref_args, false, diag_stdout, diag_stderr);

        case ZigLLVM_Wasm:
            return lld::wasm::link(array_ref_args, false, diag_stdout, diag_stderr);

That's essentially equivalent to invoking one of the lld binaries with array_ref_args as arguments. (COFF is lld-link, ELF is ld.lld, MachO is ld64.lld and Wasm is wasm-ld.)

I'll try contacting the author about this, maybe he can explain why he used the libraries.


Aaron Puchert's avatar

Please have a look at sr#799646.

openSUSE Build Service is sponsored by