Skip to content

Commit

Permalink
use clang in lieu of gcc as C compiler for homebrew-openmpi action (
Browse files Browse the repository at this point in the history
  • Loading branch information
perazz authored Jun 19, 2023
2 parents e70422f + be67bc6 commit 210aafc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ on:

env:
CI: "ON" # We can detect this in the build system and other vendors implement it
HOMEBREW_NO_ANALYTICS: "ON" # Make Homebrew installation a little quicker
HOMEBREW_NO_AUTO_UPDATE: "ON"
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: "ON"
HOMEBREW_NO_GITHUB_API: "ON"
HOMEBREW_NO_INSTALL_CLEANUP: "ON"
HOMEBREW_NO_ANALYTICS: 1 # Make Homebrew installation a little quicker
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: 1
HOMEBREW_NO_GITHUB_API: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1

jobs:

Expand Down Expand Up @@ -198,7 +199,7 @@ jobs:
- name: (macOS) Install homebrew OpenMPI
if: contains(matrix.mpi,'openmpi') && contains(matrix.os,'macos')
run: |
brew install --cc=gcc-${{ env.GCC_V }} openmpi
brew install openmpi #--cc=gcc-${{ env.GCC_V }} openmpi
# Phase 1: Bootstrap fpm with existing version
- name: Install fpm
Expand Down
8 changes: 6 additions & 2 deletions src/fpm_meta.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
!> This is a wrapper data type that encapsulate all pre-processing information
!> (compiler flags, linker libraries, etc.) required to correctly enable a package
!> to use a core library.
!>
!>
!>
!>### Available core libraries
!>### Available core libraries
!>
!> - OpenMP
!> - MPI
!> - fortran-lang stdlib
!> - fortran-lang minpack
!>
!>
!> @note Core libraries are enabled in the [build] section of the fpm.toml manifest
!>
Expand Down

0 comments on commit 210aafc

Please sign in to comment.