Skip to content

Commit c042088

Browse files
committed
build for arm64
1 parent e76439e commit c042088

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

.github/workflows/multibuild.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
PLAT: [i686, x86_64]
2121
INTERFACE64: ['', '1']
2222
MB_ML_VER: ['', 2010, 2014]
23+
include:
24+
- os: macos-latest
25+
PLAT: arm64
26+
INTERFACE64: ''
2327
exclude:
2428
- os: macos-latest
2529
PLAT: i686

gfortran-install

travis-ci/build_steps.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ function do_build_lib {
8989
x86_64)
9090
local bitness=64
9191
local target_flags="TARGET=PRESCOTT"
92+
if [ -n "$IS_OSX" ]; then
93+
target_flags="TARGET=CORE2"
94+
fi
9295
;;
9396
i686)
9497
local bitness=32
@@ -98,11 +101,16 @@ function do_build_lib {
98101
local bitness=64
99102
local target_flags="TARGET=ARMV8"
100103
;;
104+
arm64)
105+
local bitness=64
106+
local target_flags="TARGET=VORTEX"
107+
;;
101108
s390x)
102109
local bitness=64
103110
;;
104111
ppc64le)
105112
local bitness=64
113+
local target_flags="TARGET=POWER8"
106114
;;
107115
*) echo "Strange plat value $plat"; exit 1 ;;
108116
esac

0 commit comments

Comments
 (0)