291 Commits

Author SHA1 Message Date
Itai Ferber
fdc4461cb8
dev-lang/swift: fix symlinking on install
On `pkg_postinst`, `has_version` wasn't returning the expected value in
order to symlink Swift on first install; instead, we can use `eselect
swift show` itself to be able to tell whether we're eligible to update
the symlinks.

Closes: https://bugs.gentoo.org/951175
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-03-26 15:46:02 -04:00
Itai Ferber
0cf9b38183
dev-lang/swift: respect MAKEOPTS -j
The Swift build system takes a '-j'/'--jobs' flag, but the value from
MAKEOPTS needs to be manually exposed to it for it to be respected.

Closes: https://bugs.gentoo.org/951202
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-03-26 15:46:02 -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
3b7851f360
dev-lang/swift: add compatibility for LLVM 19
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-03-07 15:32:21 -05: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
Anna (cybertailor) Vyalkova
bb0aae8ad3
*/*: disable py3.10
Python 3.10 target is scheduled for removal in Gentoo:
https://public-inbox.gentoo.org/gentoo-dev/e6ca9f1f4ababb79ab2a3d005c39b483c3ecef6e.camel@gentoo.org/

Sphinx 8.2.0 already dropped support for CPython 3.10 and PyPy 3.10,
leading to multiple CI failures in ::guru.

We can safely remove this target, because GURU is "experimental" and
does not have stable keywords.

Let's not remove "pypy3" right now because
a) There are not many packages using it.
b) So we can see which packages supported PyPy 3.10, and test them with
   PyPy 3.11.

Closes: https://github.com/gentoo/guru/pull/291
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-02-21 17:51:14 +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
Marco Rebhan
e725aa5030
dev-lang/swift: Always use libstdc++ when building Swift 5
Closes: https://bugs.gentoo.org/949266
Signed-off-by: Marco Rebhan <me@dblsaiko.net>
2025-02-11 00:46:30 +01:00
Marco Rebhan
a66c6fc7ab
dev-lang/swift: Use lld as default linker for Swift LLVM
Signed-off-by: Marco Rebhan <me@dblsaiko.net>
2025-02-11 00:46:30 +01:00
Takuya Wakazono
4c12a993fe
dev-lang/odin: quote LLVM_SLOT with single quotes
LLVM_SLOT inside llvm_gen_dep() must not be expanded beforehand.

Closes: https://bugs.gentoo.org/940461
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2025-02-04 21:25:26 +09:00
Anna (cybertailor) Vyalkova
6cdcf266ba
dev-lang/crystal-bin: add 1.15.0, drop 1.13.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-01-30 00:00:39 +05:00
Itai Ferber
b153399da0
dev-lang/swift: add explicit RDEP on app-arch/zstd
Resolves a QA warning on Tinderbox regarding a missing RDEPEND on
app-arch/zstd. Since target systems are guaranteed to already have this
already (Portage itself depends on it unconditionally), this addition is
inconsequential and not worth adding ebuild revisions for.

Closes: https://bugs.gentoo.org/948329
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-01-18 12:04:16 -05:00
Itai Ferber
1e8cb85c79
dev-lang/swift: remove dev-cpp/tbb as a strong blocker for Swift 6
Swift 6 builds with `dev-cpp/tbb` installed on systems with
>=libstdc++-11 (the minimum version currently supported by Gentoo) as
long as it's bootstrapped by swift-5.10.1-r3 or later (which has a patch
backported from Swift 6 which prevents `<execution>` from getting picked
up).

Bug: https://bugs.gentoo.org/947141
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-01-15 14:53:29 -05: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
5958bfb28a
dev-lang/swift: add dev-cpp/tbb as a strong blocker for Swift 6
See https://bugs.gentoo.org/947141

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-01-12 12:28:11 -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
Paul Zander
fc2ee10395
move {sys-devel,llvm-core}/llvm
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
2024-12-11 16:59:52 +01:00
Paul Zander
df59978603
move {sys-devel,llvm-core}/lld
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
2024-12-11 16:59:52 +01:00
Paul Zander
2948484bf1
move {sys-devel,llvm-core}/clang
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
2024-12-11 16:59:52 +01:00
Seth M. Price
98bab88639
dev-lang/cc65: replace make -j warning with flag
Per advice on Gentoo bug linked below.

Bug: https://bugs.gentoo.org/912925
Bug: https://github.com/cc65/cc65/issues/2543
Signed-off-by: Seth M. Price <sprice623@aol.com>
2024-11-29 12:41:51 -05:00
Seth M. Price
d6d8b28d7a
dev-lang/cc65: add warning about parallel make
Added warning about parallel make jobs potentially
causing “random” build failure.

Build revision not bumped due to trivial change.
(I think this is what I’m supposed to do here.)

Bug: https://bugs.gentoo.org/912925
Closes: https://github.com/cc65/cc65/issues/2543
Signed-off-by: Seth M. Price <sprice623@aol.com>
2024-11-21 17:24:15 -05:00
Takuya Wakazono
5b622670fa
dev-lang/fbc: drop 1.07.3, 1.08.1
Closes: https://bugs.gentoo.org/785355 (obsolete)
Closes: https://bugs.gentoo.org/816111 (obsolete)
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2024-11-11 18:06:05 +09:00
Takuya Wakazono
4668fdce58
dev-lang/fbc: add 1.10.1
Closes: https://bugs.gentoo.org/864256 (obsolete)
Closes: https://bugs.gentoo.org/901169
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2024-11-11 18:06:05 +09:00
Takuya Wakazono
ef11e83b25
dev-lang/fbc-bootstrap: drop 1.07.3, 1.08.1
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2024-11-11 18:06:05 +09:00
Takuya Wakazono
9737eb316e
dev-lang/fbc-bootstrap: add 1.10.1
Closes: https://bugs.gentoo.org/799860
Closes: https://bugs.gentoo.org/932355
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2024-11-11 18:06:05 +09:00
Seth M. Price
9d3e08ca85
*/*: include middle initial in maintainer credits
Signed-off-by: Seth M. Price <sprice623@aol.com>
2024-11-04 20:58:44 -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
c8784ba11a
dev-lang/swift-bootstrap: new package, add 1.0
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
2a36ac399b
dev-lang/swift: build without compiler assertions
Closes: https://bugs.gentoo.org/940500
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-10-12 21:31:25 -04:00
Itai Ferber
ca27db7e8b
dev-lang/swift: use llvm-r1 to set LLVM toolchain
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-10-12 21:31:25 -04:00
Itai Ferber
aaf9561924
dev-lang/swift: add support for app-eselect/eselect-swift
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-10-12 21:31:25 -04:00
Itai Ferber
730418e323
dev-lang/swift: add explicit SLOT
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-10-12 21:31:25 -04:00
Itai Ferber
95e178f331
dev-lang/swift: add swift-5.10.1-r1
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-10-12 21:31:24 -04:00
Itai Ferber
8844fcb7f0
dev-lang/swift: update SRC_URI
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-10-12 21:31:24 -04:00
Anna (cybertailor) Vyalkova
479b74bf4c
dev-lang/crystal-bin: add 1.14.0, drop 1.12.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2024-10-12 14:44:45 +05:00
Carter Wobbe
3855479828
dev-lang/odin: add 2024.09
Signed-off-by: Carter Wobbe <it.a.me.oss@gmail.com>
2024-09-26 18:09:58 -07: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
6ea7d4532a
dev-lang/swift: add missing dev-python/setuptools dependency
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-09-13 15:34:42 -04:00
Itai Ferber
c05b53a279
dev-lang/swift: set up Python to respect PYTHON_SINGLE_TARGET
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-09-13 15:33:30 -04:00
Lucio Sauer
c2f943033b
dev-lang/odin: add upstream metadata
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2024-08-25 21:00:50 +02:00
Carter Wobbe
31849d36de
dev-lang/odin: new package, add 2024.08
Signed-off-by: Carter Wobbe <it.a.me.oss@gmail.com>
2024-08-20 17:33:34 -07:00
Itai Ferber
81b6f5cdfd
dev-lang/swift: add libicu as a build-time dependency
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-08-10 16:15:00 -04:00
Itai Ferber
9075a897d0
dev-lang/swift: add lld build-time dependency
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-08-10 14:37:55 -04:00
Itai Ferber
4b80fdd7ea
dev-lang/swift: remove unnecessary libicu source dependency
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-08-10 13:51:42 -04:00
Itai Ferber
4ea75ccb16
dev-lang/swift: ebuild correctness fixes
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-08-10 11:57:24 -04:00
Itai Ferber
b7c90de761
dev-lang/swift: fix build-time dependencies
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2024-08-10 11:55:45 -04:00