Skip to content

Commit

Permalink
community/nodejs-current: disable on riscv64
Browse files Browse the repository at this point in the history
Although riscv64 should be supported it fails to build, disable for now.

../deps/v8/src/codegen/riscv64/macro-assembler-riscv64.h:222:8: error: 'void v8::internal::TurboAssembler::JumpCodeObject(v8::internal::Register)' marked 'override', but does not override
  222 |   void JumpCodeObject(Register code_object) override;

nodejs/node#37980
  • Loading branch information
clandmeter committed Jun 14, 2021
1 parent f1e9ac7 commit 3d42265
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion community/nodejs-current/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pkgver=16.3.0
pkgrel=0
pkgdesc="JavaScript runtime built on V8 engine - current stable version"
url="https://nodejs.org/"
arch="all !mips64 !mips64el"
arch="all !mips64 !mips64el !riscv64"
license="MIT"
depends="ca-certificates"
depends_dev="libuv"
Expand Down Expand Up @@ -90,6 +90,7 @@ build() {

case "$CARCH" in
mips*) _carchflags="--with-mips-arch-variant=r1 --with-mips-float-abi=soft";;
riscv64) _carchflags="--dest-cpu=riscv64";
esac

./configure --prefix=/usr \
Expand Down

0 comments on commit 3d42265

Please sign in to comment.