Commit Graph

21 Commits

Author SHA1 Message Date
Itai Ferber
da67285555 dev-lang/swift: add 6.2
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-09-17 19:10:47 -04:00
Itai Ferber
7833ec9d17 dev-lang/swift: add 6.1.3, drop 6.1, 6.1.1, 6.1.2, 6.1.2-r1
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-09-17 19:10:47 -04:00
Pavel Sobolev
23ea96bd50 dev-lang/swift: fix issues caused by build system updates
Closes: https://bugs.gentoo.org/945025

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
2025-09-05 23:03:21 +03:00
Itai Ferber
6bfcf19e28 dev-lang/swift: add symlinks to stable SLOT dir
Along with `/usr/$(get_libdir)/swift-${PV}`, symlink to a stable
directory in `/usr/$(get_libdir)` that matches the package SLOT so
revdeps can rely on a stable directory that doesn't change on patch
version.

Closes: https://bugs.gentoo.org/957730
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-06-21 20:29:32 -04:00
Itai Ferber
dfda47c295 dev-lang/swift: add 6.1.2
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-05-29 10:19:32 -04:00
Itai Ferber
f065207ce9 dev-lang/swift: add 6.1.1
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-05-24 15:20:57 -04:00
Itai Ferber
becab7e238 dev-lang/swift: fix broken 5.10.1 patch symlink
2849e1a7d removed swift-6.0.1, -6.0.1-r1, and -6.0.2, but
swift-5.10.1-r2/backtracing-noexecstack.patch was symlinked to
swift-6.0.1's version. The effective file has been moved down to
swift-5.10.1-r2 and the swift-6.x line now symlinks to this base file;
the contents have not changed.

Closes: https://bugs.gentoo.org/954338
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-04-27 13:25:34 -04:00
Itai Ferber
f0fee0b997 dev-lang/swift: add 6.1
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-04-01 09:58:53 -04:00
Itai Ferber
2849e1a7d3 dev-lang/swift: drop 6.0.1, 6.0.1-r1, 6.0.2
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-04-01 09:58:49 -04:00
Itai Ferber
6c6dc8ce59 dev-lang/swift: add swift-5.10.1-r4, swift-6.0.3-r1
Swift is now set up to properly respect CFLAGS, CXXFLAGS, and LDFLAGS
from the environment by not overriding those values in the build system.
Swift 6 now also picks up on `SWIFT_EXTRA_BUILD_FLAGS` from the
environment and passes those to its build system as well.

Closes: https://bugs.gentoo.org/939764
Closes: https://bugs.gentoo.org/939766
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-03-26 15:46:02 -04:00
Itai Ferber
c814bc34f9 dev-lang/swift: fix swift-5.10.1 linker error on compiling IndexStore
Closes: https://bugs.gentoo.org/950708
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-03-07 15:32:21 -05:00
Marco Rebhan
fbbd4a1e11 dev-lang/swift: Add option to compile with libcxx
This is useful on llvm profile systems, where the default C++ compiler
is clang with libcxx.

Signed-off-by: Marco Rebhan <me@dblsaiko.net>
2025-02-11 00:46:30 +01:00
Itai Ferber
713f3eb13f dev-lang/swift: add 5.10.1-r3
Backports Swift #75662 to enable building with `dev-cpp/tbb`

Bug: https://bugs.gentoo.org/947141
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-01-15 14:53:29 -05:00
Itai Ferber
96ec2c7ea4 dev-lang/swift: add 6.0.3
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-12-13 11:25:16 -05:00
Itai Ferber
8834ec6026 dev-lang/swift: add 6.0.2
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-10-31 11:11:56 -04:00
Itai Ferber
59307e2fb0 dev-lang/swift: add 6.0.1-r1
* Enables backtracing on Swift program abort
* Disables unconditional `-Werror` in swift-corelibs-libdispatch
* Adds correct dependency on Swift 5.10.1 via dev-lang/swift-bootstrap

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-10-31 11:11:56 -04:00
Itai Ferber
bcc4ae9994 dev-lang/swift: add 5.10.1-r2
* Enables backtracing on Swift program abort
* Disables unconditional `-Werror` in swift-corelibs-libdispatch

Closes: https://bugs.gentoo.org/941508
Closes: https://bugs.gentoo.org/941509
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-10-31 11:11:56 -04:00
Itai Ferber
5effb421f4 dev-lang/swift: move patches into versioned subdirs
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-10-31 11:11:56 -04:00
Itai Ferber
282216f801 dev-lang/swift: add 6.0.1
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-10-12 21:31:25 -04:00
Itai Ferber
c9dfaf59e3 dev-lang/swift: set LLDB to respect PYTHON_SINGLE_TARGET
Closes: https://bugs.gentoo.org/939685
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-09-15 19:50:13 -04:00
Itai Ferber
5efd1ce254 dev-lang/swift: switch to source-based builds
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-08-09 11:13:10 -04:00