stan-dev / stan-dev/cmdstanr

Remove special GHA handling of Fortran installation on macOS r-devel

Open
#1,272 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

internal-code
Dominant language
R
Stars
160
Forks
69
Avg merge
1d 19h
Merged PRs (30d)
15

Description

CRAN's R-devel build for arm64 now sets FC to /opt/R/flang-23/bin/flang instead of gfortran, and CRAN has no 4.7 arm64 binaries yet, so pak builds every dependency from source. setup-r still installs gfortran, and r-lib/actions#1107 is not yet a priority for them, so #1271 installs the flang build from mac.r-project.org/tools ourselves.

We should remove this once CRAN has 4.7 binaries or setup-r installs flang.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the GitHub Actions logic introduced by #1271 and identify the special Fortran installation path for macOS R-devel. Confirm whether CRAN has 4.7 arm64 binaries or setup-r installs flang before removing that handling, then run the affected macOS R-devel workflow to verify dependencies still build.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran, github-actions, macos, r
Domain
build-system, ci-cd
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.