Skip to content

Commit b66ecd3

Browse files
committed
chore: unpin python<=3.11, mention Xcode 15 workaround in dev docs
1 parent 88ec384 commit b66ecd3

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

DEVELOPER.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,16 @@ GNU Fortran can be installed on all three major platforms.
9797

9898
##### macOS
9999

100-
- [Homebrew](https://brew.sh/): `brew install gcc`
101-
- [MacPorts](https://www.macports.org/): `sudo port install gcc10`
100+
- [Homebrew](https://brew.sh/): `brew install gcc@13`
101+
- [MacPorts](https://www.macports.org/): `sudo port install gcc13`
102+
103+
**Note:** Xcode 15 includes a new linker implementation which breaks GNU Fortran compatibility. A workaround is to set `LDFLAGS` to use the classic linker, for instance:
104+
105+
```shell
106+
export LDFLAGS="$LDFLAGS -Wl,-ld_classic"
107+
```
108+
109+
See [this ticket](https://github.com/mesonbuild/meson/issues/12282) on the Meson repository for more information.
102110

103111
##### Windows
104112

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ channels:
55
- defaults
66

77
dependencies:
8-
- python<=3.11
8+
- python
99
- appdirs
1010
- filelock
1111
- fprettify

0 commit comments

Comments
 (0)