Skip to content

Commit

Permalink
fix CLAPACK for mac [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Aug 23, 2024
1 parent 3eb57dd commit 5c5a5a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ xwsne.o: fmt.h
arith.h: arithchk.c
$(CC) $(CFLAGS) -DNO_FPINIT arithchk.c -lm ||\
$(CC) -DNO_LONG_LONG $(CFLAGS) -DNO_FPINIT arithchk.c -lm
./a.out >arith.h
# ./a.out >arith.h
rm -f a.out arithchk.o

check:
Expand Down
9 changes: 9 additions & 0 deletions BuildTools/macosx/dep/CLAPACK-3.2.1/F2CLIBS/libf2c/arith.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#define IEEE_8087
#define Arith_Kind_ASL 1
#define Long int
#define Intcast (int)(long)
#define Double_Align
#define X64_bit_pointers
#define NANCHECK
#define QNaN0 0x0
#define QNaN1 0x7ff80000

0 comments on commit 5c5a5a5

Please sign in to comment.