Commit graph

1277 commits

Author SHA1 Message Date
github-actions[bot] eda8cc3756
Merge master into staging-next 2023-06-24 00:02:43 +00:00
Artturi d9a2741d79
Merge pull request #238597 from avnik/avnik/clang-fix-crosscompilation 2023-06-23 21:59:29 +03:00
Alexander V. Nikolaev cef1efea15
clang: fix crosscompilation for 16.x 2023-06-23 13:38:12 +03:00
Ryan Lahfa b81d4f064e
Merge pull request #235624 from willcohen/emscripten-wasm2c 2023-06-22 17:49:31 +02:00
github-actions[bot] 8b9041779d
Merge staging-next into staging 2023-06-20 18:01:51 +00:00
Artturi 289d9cf8a7
Merge pull request #230387 from Artturin/llvmsplit1 2023-06-20 16:43:41 +03:00
Sergei Trofimovich cc5c495706
Merge pull request #234957 from trofi/llvm-gcc-13-fix
llvm_{10..13}: backport gcc-13 fixes
2023-06-20 08:02:00 +01:00
Will Cohen 251c55700d llvmPackages_16: 16.0.1 -> 16.0.6 2023-06-18 19:35:45 -04:00
Randy Eckenrode 85a7771af6 llvmPackages_16.compiler-rt: fix missing builtins
Based on c96a05a293 but for LLVM 16.
2023-06-02 08:35:43 +00:00
Sergei Trofimovich 899eccf612 llvm_{10..13}: backport gcc-13 fixes
Without the change `llvm` build fails on `gcc-13` fails as:

    [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
    In file included from llvm/lib/Support/Signals.cpp:14:
    llvm/include/llvm/Support/Signals.h:119:8: error: variable or field 'CleanupOnSignal' declared void
      119 |   void CleanupOnSignal(uintptr_t Context);
          |        ^~~~~~~~~~~~~~~
2023-05-30 09:00:54 +01:00
Kira Bruneau f44f437676
Merge pull request #232279 from kira-bruneau/llvmPackages_rocm
llvmPackages_rocm.llvm: build on big-parallel
2023-05-16 16:43:23 -04:00
Kira Bruneau 0aee301acb llvmPackages_rocm.llvm: build on big-parallel
All other LLVM packages run on big-parallel, so we should be
consistent when building the ROCm fork.
2023-05-16 14:12:02 -04:00
github-actions[bot] b5b52a946a
Merge staging-next into staging 2023-05-09 18:02:32 +00:00
Artturin d53d5a8b38 llvmPackages.lldb: deduplicate >10 2023-05-09 19:59:45 +03:00
Adam Joseph 62794bf2bb wrapClangMulti: link include/c++ into gcc_multi_sysroot
The phoney gcc that we construct for multilib was missing the
`$out/include/c++` directory which `cc-wrapper` needs to pass as an
`-isystem` to `clang`.

Closes #221891
2023-05-09 00:16:24 -07:00
Adam Joseph c02c5f0860 wrapClangMulti: set gcc_multi_sysroot.langCC
The phoney gcc that we construct for multilib was missing the
`langCC` attribute, which `cc-wrapper` needs in order to decide
whether or not to add gcc's `libstdc++` headers as an `-isystem` for
`clang`.
2023-05-09 00:16:24 -07:00
Adam Joseph 0e9ef0a07d cc-wrapper: when merging gcc32 and gcc64, merge libgcc as well
Our gcc_multi and glibc_multi expressions merge together a
32-bit-targeted and 64-bit-targeted gcc.  However they do not thread
through the passthru.libgcc from these merged gccs.

This commit corrects that.

It also extends passthru.libgcc to allow a *list* rather than just a
single outpath.

Resolves part of #221891 (at least getting it back to the error
message it gave before).
2023-05-09 00:16:24 -07:00
github-actions[bot] 54295bf976
Merge staging-next into staging 2023-05-08 18:02:09 +00:00
fetsorn 91e7191660 llvm: fix typos
"verion" -> "version"
2023-05-08 21:05:07 +04:00
github-actions[bot] cfd87655c8
Merge staging-next into staging 2023-05-05 18:01:52 +00:00
github-actions[bot] c0860aa88a
Merge master into staging-next 2023-05-05 18:01:12 +00:00
Domen Kožar 6cf7bb9998
Merge pull request #225197 from stephank/feat/swift58
swift: 5.7.3 -> 5.8
2023-05-05 13:58:07 +01:00
github-actions[bot] 519b94e7dd
Merge staging-next into staging 2023-05-04 12:02:09 +00:00
github-actions[bot] bf19e21376
Merge master into staging-next 2023-05-04 12:01:18 +00:00
Weijia Wang dbea9194da
Merge pull request #229833 from wegank/llvm-darwin-hotfix
llvmPackages_16.llvm: fix postPatch on darwin
2023-05-04 13:03:42 +03:00
Weijia Wang fd155c2a94 llvmPackages_16.llvm: avoid calling roundevenf on darwin 2023-05-04 12:59:57 +03:00
Weijia Wang 3c7fba2b0f llvmPackages_16.llvm: fix postPatch on darwin 2023-05-04 12:59:53 +03:00
misuzu d4c2564bb6 llvmPackages_16.llvm: fix build on armv7l-linux 2023-05-04 08:55:00 +03:00
github-actions[bot] ffc1ef23bc
Merge staging-next into staging 2023-05-04 00:03:03 +00:00
github-actions[bot] 9546b65417
Merge master into staging-next 2023-05-04 00:02:30 +00:00
Michael Weiss b8960cd250
Merge pull request #223282 from RaitoBezarius/llvmPackages_16
llvmPackages_16: init
2023-05-03 23:56:51 +02:00
Alyssa Ross ad10899abf llvm_5: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Alyssa Ross 12d4b4ad2f llvm_6: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Alyssa Ross f6b5061108 llvm_7: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Alyssa Ross d93bd8e23d llvm_8: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Alyssa Ross 768007c210 llvm_9: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Alyssa Ross fe65411847 llvm_10: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Alyssa Ross 2a859f5366 llvm_11: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Alyssa Ross 45093ead78 llvm_12: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Alyssa Ross 0bcf8ae82b llvm_13: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Alyssa Ross 7a9443a4fe llvm_14: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Alyssa Ross 776ba7a410 llvm_15: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Alyssa Ross 83d1459330 llvmPackages_git.llvm: backport patch for musl 1.2.4 2023-05-03 09:37:13 +00:00
Stéphan Kochen c96a05a293 llvmPackages_15.compiler-rt: fix missing builtins
Darwin-specific builtins were present on x86-64-darwin, but not on
aarch64-darwin. This is the same issue as #186575, but while the fixes
were correctly applied to LLVM 15, we were still disabling the build of
builtins on aarch64-darwin. Likely just a confusion.
2023-04-30 15:03:19 +02:00
github-actions[bot] b4cc17e044
Merge staging-next into staging 2023-04-30 06:01:51 +00:00
github-actions[bot] a996545f31
Merge master into staging-next 2023-04-30 06:01:07 +00:00
Sandro 39da9b3c34
Merge pull request #225281 from networkException/deprecate-omahaproxy 2023-04-30 02:20:37 +02:00
Alyssa Ross 2839c94f1e pkgsLLVM.stdenv: use clangNoLibc when libc is null
clangNoLibc always uses LLVM bintools, so it still has the useLLVM
semantics.
2023-04-28 10:01:22 +00:00
Alyssa Ross 3e0cb1ab7d compiler-rt: use -ffreestanding when no libc
This fixes building for x86_64-windows with no libc (for UEFI).
Otherwise, it would try to include a malloc header.
2023-04-28 10:01:22 +00:00
networkException 7b9110eba4
llvm: use versionhistory.googleapis.com over omahaproxy.appspot.com
Version information previously available at omahaproxy.appspot.com will
have to be retrieved from versionhistory.googleapis.com in the future.

See https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ
See https://github.com/ungoogled-software/ungoogled-chromium/pull/2260
2023-04-21 21:36:35 +02:00