Skip to content

Conversation

perazz
Copy link
Member

@perazz perazz commented Mar 30, 2023

The approach to statically link fpm on macOS seems far more complicated,
so I suggest we keep it simple for now, and create gcc-10 => dummy gcc-9 symbolic links to keep fpm-bootstrap executables 0.3.0 to 0.7.0 working on the new macOS images:

https://github.com/perazz/fpm/blob/5a74d581cbdfa8e86f183d35e54d707bf076b865/.github/workflows/CI.yml#L54-L64

This is tested working now.

Copy link
Member

@awvwgk awvwgk left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this. If there is a better way of bootstrapping for our CI (from via brew) we should think about adopting it.

Copy link
Member

@henilp105 henilp105 left a comment

Choose a reason for hiding this comment

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

Thanks @perazz , looks good to me.

@perazz
Copy link
Member Author

perazz commented Mar 30, 2023

Thank you all @henilp105 @awvwgk @arteevraina, I will merge this now so we can restore the CI.
Meanwhile I will explore further options (like installing fpm from homebrew, or shipping fpm for macOS with all libraries).

@perazz perazz merged commit 8a4b048 into fortran-lang:main Mar 30, 2023
@perazz perazz deleted the fpm_version branch March 30, 2023 12:14
perazz added a commit to perazz/fpm-docs that referenced this pull request Apr 11, 2023
perazz added a commit to fortran-lang/fpm-docs that referenced this pull request Apr 12, 2023
* gfortran 9 tweak from [fpm#861](fortran-lang/fpm#861)

* gcc variable fix
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.

macOS CI is broken due to unsupported gcc version hardcoded in fpm releases
4 participants