Skip to content

Commit

Permalink
chore: unpin python<=3.11, mention Xcode 15 workaround in dev docs (M…
Browse files Browse the repository at this point in the history
…ODFLOW-USGS#1415)

* new bmipy release is out, compatible with python3.12
* mention linker workaround for Xcode 15 in DEVELOPER.md
* update macOS gcc install examples to use latest version (13)
  • Loading branch information
wpbonelli authored Oct 30, 2023
1 parent 88ec384 commit dfe2624
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,16 @@ GNU Fortran can be installed on all three major platforms.

##### macOS

- [Homebrew](https://brew.sh/): `brew install gcc`
- [MacPorts](https://www.macports.org/): `sudo port install gcc10`
- [Homebrew](https://brew.sh/): `brew install gcc@13`
- [MacPorts](https://www.macports.org/): `sudo port install gcc13`

**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:

```shell
export LDFLAGS="$LDFLAGS -Wl,-ld_classic"
```

See [this ticket](https://github.com/mesonbuild/meson/issues/12282) on the Meson repository for more information.

##### Windows

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
- defaults

dependencies:
- python<=3.11
- python
- appdirs
- filelock
- fprettify
Expand Down

0 comments on commit dfe2624

Please sign in to comment.