forked from Macaulay2/M2
-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (26 loc) · 929 Bytes
/
macos-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: macOS build
on: push
jobs:
macos-build:
runs-on: macos-latest
steps:
- name: Install dependencies
run: |
brew install autoconf automake make texinfo libomp bdw-gc cddlib
brew install --only-dependencies Macaulay2/tap/M2
- name: Build Macaulay2
run: |
git clone https://github.com/Macaulay2/M2
cd M2/M2/BUILD/build
../../autogen.sh
../../configure --enable-download --with-system-gc \
LDFLAGS="-L$(brew --prefix)/lib \
-L$(brew --prefix libomp)/lib \
-L$(brew --prefix factory)/lib \
-L/Library/Frameworks/Python.framework/Versions/3.13/lib" \
CPPFLAGS="-I$(brew --prefix)/include \
-I$(brew --prefix libomp)/include \
-I$(brew --prefix factory)/include" \
F77="gfortran-14"
cat config.log
gmake