Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions nodejs/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
--- PKGBUILD
+++ PKGBUILD
@@ -57,10 +57,15 @@ _set_flags() {
@@ -56,6 +56,14 @@ _set_flags() {
# /usr/lib/libnode.so uses malloc_usable_size, which is incompatible with fortification level 3
CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
+ # https://github.com/riscv-forks/electron/issues/7
+ export CC=/usr/bin/clang
+ export CXX=/usr/bin/clang++
}

+}
+
prepare() {
cd node
+prepare() {
+ cd node
+ patch -Np1 -i ../hwy-broken-rvv.diff
# Update ICU tests https://github.com/nodejs/node/pull/60523
patch -Np1 -i ../update-icu-tests.patch
}
@@ -93,6 +98,8 @@ build() {

build() {
@@ -88,6 +96,8 @@ build() {
check() {
_set_flags
cd node
Expand All @@ -25,7 +24,7 @@
rm test/parallel/test-http-outgoing-end-cork.js
rm test/parallel/test-http2-client-set-priority.js
rm test/parallel/test-http2-client-unescaped-path.js
@@ -117,4 +124,8 @@ package() {
@@ -109,4 +119,8 @@ package() {
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}

Expand Down
1 change: 1 addition & 0 deletions sv39-blacklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gitea
grafana
grafana-agent
navidrome
nodejs
phpldapadmin
prettier
prometheus
Expand Down
Loading