Commit graph

1268 commits

Author SHA1 Message Date
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
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
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
github-actions[bot] 3fb2e4810a
Merge staging-next into staging 2023-04-20 00:02:45 +00:00
github-actions[bot] e3d1e50acd
Merge master into staging-next 2023-04-20 00:02:04 +00:00
Ryan Lahfa df7e6764f2
Merge pull request #222903 from rrbutani/fix/llvm-git-openmp-cross
llvmPackages_git.openmp: apply #197674 (fix cross compile)
2023-04-20 00:45:07 +02:00
Ryan Lahfa 01a6895df7
Merge pull request #222902 from rrbutani/fix/llvm-git-disable-libpfm
llvmPackages_git: apply #205355 (disable libpfm on non-Linux)
2023-04-20 00:44:32 +02:00
Ryan Lahfa 89e48962e3
Merge pull request #223255 from NixOS/llvmPackages_git.libcxx-tests
llvmPackages_git.libcxx: LLVM15 changes and libcxxrt on FreeBSD
2023-04-20 00:43:28 +02:00
Adam Joseph 2e77eb8190 clang_15: fix build!=(host==target) cross compilation
clang_15 appears to not cross compile in the build!=(host==target)
case due to two problems, which this commit fixes:

- It trips -Wmaybe-uninitialized on recent gcc, but only in the
  build!=host case (likely due to #ifdefs)

- Two more buildPlatform tools have been added:
  clang-tidy-confusable-chars-gen and clang-pseudo-gen

Co-authored-by: Rahul Butani <rrbutani@users.noreply.github.com>
2023-04-19 01:06:08 +00:00
github-actions[bot] a851087ffa
Merge staging-next into staging 2023-04-18 00:02:42 +00:00
Rahul Butani 98182aec04 llvmPackages_git: unstable-2022-26-07 → 15.0.7
bumping `llvmPackages_git` to match `llvmPackages_15`; this will let us
continuing bringing `llvmPackages_git` to parity with `llvmPackages_15`
without needing to invest time and effort into getting the current
llvmPackages_git's commit's test suite to pass under all the platforms,
etc.

this will also allow us to begin diffing derivations between
`llvmPackages_15` and `llvmPackages_git` as a way of tracking down
remaining differences between the package sets
2023-04-17 20:10:41 +00:00
Rahul Butani a77eef2bb9 llvmPackages_git: expose the release information and monorepo source as overridable args
backport of d231d18e4a from #194634
(llvmPackages_15)
2023-04-17 20:10:41 +00:00