aboutsummaryrefslogtreecommitdiff
path: root/lang/swift510/files
Commit message (Collapse)AuthorAgeFilesLines
* lang/swift510: fix for building with ccache plus a couple more small changesJordan Gordeev2025-07-131-3/+16
| | | | | | | | | | | | | The attached patch includes the following changes: - Fix building with ccache - Improve readability of MAKE_JOBS_NUMBER code - Remove the workaround for libuuid After the dependency misc/e2fsprogs-libuuid was replaced with misc/libuuid the workaround became unnecessary - Bump PORTREVISION PR: 287968 Reported by: kib
* lang/swift510: fix build on low RAM, ccache supportMatthias Andree2025-06-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | The port did not pass down MAKE_JOBS_NUMBER to swift's build scripts, and Swiwt/LLVM are C++ ports and memory hungry. Also, due to lack of CCACHE support, the port cannot pick up where the OOM killer struck easily in, say poudriere. Pass down --jobs ${MAKE_JOBS_NUMBER} if MAKE_JOBS_NUMBER is defined and not empty. While here, also support CCACHE builds so we can actually restart in case the MAKE_JOBS_NUMBER is still too high relative to the build host's memory. This let me successfully build in one single attempt with MAKE_JOBS_NUMBER=5 in /etc/make.conf on a 16 GB computer that previously failed persistently because the port attempted to build with all I have, meaning 16 jobs. While here, support CCACHE build. Approved by: portmgr@ (blanket just-fix-it)
* lang/swift510: New portJordan Gordeev2025-06-2291-0/+3023
The Swift programming language -- a modern programming language with many great features. This port includes: * the Swift compiler * the Swift standard library * various tools * the Foundation framework * the Swift Package Manager (SwiftPM) * the run-time support that you need for running compiled programs PR: 286454 Reviewed-by: kib