GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: set DESTCPU correctly for 'make binary' on loongarch64 · nodejs/node@4831b87

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Makefile
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,9 @@ else
934934
ifeq ($(findstring riscv64,$(UNAME_M)),riscv64)
935935
DESTCPU ?= riscv64
936936
else
937+
ifeq ($(findstring loongarch64,$(UNAME_M)),loongarch64)
938+
DESTCPU ?= loong64
939+
else
937940
DESTCPU ?= x86
938941
endif
939942
endif
@@ -947,6 +950,7 @@ endif
947950
endif
948951
endif
949952
endif
953+
endif
950954
ifeq ($(DESTCPU),x64)
951955
ARCH=x64
952956
else
@@ -971,6 +975,9 @@ else
971975
ifeq ($(DESTCPU),riscv64)
972976
ARCH=riscv64
973977
else
978+
ifeq ($(DESTCPU),loong64)
979+
ARCH=loong64
980+
else
974981
ARCH=x86
975982
endif
976983
endif
@@ -980,6 +987,7 @@ endif
980987
endif
981988
endif
982989
endif
990+
endif
983991

984992
# node and v8 use different arch names (e.g. node 'x86' vs v8 'ia32').
985993
# pass the proper v8 arch name to $V8_ARCH based on user-specified $DESTCPU.

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.