Rick van Schijndel
9833d56c24
treewide: mark packages broken that never built on PLATFORM
...
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.
I manually audited the results and removed some results that were not valid.
Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.
Some observations:
- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
- gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Bernardo Meurer
fc6c79f771
Merge pull request #204378 from Madouura/pr/rocm-related
...
Fixes https://github.com/NixOS/nixpkgs/issues/203949
2022-12-12 15:55:21 -03:00
Madoura
75d7299df1
Revert "rocm-llvm: enable clang-tools-extra for clang-tidy"
...
This reverts commit c998cad49d
.
2022-12-10 16:53:12 -06:00
Madoura
9b98f8433a
rocm-related: create and use a generic updater script
2022-12-10 13:51:09 -06:00
Martin Weinelt
fe8eef1ae4
Merge remote-tracking branch 'origin/master' into staging-next
2022-12-04 22:06:42 +01:00
Sandro
cb170c2cfc
Merge pull request #193004 from ShamrockLee/clang-mainprogram
2022-12-04 20:01:46 +01:00
Madoura
33a5eb7be1
rocm-related: 5.3.3 → 5.4.0
...
clang-ocl: 5.3.3 → 5.4.0
hip: 5.3.3 → 5.4.0
hipsparse: 5.3.3 → 5.4.0
miopengemm: 5.3.3 → 5.4.0
hipcub: 5.3.3 → 5.4.0
rccl: 5.3.3 → 5.4.0
rocblas: 5.3.3 → 5.4.0
rocfft: 5.3.3 → 5.4.0
miopen: 5.3.3 → 5.4.0
rocm-comgr: 5.3.3 → 5.4.0
rocclr: 5.3.3 → 5.4.0
rocm-device-libs: 5.3.3 → 5.4.0
rocm-cmake: 5.3.3 → 5.4.0
rocm-runtime: 5.3.3 → 5.4.0
rocm-smi: 5.3.3 → 5.4.0
rocm-thunk: 5.3.3 → 5.4.0
rocm-opencl-runtime: 5.3.3 → 5.4.0
llvmPackages_rocm.llvm: 5.3.3 → 5.4.0
rocminfo: 5.3.3 → 5.4.0
rocmlir: 5.3.3 → 5.4.0
rocprim: 5.3.3 → 5.4.0
rocwmma: 5.3.3 → 5.4.0
rocrand: 5.3.3 → 5.4.0
rocsparse: 5.3.3 → 5.4.0
rocthrust: 5.3.3 → 5.4.0
tensile: 5.3.3 → 5.4.0
rocm-llvm: remove obsolete patch
hip: remove obsolete substituteInPlace
rocmlir: fixup build inputs and cmakeFlags
miopen: add nlohmann_json
2022-12-04 10:33:07 -06:00
github-actions[bot]
e6be0713d4
Merge master into staging-next
2022-11-29 00:02:37 +00:00
Vladimír Čunát
9ab35fe3ad
Merge #201268 : libcxx: link correct libcxxabi version
...
...into staging
2022-11-28 10:00:21 +01:00
Madoura
3ced8179cd
rocm-related: optional GITHUB_TOKEN for update script
...
hip: optional GITHUB_TOKEN for update script
rocm-llvm: optional GITHUB_TOKEN for update script
clang-ocl: optional GITHUB_TOKEN for update script
hipcub: optional GITHUB_TOKEN for update script
hipsparse: optional GITHUB_TOKEN for update script
miopen: optional GITHUB_TOKEN for update script
miopengemm: optional GITHUB_TOKEN for update script
rccl: optional GITHUB_TOKEN for update script
rocblas: optional GITHUB_TOKEN for update script
rocclr: optional GITHUB_TOKEN for update script
rocfft: optional GITHUB_TOKEN for update script
rocm-comgr: optional GITHUB_TOKEN for update script
rocm-device-libs: optional GITHUB_TOKEN for update script
rocm-opencl-runtime: optional GITHUB_TOKEN for update script
rocm-runtime: optional GITHUB_TOKEN for update script
rocm-thunk: optional GITHUB_TOKEN for update script
rocmlir: optional GITHUB_TOKEN for update script
rocprim: optional GITHUB_TOKEN for update script
rocrand: optional GITHUB_TOKEN for update script
rocsparse: optional GITHUB_TOKEN for update script
rocthrust: optional GITHUB_TOKEN for update script
rocwmma: optional GITHUB_TOKEN for update script
tensile: optional GITHUB_TOKEN for update script
rocm-cmake: optional GITHUB_TOKEN for update script
rocminfo: optional GITHUB_TOKEN for update script
rocm-smi: optional GITHUB_TOKEN for update script
2022-11-28 02:25:56 -06:00
github-actions[bot]
38af11b9ce
Merge staging-next into staging
2022-11-27 18:01:39 +00:00
Martin Weinelt
d9a4005ed0
Merge pull request #202476 from Madouura/pr/miopen
2022-11-27 15:07:11 +01:00
github-actions[bot]
e5a45ed6d9
Merge staging-next into staging
2022-11-25 18:02:16 +00:00
Madoura
6bb3a9baee
rocm-related: use finalAttrs
...
hip: use finalAttrs
rocm-llvm: use finalAttrs
clang-ocl: use finalAttrs
composable_kernel: use finalAttrs
hipcub: use finalAttrs
hipsparse: use finalAttrs
miopengemm: use finalAttrs
rccl: use finalAttrs
rocblas: use finalAttrs
rocclr: use finalAttrs
rocfft: use finalAttrs
rocm-comgr: use finalAttrs
rocm-device-libs: use finalAttrs
rocm-opencl-runtime: use finalAttrs
rocm-runtime: use finalAttrs
rocm-thunk: use finalAttrs
rocmlir: use finalAttrs
rocprim: use finalAttrs
rocsparse: use finalAttrs
rocthrust: use finalAttrs
rocm-cmake: use finalAttrs
rocminfo: use finalAttrs
rocm-smi: use finalAttrs
2022-11-24 01:23:03 -06:00
Madoura
0190a12af5
rocm-related: change maintainers to rocm team + old
...
rocclr: change maintainers to rocm team + old
rocm-comgr: change maintainers to rocm team + old
rocm-device-libs: change maintainers to rocm team + old
rocm-opencl-runtime: change maintainers to rocm team + old
rocm-runtime: change maintainers to rocm team + old
rocm-thunk: change maintainers to rocm team + old
rocminfo: change maintainers to rocm team + old
rocm-smi: change maintainers to rocm team + old
rocm-llvm: change maintainers to rocm team + old
hip: change maintainers to rocm team + old
2022-11-24 01:19:57 -06:00
Madoura
6eefaa031c
rocm-related: 5.3.1 → 5.3.3
...
rocm-smi: 5.3.1 → 5.3.3
rocm-cmake: 5.3.1 → 5.3.3
rocm-thunk: 5.3.1 → 5.3.3
rocm-runtime: 5.3.1 → 5.3.3
rocm-opencl-runtime: 5.3.1 → 5.3.3
rocm-device-libs: 5.3.1 → 5.3.3
rocm-comgr: 5.3.1 → 5.3.3
rocclr: 5.3.1 → 5.3.3
rocminfo: 5.3.1 → 5.3.3
llvmPackages_rocm.llvm: 5.3.1 → 5.3.3
hip: 5.3.1 → 5.3.3
hipcub: 2.12.0-5.3.1 → 2.12.0-5.3.3
rocsparse: 2.3.2-5.3.1 → 2.3.2-5.3.3
hipsparse: 2.3.1-5.3.1 → 2.3.1-5.3.3
rccl: 2.12.10-5.3.1 → 2.12.10-5.3.3
rocfft: 1.0.18-5.3.1 → 1.0.18-5.3.3
tensile: 4.34.0-5.3.1 → 4.34.0-5.3.3
rocblas: 2.45.0-5.3.1 → 2.45.0-5.3.3
miopengemm: 5.3.1 → 5.3.3
clang-ocl: 5.3.1 → 5.3.3
rocthrust: 2.16.0-5.3.1 → 2.16.0-5.3.3
rocprim: 2.11.0-5.3.1 → 2.11.1-5.3.3
rocmlir: 5.3.1 → 5.3.3
2022-11-24 01:19:47 -06:00
Madoura
c998cad49d
rocm-llvm: enable clang-tools-extra for clang-tidy
2022-11-23 01:48:41 -06:00
github-actions[bot]
e31b8a36d7
Merge staging-next into staging
2022-11-23 00:02:46 +00:00
Josh Channings
2252245f92
llvm: Find otool bin from targetPrefix
...
This is to fix the stdenvBootstrapTools issue where otool & others are
not available in PATH, but only under the targetPrefix.
2022-11-22 21:37:47 +00:00
Artturi
006c56abc4
Merge pull request #197674 from squalus/openmp-cross
...
openmp: fix cross compile
2022-11-22 23:29:54 +02:00
Josh Channings
252ea6511d
libcxxabi: Skip dylib fixups for version symlinks
...
Apart from being a no-op, this seems to cause the install to make a
copy, rather than keeping the symlinks intact.
2022-11-22 19:22:18 +00:00
Josh Channings
67f11a2185
libcxx: Link libc++.dylib to matching libc++abi.dylib
...
Same adjustment as made for libc++abi in #185766 , for the same reason:
the unamended dylib links to the libc++abi in the build stdenv, which
is the wrong version.
Tested on Darwin with LLVM 14 stdenv, but the phase is added to all
versions, including 11 - so this will cause a mass rebuild.
See: https://github.com/NixOS/nixpkgs/pull/185766
2022-11-22 19:22:18 +00:00
7c6f434c
5559f2b772
Merge pull request #199844 from vincentbernat/fix/git-clang-format
...
llvmpackages: patch shebangs for python subpackages
2022-11-15 21:41:58 +00:00
github-actions[bot]
90d0a0faec
Merge master into staging-next
2022-11-14 06:01:15 +00:00
John Ericson
cd27a5b436
Merge pull request #82131 from Ericson2314/bsd-cross
...
FreeBSD packages: Init at 13.1
2022-11-13 21:35:17 -05:00
Alyssa Ross
c3f3baddaa
Revert "llvmPackages_11: Add $rsrc/lib
to default cflags"
...
This reverts commit 2000ae5429
.
This was intended as a fix for i686 cross compilation, but it has had
other unforeseen consequences, such as breaking rust-bindgen.
2022-11-10 12:07:41 +00:00
github-actions[bot]
e51ba60580
Merge master into staging-next
2022-11-07 00:03:30 +00:00
Vincent Bernat
ad5aecbb6b
llvmpackages: patch shebangs for python subpackages
...
Notably, "git-clang-format" fails with:
/usr/bin/env: ‘python’: No such file or directory
2022-11-06 12:56:47 +01:00
Vladimír Čunát
b33eacb377
Merge #196909 : stdenvBootstrapTools: fix cycle on aarch64-darwin
...
...into staging
2022-11-05 16:08:27 +01:00
John Ericson
0afe9d1f70
freebsd packages: Init at 13.1
...
Always set `SRCTOP`, set it with abs path
llvmPackages: Bump minimum version for FreeBSD
llvmPackages_*, libgcc, compiler_rt: Hack in enough libs that one can compiler C
freebsd.compat: Rename some things to work around cc-wrapper change
0bea4a194f
/ #191724 in particular
2022-11-04 16:50:26 -04:00
Madoura
d93f2dbfe1
llvm-rocm: 5.3.0 -> 5.3.1
2022-11-04 08:19:31 -05:00
squalus
4b07aeae16
openmp: fix cross compile
2022-10-24 23:47:27 -07:00
7c6f434c
2c943d3c95
Merge pull request #196008 from peperunas/llvm-i686
...
llvmPackages_11: Fix cross-compilation for i686
2022-10-22 12:04:38 +00:00
7c6f434c
f673dc99af
Merge pull request #196023 from peperunas/llvmPackages_10-i686
...
llvmPackages_10.compiler-rt: Add support for i686
2022-10-22 12:04:02 +00:00
Stéphan Kochen
e0c70d5e0f
stdenvBootstrapTools: fix cycle on aarch64-darwin
2022-10-20 16:55:00 +02:00
Giulio De Pasquale
e89499406d
llvmPackages.compiler-rt: Backported X86 support
...
patch from LLVM11
2022-10-14 19:07:26 +02:00
Giulio De Pasquale
ab7241de71
llvmPackages_10.compiler-rt: Add i486, i586, i686
...
to X86 family. Link crtbeginS.o and crtendS.o Expose ix86 family builtins.
2022-10-14 19:03:06 +02:00
Giulio De Pasquale
2000ae5429
llvmPackages_11: Add $rsrc/lib
to default cflags
2022-10-14 18:46:22 +02:00
Giulio De Pasquale
e1b98ac282
llvmPackages_11.compiler-rt: Link crtbeginS.o and crtendS.o
2022-10-14 18:43:21 +02:00
Giulio De Pasquale
5989c9d76c
llvmPackages_11.compiler-rt: Add i486, i586, i686 to X86 family. Expose ix86 family builtins.
...
Co-Authored-By: John Ericson <git@JohnEricson.me>
2022-10-14 18:35:40 +02:00
github-actions[bot]
7df9a7a84c
Merge staging-next into staging
2022-10-13 18:07:50 +00:00
Bernardo Meurer
2196a95e68
Merge pull request #195403 from Flakebi/rocm
2022-10-13 14:56:18 -03:00
Artturi
e66d2fd89d
Merge pull request #194256 from Artturin/treewides2
2022-10-13 00:08:01 +03:00
github-actions[bot]
5d957f3dba
Merge staging-next into staging
2022-10-11 00:05:26 +00:00
Sebastian Neubauer
72aaaa782a
llvmPackages_rocm.llvm: 5.2.3 → 5.3.0
2022-10-10 21:35:27 +02:00
Artturin
7e49471316
treewide: optional -> optionals where the argument is a list
...
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Martin Weinelt
842a2c2399
llvmPackages_rocm.llvm: fix build with libxcrypt
2022-10-09 18:14:32 +02:00
Martin Weinelt
716a31527a
llvmPackages_10.compiler-rt: fix build with libxcrypt
2022-10-09 18:14:32 +02:00
Martin Weinelt
efd944cb72
llvmPackages_12.compiler-rt: fix build with libxcrypt
2022-10-09 18:14:30 +02:00
Martin Weinelt
f64f770801
llvmPackages_13.compiler-rt: fix build with libxcrypt
2022-10-09 18:13:28 +02:00