fix: work around gfortran bug #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build with LLVM Flang | |
on: [push, pull_request] | |
jobs: | |
Build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-24.04] | |
fail-fast: true | |
container: gmao/llvm-flang:latest | |
env: | |
FC: flang-new | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: fortran-lang/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and Test with LLVM Flang | |
if: contains(matrix.os, 'ubuntu') | |
run: | | |
fpm --version | |
$FC --version | |
export FPM_FC=$FC | |
export FPM_FFLAGS="-mmlir -allow-assumed-rank -O3" | |
fpm test |