Skip to content

Commit 210aafc

Browse files
authored
use clang in lieu of gcc as C compiler for homebrew-openmpi action (#944)
2 parents e70422f + be67bc6 commit 210aafc

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/meta.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ on:
1414

1515
env:
1616
CI: "ON" # We can detect this in the build system and other vendors implement it
17-
HOMEBREW_NO_ANALYTICS: "ON" # Make Homebrew installation a little quicker
18-
HOMEBREW_NO_AUTO_UPDATE: "ON"
19-
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: "ON"
20-
HOMEBREW_NO_GITHUB_API: "ON"
21-
HOMEBREW_NO_INSTALL_CLEANUP: "ON"
17+
HOMEBREW_NO_ANALYTICS: 1 # Make Homebrew installation a little quicker
18+
HOMEBREW_NO_AUTO_UPDATE: 1
19+
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: 1
20+
HOMEBREW_NO_GITHUB_API: 1
21+
HOMEBREW_NO_INSTALL_CLEANUP: 1
22+
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
2223

2324
jobs:
2425

@@ -198,7 +199,7 @@ jobs:
198199
- name: (macOS) Install homebrew OpenMPI
199200
if: contains(matrix.mpi,'openmpi') && contains(matrix.os,'macos')
200201
run: |
201-
brew install --cc=gcc-${{ env.GCC_V }} openmpi
202+
brew install openmpi #--cc=gcc-${{ env.GCC_V }} openmpi
202203
203204
# Phase 1: Bootstrap fpm with existing version
204205
- name: Install fpm

src/fpm_meta.f90

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
!> This is a wrapper data type that encapsulate all pre-processing information
44
!> (compiler flags, linker libraries, etc.) required to correctly enable a package
55
!> to use a core library.
6+
!>
67
!>
7-
!>
8-
!>### Available core libraries
8+
!>### Available core libraries
99
!>
1010
!> - OpenMP
11+
!> - MPI
12+
!> - fortran-lang stdlib
13+
!> - fortran-lang minpack
14+
!>
1115
!>
1216
!> @note Core libraries are enabled in the [build] section of the fpm.toml manifest
1317
!>

0 commit comments

Comments
 (0)