File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ ifndef NOFORTRAN
237
237
-@echo "LOADOPTS = $(FFLAGS) $(EXTRALIB)" >> $(NETLIB_LAPACK_DIR)/make.inc
238
238
-@echo "CC = $(CC)" >> $(NETLIB_LAPACK_DIR)/make.inc
239
239
-@echo "override CFLAGS = $(LAPACK_CFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc
240
- -@echo "ARCH = $(AR)" >> $(NETLIB_LAPACK_DIR)/make.inc
240
+ -@echo "override ARCH = $(AR)" >> $(NETLIB_LAPACK_DIR)/make.inc
241
241
-@echo "ARCHFLAGS = $(ARFLAGS) -ru" >> $(NETLIB_LAPACK_DIR)/make.inc
242
242
-@echo "RANLIB = $(RANLIB)" >> $(NETLIB_LAPACK_DIR)/make.inc
243
243
-@echo "LAPACKLIB = ../$(LIBNAME)" >> $(NETLIB_LAPACK_DIR)/make.inc
Original file line number Diff line number Diff line change @@ -121,6 +121,11 @@ if (($architecture eq "x86") && ($os ne Darwin) && ($os ne SunOS)) {
121
121
$binary =32;
122
122
}
123
123
124
+ if ($architecture eq " riscv64" ) {
125
+ $defined = 1;
126
+ $binary = 64;
127
+ }
128
+
124
129
if ($compiler eq " PGI" ) {
125
130
$compiler_name .= " -tp p7" if ($binary eq " 32" );
126
131
$compiler_name .= " -tp p7-64" if ($binary eq " 64" );
You can’t perform that action at this time.
0 commit comments