forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch to build tachyon on aarch64 (#46)
- Loading branch information
1 parent
0dd05e4
commit 4d49951
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
diff --git a/unix/Make-arch b/unix/Make-arch | ||
index 08afb85..dbeb691 100644 | ||
--- a/unix/Make-arch | ||
+++ b/unix/Make-arch | ||
@@ -1471,6 +1471,25 @@ | ||
"RANLIB = ranlib" \ | ||
"LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread" | ||
|
||
+# Linux Arm using gcc | ||
+linux-arm: | ||
+ $(MAKE) all \ | ||
+ "ARCH = linux-arm" \ | ||
+ "CFLAGS = -Wall -O3 -fomit-frame-pointer -ffast-math -DLinux $(MISCFLAGS)" \ | ||
+ "ARFLAGS = r" \ | ||
+ "STRIP = strip" \ | ||
+ "RANLIB = ranlib" \ | ||
+ "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread" | ||
+ | ||
+# Linux Arm using gcc, with threads | ||
+linux-arm-thr: | ||
+ $(MAKE) all \ | ||
+ "ARCH = linux-arm-thr" \ | ||
+ "CFLAGS = -Wall -O3 -fomit-frame-pointer -ffast-math -DLinux -DTHR -D_REENTRANT $(MISCFLAGS)" \ | ||
+ "ARFLAGS = r" \ | ||
+ "STRIP = strip" \ | ||
+ "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread" | ||
+ | ||
# Linux x86 using gcc, threads, and OpenGL | ||
linux-thr-ogl: | ||
$(MAKE) all \ |