Page MenuHomeFreeBSD

base/*: Remove the base ports to install an external toolchain in /usr.
ClosedPublic

Authored by jhb on Feb 13 2023, 7:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 10:23 AM
Unknown Object (File)
Tue, Dec 3, 9:39 AM
Unknown Object (File)
Fri, Nov 29, 5:33 AM
Unknown Object (File)
Oct 22 2024, 4:53 AM
Unknown Object (File)
Oct 9 2024, 12:46 PM
Unknown Object (File)
Oct 2 2024, 10:26 PM
Unknown Object (File)
Sep 29 2024, 9:00 PM
Unknown Object (File)
Sep 25 2024, 6:42 AM
Subscribers

Details

Summary

This was originally motivated for providing a native toolchain for
platforms not supported by the in-tree LLVM toolchain. Now, however,
all of our current platforms are well supported by the in-tree LLVM
toolchain. In addition, these ports required additional maintenance
beyond the existing devel/binutils and devel/freebsd-gccX ports. A
more sustainable path if we need this in the future is probably to
have simple wrappers for /usr/bin/cc and other binaries in /usr that
redirect to binaries provided by the existing devel/ ports.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 49744
Build 46634: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Feb 13 2023, 7:39 PM

I know there is also some stuff in ports/Mk for things like CROSS_TOOLCHAIN, etc. That is potentially useful for other cross-building setups though, but I'm not sure if there any other base/ specific bits in other parts of the tree? (Also, if we do want to remove CROSS_TOOLCHAIN and friends from Mk/, I'd rather @bapt or someone else more experienced in Mk/ handle that.)

In D38561#877328, @jhb wrote:

I know there is also some stuff in ports/Mk for things like CROSS_TOOLCHAIN, etc. That is potentially useful for other cross-building setups though, but I'm not sure if there any other base/ specific bits in other parts of the tree? (Also, if we do want to remove CROSS_TOOLCHAIN and friends from Mk/, I'd rather @bapt or someone else more experienced in Mk/ handle that.)

I'd like to preserve some cross building support so we have a way to cross bootstrap llvm packages. D29236 was a stab at making CROSS_TOOCHAIN work for cmake (and seems to have been sufficient for LLVM with a a couple years ago with a CMAKE_TOOLCHAIN_FILE).

This revision is now accepted and ready to land.Feb 13 2023, 9:12 PM