Skip to content

Conversation

perazz
Copy link
Member

@perazz perazz commented Oct 9, 2025

  • add support for macos-14
  • on binaries not available (arm64 macs, old fpm versions), fallback to building fpm from source

@perazz perazz requested review from Copilot and gnikit October 9, 2025 08:07
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for macOS-14 (ARM64) and improves architecture handling by implementing a fallback mechanism to build fpm from source when pre-built binaries are unavailable.

  • Adds architecture detection and mapping for ARM64 support
  • Implements fallback to source compilation for ARM64 macOS when binaries aren't available
  • Updates CI workflow to test macOS-14 and newer fpm versions

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
index.js Adds architecture detection, updates filename generation for ARM64, and implements source compilation fallback with gfortran detection
.github/workflows/test-workflow.yml Adds macOS-14 to test matrix, updates gcc version, and excludes incompatible version combinations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@perazz
Copy link
Member Author

perazz commented Oct 9, 2025

will merge soon if there are no further comments.

@perazz perazz merged commit b7e0b57 into fortran-lang:main Oct 10, 2025
15 checks passed
@perazz perazz deleted the macos_14_arm branch October 10, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant