Skip to content

try macOS build

try macOS build #21

Workflow file for this run

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
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/Library/Frameworks/Python.framework/Versions/3.13/lib" \
CPPFLAGS="-I$(brew --prefix)/include \
-I$(brew --prefix libomp)/include" \
F77="gfortran-14"
gmake