Browse Source

Fix INTERFACE64 builds on Loongarch64 with LLVM

fix https://github.com/OpenMathLib/OpenBLAS/issues/5331
pull/5334/head
azuresky01 GitHub 3 months ago
parent
commit
8953ba9c2f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      Makefile.system

+ 7
- 0
Makefile.system View File

@@ -1191,6 +1191,13 @@ endif
else ifeq ($(ARCH), $(filter $(ARCH),mips))
FCOMMON_OPT += -mabi=32
endif
ifeq ($(ARCH), $(filter $(ARCH),loongarch64))
ifdef INTERFACE64
ifneq ($(INTERFACE64), 0)
FCOMMON_OPT += -fdefault-integer-8
endif
endif
endif
else
ifdef BINARY64
ifneq ($(OSNAME), AIX)


Loading…
Cancel
Save