mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
lang/ruby/3.4: disable yjit on aarch64
Like in 3.3 this doesn't work and leads to build failures on modern apple hardeware. ok jeremy
This commit is contained in:
@@ -5,6 +5,7 @@ PKGNAME-ri_docs = ruby${BINREV}-ri_docs-${VERSION}
|
||||
SHARED_LIBS = ruby34 0.0
|
||||
NEXTVER = 3.5
|
||||
PKGSPEC-main ?= ruby->=3.4.0,<${NEXTVER}
|
||||
REVISION-main = 0
|
||||
|
||||
PSEUDO_FLAVORS= no_ri_docs bootstrap
|
||||
# Do not build the RI docs on slow arches
|
||||
@@ -21,6 +22,11 @@ WANTLIB-main += c++abi
|
||||
MAKE_ENV += LIBRUBY_DLDFLAGS="-lc++abi"
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH:Maarch64}
|
||||
# Disable YJIT on arm64 until it is fixed
|
||||
CONFIGURE_ARGS += --disable-yjit
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH:Mriscv64}
|
||||
CONFIGURE_ARGS += --with-coroutine=riscv64
|
||||
.endif
|
||||
|
||||
Reference in New Issue
Block a user