nixpkgs/pkgs
Randy Eckenrode df7487ff17
cctools-llvm: init at 11.1.0-973.0.1
cctools-llvm is a replacement for cctools that replaces as much of cctools with equivalents from LLVM that it can reasonably do. This was motivated by wanting to reduce dependencies on cctools, which are updated infrequently by upstream.

To provide a motivating example, the version of `strip` included in cctools cannot properly strip the archives in compiler-rt in LLVM 15. Paths are left to bootstrap tools, resulting in failed requisites checks in the final stdenv build. Since `strip` needs replaced, the opportunity was taken to replace other provided they are functional replacements.

Note: This has to be done in cctools (or some equivalent) because some derivations (noteably LLVM) use the bintools of the stdenv directly instead of going through the wrapper.

The following tools from LLVM are not used in this derivation:

* LLD - not fully compatible with ld64 yet and potentially too big of a change;
* libtool - not a drop-in replacement yet because it does not support linker passthrough, which is needed by xcbuild;
* lipo - crashes when running the LLVM test suite;
* install_name_tool - fails when trying to build swift-corefoundation; and.
* randlib - not completely a drop-in replacement, so leaving it out for now.

If other incompatabilities are found, the tools can be reverted or made conditional. For example, cctools `strip` is preferred on older versions of LLVM (which lack the compiler-rt issue) or when cctools itself is a new enough version because `llvm-strip` on LLVM 11 produces files that older verions of `codesign_allocate` cannot process correctly.

One final caveat/note: Some tools are not duplicated or linked from cctools-port. The names of the tools and which ones were linked was determined based on what is provided upstream in Xcode and is installed on macOS system.
2023-06-06 19:05:22 -04:00
..
applications Merge pull request #235674 from r-ryantm/auto-update/calc 2023-06-02 21:06:10 -04:00
build-support fetchurl: remove mirror kent.dl.sourceforge.net 2023-06-01 15:30:14 -05:00
common-updater
data Merge pull request #235508 from NickCao/v2ray-data 2023-06-02 05:57:01 -06:00
desktops Merge pull request #235511 from bobby285271/upd/cinnamon-bpo 2023-06-02 21:25:34 +08:00
development Merge pull request #235605 from markuskowa/upd-geometric 2023-06-03 02:11:25 +02:00
games Merge pull request #235630 from r-ryantm/auto-update/slade 2023-06-02 23:40:24 +02:00
misc Merge pull request #234509 from lluchs/canon-cups-ufr2-5.70 2023-05-31 09:53:25 -04:00
os-specific cctools-llvm: init at 11.1.0-973.0.1 2023-06-06 19:05:22 -04:00
pkgs-lib
servers Merge pull request #234588 from maxeaubrey/plex_1.32.2.7100-248a2daf0 2023-06-03 02:09:01 +02:00
shells Merge pull request #234462 from hitsmaxft/add_antidote 2023-06-02 16:36:40 +02:00
stdenv cctools-llvm: init at 11.1.0-973.0.1 2023-06-06 19:05:22 -04:00
test
tools Merge pull request #235642 from techknowlogick/scw-215 2023-06-03 01:03:29 +02:00
top-level cctools-llvm: init at 11.1.0-973.0.1 2023-06-06 19:05:22 -04:00